Documentation
6. Auto Labeling

🤖 Auto labeling with Segment Anything (SAM2 + MobileSAM)

Auto labeling was built with ideas from AnyLabeling (opens in a new tab). There are two variants of Segment Anything Model: SAM2 and MobileSAM supported in AnyLabeling:

📝 Instructions

  1. Select AI on the left side to activate auto labeling.

  2. 🤔 Select one of the Segment Anything Models from the dropdown menu Model. The model accuracy and speed are different depending on the model:

    • ⚡️ Segment Anything Model (ViT-B): Fastest, lower accuracy
    • ⚖️ Segment Anything Model (ViT-L): Balanced performance
    • 🎯 Segment Anything Model (ViT-H): Highest accuracy, slower processing
    • 💪 Quant indicates the quantization of the model
  3. 🛠️ Use Auto segmentation marking tools:

    • +Point: Add a point that belongs to the object
    • -Point: Remove a point to exclude from the object
    • +Rect: Draw a rectangle around the object for automatic segmentation
    • Clear: Reset all auto segmentation markings
    • Finish Object (f): Complete the current marking, add label name and save

⚠️ Important Notes

First-time setup:

  • Initial model download required - duration depends on your network speed
  • First AI inference may take longer - please be patient
  • Background "encoder" calculations will speed up future segmentations