升级到 v1 前需删除旧缓存目录(如 ~/.cache/visiofirm_cache),否则数据库逻辑冲突;Grounding DINO 出问题需将 transformers 降级到 4.41.2;模型默认自动下载,离线使用需提前预取。
VisioFirm
OschAIApache-2.0活跃维护跨平台计算机视觉标注工具,集成 Grounding DINO 与 SAM 实现自动预标注,支持目标检测和旋转框标注,大幅减少手工画框工作量。
VisioFirm: Cross-Platform AI-assisted Annotation Tool for Computer Vision
pip install -U visiofirm
visiofirmREADME 未明确列出显存要求;YOLOv8-world 开放词表预标注标注为无需 GPU,SAM2 提供基于 WebGPU 的浏览器端推理,其余模型可自动下载或预取以离线使用。
跨平台 AI 辅助标注工具,用预训练模型半自动生成检测、分割和视频标注,省去从零画框
跨平台计算机视觉标注工具,集成 Grounding DINO 与 SAM 实现自动预标注,支持目标检测和旋转框标注,大幅减少手工画框工作量。
核心能力
- 用 YOLO v5–v12 与 Grounding DINO 做零样本预标注
- 用 SAM2 在浏览器内点击即分割并支持视频传播
- 支持检测框、旋转框、多边形分割与图像分类
- 视频标注支持 SmartPropagator、OpenCV 跟踪器和关键帧插值
- 导出 YOLO、COCO 或自定义格式,SQLite 管理本地项目
容易踩的坑
- v1.3.2VisioFirm 1.3.2最新正式版2026-08-20 · 2026-08-20 12:26 UTC
Full Changelog: https://github.com/OschAI/VisioFirm/compare/v1.3.1...v1.3.2
- v1.3.12026-03-15 · 2026-03-15 17:59 UTC
查看更新说明
Full Changelog: https://github.com/OschAI/VisioFirm/compare/v1.3...v1.3.1
- v1.32026-03-14 · 2026-03-14 22:08 UTC
查看更新说明
Full Changelog: https://github.com/OschAI/VisioFirm/compare/v1.2.1...v1.3
- v1.2.1VisioFirm 1.2.12026-03-14 · 2026-03-14 16:01 UTC
查看更新说明
Full Changelog: https://github.com/OschAI/VisioFirm/compare/v1.2...v1.2.1
- v1.2release/1.22026-02-25 · 2026-02-25 22:29 UTC
查看更新说明
Full Changelog: https://github.com/OschAI/VisioFirm/compare/v1.1.1...v1.2
用户点评
登录用户的真实使用记录,可按版本和硬件筛选还没有人点评。第一个说出真实体验的人最有价值。

VisioFirm: Fast Almost fully-Automated Image Annotation for Computer Vision
[!NOTE] VisioFirm v1.3.1 enhances the user experience by adding some visual features and solves some errors for video segmentation. You can now configure the colors and annotation style for you images via
Settingsmenu in the grid/list view. v1.3 can now support RT-DETR fromultralytics. We corrected some related to YOLOv5 pre-annotation as well as Windows OS related custom path for those using custom models. For Unsual Object beyong COCO dataset, you can now select YOLO World or GroundingDino to pre-label images. We added tips for the right selection between zero shot and ultralytics models as well as how to load your own model. If you have issues with ground dino model, downgradetransformersto 4.41.2
[!IMPORTANT] VisioFirm v1 is now available. VisioFirm has now much more support for computer vision annotation, pushing further the boundaries of efficient, fast, and accurate annotation. Here's what’s New in v1 ✨
- class adding: you can now add classes to your project in case you forgot any or you have new images with new classes.
- Video annotation bug: The previous version had a bug in saving modified annotations within frames. Now the save button by default saved the state of all current frames annotation for the video.
- Classification and Preannotation: Predict and pre-suggest image classes using OpenAI CLIP pretrained model, enabling near-automatic labeling.
- Video Support & Label Propagation: New VFTracker auto-labeling with frame-to-frame propagation: choose between: (1) SmartPropagator – Leverages SAM2 + pre/post processing for accurate, cumulative tracking. Annotate the first frame, propagate across the sequence. (2) OpenCV Trackers – Full support (CSRT, KCF, Boosting, MIL, TLD, MedianFlow, MOSSE, GOTURN) and (3) Interpolation – Classic propagation between
[labeled_start]and[labeled_end].- Ultralytics Model Support: Works with YOLOv12 → YOLOv5, including YOLOv8-world for open-vocab pre-annotation.
- Cross-domain annotation: use detection models to pre-generate segmentation masks, or segmentation models to pre-label bounding boxes.
- Memory Management Improvements: Optimized GPU usage with better model load/unload behavior for large-scale pre-annotation and tracking.
- Backend Migration to FastAPI: Faster performance, async support, and smoother UI interactions.
- Python API: Integrate VisioFirm seamlessly into pipelines with the new
visiofirmPython API.
VisioFirm is an open-source, AI-powered image annotation tool designed to accelerate labeling for computer vision tasks like classification, object detection, oriented bounding boxes (OBB), segmentation and video annotation. Built for speed and simplicity, it leverages state-of-the-art models for semi-automated pre-annotations, allowing you to focus on refining rather than starting from scratch. Whether you're preparing datasets for YOLO, SAM, or custom models, VisioFirm streamlines your workflow with a intuitive web interface and powerful backend.
Perfect for researchers, data scientists, and ML engineers handling large image datasets—get high-quality annotations in minutes, not hours!
Why VisioFirm?
VisioFirm is majoraly focused on AI-model integration easiness for fast CV tasks annotation.
- AI-Driven Pre-Annotation: Automatically detect and segment objects using YOLO, SAM2, and Grounding DINO—saving up to 80% of manual effort.
- Multi-Task Support: Handles classification, bounding boxes, oriented bounding boxes, and polygon segmentation and now even videos in one tool.
- Browser-Based Editing: Interactive canvas for precise adjustments, with real-time SAM-powered segmentation in the browser.
- Offline-Friendly: Models download automatically (or pre-fetch for offline use), with SQLite backend for local projects.
- Extensible & Open-Source: Customize with your own ultralytics models or integrate into pipelines—contributions welcome!
- SAM2-base webgpu: Insta-drawing of annotations via SAM2 with worker offloading and auto-annotation for faster computing!

