Smart Tool
What is Smart Tool?
The Smart Tool is an AI-assisted interactive segmentation tool designed to speed up object segmentation tasks. It integrates various neural network models like RITM and Segment Anything, allowing precise mask creation with minimal user input. Users can customize models and annotations for specific task.
Video Tutorial
This tutorial provides clear, step-by-step guidance from a Supervisely expert, demonstrating how to effectively use the Smart Tool for your annotation tasks. To master the efficient use of the Smart Tool, watch our 5-minute video tutorial:
AI-Powered Segmentation Models
At the heart of the Smart Tool are AI models that predict the boundaries of objects based on minimal user input. It includes models such as:
RITM (Regional Interactive Segmentation by Mask): This model allows users to segment objects with a few simple clicks or strokes, ideal for situations where quick segmentation is required.
Segment Anything (SAM): SAM is a flexible model that can segment a wide range of objects. With only a rough guide (such as a few markers or a sketch), the model automatically refines and creates highly accurate object boundaries.
These models use machine learning algorithms trained on large datasets, enabling them to predict object contours even in complex or noisy environments.
Model Switching and Customization
Model Switching
Different models work better for different types of tasks or images. The Smart Tool allows users to switch between models easily, which is useful when dealing with diverse image sets.
Example: one model may perform better on medical scans, while another may be more suited for satellite imagery. Users can switch between these models without needing to start the annotation process from scratch.
Model Customization
Supervisely offers the ability to integrate custom-trained AI models into the Smart Tool. This is particularly useful for specialized tasks where default models may not achieve the desired accuracy. Simply upload and configure your custom model to enhance the tool's capabilities for your unique segmentation requirements.
Key Features
One-Click Object Segmentation
One of the key features of the Smart Tool is its ability to perform one-click segmentation. With minimal manual interaction, the AI can analyze the entire image and identify object boundaries almost instantly. This greatly reduces the time required to perform segmentation, especially for objects with repetitive or simple shapes.
Manual Editing and Fine-tuning
While the AI does most of the heavy lifting, manual fine-tuning tools such as the Brush and Pen are available for refining the masks. These tools allow users to:
Brush Tool: Allows you to paint over areas that should be included or excluded from the selection.
Pen Tool: Provides precision for manually outlining intricate parts that the AI might have missed.
How to use the Smart Tool
Create class with Mask shape
You can create a new class directly from the Annotation Toolbox to use with the Smart Tool. Here's how to do it:
Click on the Smart Tool icon in the toolbar of the labeling interface.
Alternatively, select an existing object class or add a new class by clicking Add new class definition.
In the modal window, enter the class name, choose Mask or Any shape, and configure additional settings (e.g., color, hotkeys).
Click the Create button to add the new class to the definitions list.
Select the newly created class and begin segmenting the object with the Smart Tool.
Manual Annotation Guide
Using the Smart Tool follows a process, ensuring a balance between simplicity and control. Here is a step-by-step guide:
Choose a Segmentation Model Select an appropriate model (e.g., RITM or SAM) based on your specific task. The model chosen will guide how the AI interprets and processes the image.
Define Object Boundaries
Pro Tip: The initial bounding box doesn't need to be tightly aligned with the object. Leave about 10% padding from the object's boundary to give the model more context.
Click on the regions or draw rough boundaries around objects in the image.
The AI will predict the object segmentation based on this input.
To create a bounding box, click to place the top point and then click again for the bottom point in the opposite corner.
The neural network will identify the main object within this rectangle.
Refining AI Predictions Adjust the predictions by adding positive 🟢 or negative 🔴 points around the object:
Place a positive point on parts of the object you want included in the mask.
Place a negative point on background areas you want excluded.
Finalize by pressing the SPACE hotkey.
Fine-Tuning the Segmentation Use the Brush or Pen Tool for any necessary manual adjustments
Add parts: Select the missing section of the object and draw it in.
Delete parts: Hold the SHIFT key and draw over areas you want to remove.
Reference Bounding Box Prompts (SAM 3 Exclusive)
The reference bounding box prompts mode is an advanced AI-assisted feature of the Smart Tool, available exclusively when using Segment Anything 3 (SAM 3). It enables rapid one-to-many instance segmentation: simply draw a single bounding box around one example of an object, and the model will automatically detect and segment all visually similar instances across the entire image.
How it works
Deploy the SAM 3 model via the Serve SAM 3 app in the Supervisely Ecosystem.
Open the Image Labeling Interface for your computer vision project.
Select the target object class you want to annotate.
Activate the Smart Tool in the left toolbar, click the ID (Select Model) button, and choose SAM 3.
Enable the mode by clicking the reference bounding box prompts icon (a dashed bounding box) in the Smart Tool settings.
Draw a bounding box around a single instance to serve as your visual baseline.
SAM 3 generates a mask for the object inside the box, using it as an exemplar prompt.
The model then scans the image for objects matching the exemplar's visual features and automatically creates high-precision masks for all detected instances.
This auto-labeling mode requires SAM 3 to be selected as the active model in the Smart Tool. It is not available with SAM 2, RITM, or other interactive segmentation models.
Benefits for CV Workflows
Accelerated dataset labeling: Drastically speeds up annotation for dense scenes. Label dozens of objects in a single interaction instead of manually processing each one.
Consistent segmentation quality: All generated masks are derived from the same exemplar, minimizing variance between annotators and ensuring high-quality ground truth data.
Class-agnostic recognition: You don't need to pre-configure or train the model for specific classes. By drawing a box, you provide the visual context, and SAM 3 infers what to look for based purely on appearance.
Reduced cognitive load: Annotators can focus entirely on selecting one high-quality example rather than meticulously tracking every instance manually.
Best use cases
Dense scenes: Crowd images, retail product shelves, agricultural fields, and repeated structures in aerial or satellite imagery.
Medical image analysis: Annotating repeated anatomical structures (e.g., cells, lesions, polyps) across microscopic frames or MRI slices.
Industrial inspection: Detecting multiple identical manufacturing defects or specific components on a production line.
Wildlife and ecology: Efficiently labeling multiple animals of the same species within a single camera trap frame.
Pro Tips
Model switching for best results: If you're working with a variety of images or tasks, experiment with different models to identify which one yields the most accurate segmentation for your data.
Leverage custom models: For highly specialized tasks, integrating a custom-trained model can significantly enhance accuracy and efficiency.
Hotkeys
Control the Smart Tool more efficiently with the following hotkeys:
Detect object inside BBox
Left Mouse Click
Add positive point
Left Mouse Click
Add negative point
Shift + Left Mouse Click
Remove feedback point
Alt + Left Mouse Click
Drag rectangle
Alt + Hold Left Mouse Button
Move rectangle in small increments
Alt + Arrow Keys
Use id button to change model. You can deploy more interactive segmentation models in Ecosystem.
Zoom with Mouse wheel. Hold to move scene.
Last updated