1Build a dataset
Create a dataset and name the things the model should learn to find, such as 'bolt' or 'scratch'. These are your classes. Then mark them in your images: draw a box around each object, trace its exact outline (polygon), or place points on fixed spots of it (keypoints). For outlines, SAM 2 helps: click the object once and the app draws the outline for you to adjust.
You get a labeled set of images, split automatically into images to train on and images to test with.
- Auto-label. Once you have a trained model, let it label new images for you. Its suggestions arrive as drafts in the labeling screen; you check them, fix what is wrong and save.
- Augmentation. Add flipped, rotated or brightened copies of your images, so the model learns from more examples.
- Auto-balance. If one class has far fewer examples than the others, the app adds extra cut-outs of it to the training images.
- Label Studio. Already label in Label Studio, a separate labeling program? You can import its labels instead.