Repository navigation
CTRL Annotate 2 - SAM2 Polygon Export & Group Selection
The ultimate desktop annotation tool for YOLO and SAM2 segmentation models.
✨ What's New
🎯 SAM2 Polygon Export
- Dual export formats - Choose YOLO (bounding boxes) or SAM2 (polygons)
- Automatic polygon extraction - One-click generates precise segmentation masks
- JSON export - Polygon coordinates with metadata for segmentation training
🔗 Group Selection Mode
- Multi-point prompts - Shift+Click to select multiple parts of the same object
- Combine regions - Click head, torso, legs → merged into one polygon
- Live preview - See combined mask as you add points
- Enter to confirm, Esc to cancel
🚀 Improved Performance
- WebGPU acceleration - Automatic GPU detection with intelligent fallback
- ~2 second embedding - Fast processing via HuggingFace Transformers.js 3.0
- fp16 → fp32 → WASM - Tries fastest option, falls back gracefully
📦 Download
| Platform | File |
|---|---|
| Windows x64 | CTRL-Annotate-Setup-1.2.0.exe |
📋 Export Formats
YOLO - Normalized bounding boxes (.txt) for YOLOv5/v8/v11 SAM2 - Polygon coordinates (.json) for segmentation models
💻 System Requirements
- Windows 10/11 (x64)
- 4GB RAM (8GB recommended)
- 500MB disk space
- Internet for first SAM2 model download (~375MB, cached after)
🔧 For Developers
git clone https://github.com/MrStevenson90/ctrl_annotate.git
cd ctrl_annotate
npm install
npm start