Developed an innovative autoprompting system for PaintSeg, automating input generation for training-free object segmentation. Leveraged k-means clustering for color-based segmentation and the Dense Prediction Transformer (DPT) model to extract depth maps, creating precise binary and bounding box masks without manual input. Experiments on the DUTS dataset showed IOU scores between 45% and 55%, with enhancements up to 60% using a hybrid prompting strategy. This approach significantly streamlines the segmentation process and paves the way for further automation in image processing tasks.

Abstract
Object segmentation in visual computing has traditionally relied on manual or
semi-supervised methods that require extensive training and human intervention
for prompt specification. This paper introduces an innovative autoprompting system
designed to automate the input generation for PaintSeg, a training-free and
unseen object segmentation model. Our methodology leverages k-means clustering
for color-based segmentation and employs the Dense Prediction Transformer
(DPT) model to extract depth maps, creating precise binary and bounding
box masks without manual input. Conducted experiments on the DUTS dataset
demonstrated that our autoprompting approach achieves Intersection Over Union
(IOU) scores between 45 and 55 percent, with an enhancement of up to 60 percent
through a hybrid prompting strategy that intelligently combines mask types based
on their spatial characteristics. This work not only streamlines the segmentation
process but also opens new avenues for further automation in image processing
tasks.

Project Report/Paper:
Automating Prompt Generation for Training-Free Object Segmentation in PaintSeg
Pranav Pushkar Mishra,Annesh Potnis, Aditya Pimpley
Reference Paper:
PaintSeg: Training-free Segmentation via Painting
Xiang Li, Chung-Ching Lin, Yinpeng Chen, Zicheng Liu, Jinglu Wang, Bhiksha Raj
conda env create -f environment.yaml
conda activate PaintSeg
pip install -e git+https://github.com/CompVis/taming-transformers.git@master#egg=taming-transformers
pip install --force-reinstall cython==0.29.36
pip install --no-build-isolation git+https://github.com/lucasb-eyer/pydensecrf.git
Download datasets and put them in the main folder. ECSSD, DUTS, PASCAL VOC, COCO MVal, GrabCut, Berkeley, DAVIS.
python scripts/PaintSeg.py --outdir $outdir$ --iters $iter_num$ --steps $diffusion step$ --dataset $dataset$
