When you suggested [code] Shouldn't Instance Segmentation like R-CNN be used before…
- User
When you suggested
code2. Clothing Detection & Segmentation Object Detection: Use YOLOv8, Faster R-CNN, or Detectron2 to detect clothing items (e.g., shirts, pants, shoes). Pre-trained models like DeepFashion or Clothes Detection Dataset can improve accuracy. Instance Segmentation: Use Mask R-CNN or U-Net to isolate individual clothing items (e.g., crop the exact region of a shirt in a frame).Shouldn't Instance Segmentation like R-CNN be used before object detection? Or did I misunderstood something?
Assistant
No – the order is correct.
Instance segmentation (Mask R-CNN, U-Net, etc.) is an object-detection stage. The detector first proposes bounding boxes (or “instances”), and only then does the segmentation head predict a pixel-level mask . So the pipeline is:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.