Features
-
Semi-Automated Labeling Kickstart annotations with AI models like YOLO (v5–v12) for detection, SAM2 for segmentation, Grounding DINO for zero-shot object grounding, and CLIP for automated classification.
-
Flexible Annotation Types
- Axis-aligned bounding boxes for standard detection.
- Oriented bounding boxes for rotated objects (e.g., aerial imagery).
- Polygon segmentation for precise boundaries.
- Image classification with automatic label suggestions.
-
Video Annotation & Label Propagation Annotate videos with frame-to-frame consistency:
- SmartPropagator (SAM2-powered accurate propagation).
- OpenCV trackers (CSRT, KCF, Boosting, MIL, TLD, MedianFlow, MOSSE, GOTURN).
- Interpolation between annotated start/end frames.
-
Cross-Domain Annotation
- Use detection models to auto-generate segmentation masks.
- Use segmentation models to pre-label bounding boxes.
-
Ultralytics Model Support Full support for YOLOv12, v11, v10, v9, v8, v5, plus YOLOv8-world for open-vocab pre-annotations (no GPU required).
-
Interactive Frontend Draw, edit, and refine labels on a responsive canvas.
- Click-to-segment with browser-based SAM2.
- Hotkeys, undo/redo, and zoom for efficient annotation.
-
Project Management Organize datasets with SQLite-backed projects.
- Multi-class support.
- Import/export with minimal setup.
-
Export Formats Export annotations to YOLO, COCO, or custom formats for seamless training.
-
Performance Optimizations
- GPU memory management for efficient model loading/unloading.
- Cluster overlapping detections, simplify contours, and filter by confidence.
- Multi-threaded uploading and optimized image import.
-
Cloud/SSH Integration Download images from cloud storage or SSH servers, save annotations remotely, and manage large-scale projects.
-
Backend Migration to FastAPI Faster response times, async support, and smoother UI performance.
-
VisioFirm Python API Integrate annotation workflows into custom scripts and ML pipelines.
DEMOs
Detection based on pre-trained/zeroshot models:

Video Segmentation using Smart Propagator:
https://github.com/user-attachments/assets/c5caa227-a9bb-4ff3-a11a-688067fb58ae
Installation
VisioFirm was tested with Python 3.10+.
[!NOTE] VisioFirm v1 introduces a new database management logic.
To avoid conflicts with older versions, you need to rename/remove the old cache folder before running the new release:
- Linux:
~/.cache/visiofirm_cache- macOS:
~/Library/Caches/visiofirm_cache- Windows:
%LOCALAPPDATA%\visiofirm_cacheAfter deleting the folder, restart VisioFirm — it will automatically recreate the cache directory with the new structure.
pip install -U visiofirm
For development or editable install (from a cloned repo):
git clone https://github.com/OschAI/VisioFirm.git
cd VisioFirm
pip install -e .
Quick Start
Launch VisioFirm with a single command—it auto-starts a local web server and opens in your browser.
visiofirm
- Create a new project and upload images.
- Define classes (e.g., "car", "person").
- For easy-to-detect object run AI pre-annotation (select model: YOLO, Grounding DINO).
- Refine labels in the interactive editor.
- Export your annotated dataset.
The VisioFirm app uses cache directories to store settings locally.
User administration CLI
A small command-line tool for managing local users:
visiofirm users # list all users
visiofirm <username|email> set-pswd <pw> # reset a user's password
Passwords are stored as bcrypt hashes, so they cannot be recovered in plaintext — set-pswd is the way to restore access.
Usage
Pre-Annotation with AI
VisioFirm uses advanced models for initial labels:
- YOLO: All ultralytics based YOLO model are now compatible and can be used.
- SAM2: Precise segmentation use in image annotation and video propagation
- Grounding DINO: Zero-shot detection via text prompts.
Community & Support
- Issues: Report bugs or request features here.
- Discord: Coming soon—star the repo for updates!
- Roadmap: Multi-user support, custom model integration.
License
Apache 2.0 - See LICENSE for details.
This project uses third-party software and models:
-
Ultralytics YOLO
https://github.com/ultralytics/ultralytics
License: AGPL-3.0 -
SAM2 (Segment Anything Model v2)
https://github.com/facebookresearch/sam2
Licenses: Apache 2.0 and BSD 3-Clause -
GroundingDINO
https://github.com/IDEA-Research/GroundingDINO
License: Apache 2.0
Built by Safouane El Ghazouali for the research community. Star the repo if it helps your workflow! 🚀
Citation
@misc{ghazouali2025visiofirm,
title={VisioFirm: Cross-Platform AI-assisted Annotation Tool for Computer Vision},
author={Safouane El Ghazouali and Umberto Michelucci},
year={2025},
eprint={2509.04180},
archivePrefix={arXiv},
primaryClass={cs.CV}
}
SOON:
- Documentation website
- Discord community