VisioFirm

OschAIApache-2.0活跃维护

跨平台计算机视觉标注工具,集成 Grounding DINO 与 SAM 实现自动预标注,支持目标检测和旋转框标注,大幅减少手工画框工作量。

VisioFirm: Cross-Platform AI-assisted Annotation Tool for Computer Vision

v1.3.2发布于 2026-08-20 12:26 UTC443star62fork同步于 2026-11-07 07:30 UTC

怎么上手

由 README 提炼,执行前请确认
pip install -U visiofirm
visiofirm
硬件要求按 README 说明

README 未明确列出显存要求;YOLOv8-world 开放词表预标注标注为无需 GPU,SAM2 提供基于 WebGPU 的浏览器端推理,其余模型可自动下载或预取以离线使用。

纯 CPU 可运行支持 Apple Silicon
下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

跨平台 AI 辅助标注工具,用预训练模型半自动生成检测、分割和视频标注,省去从零画框

跨平台计算机视觉标注工具,集成 Grounding DINO 与 SAM 实现自动预标注,支持目标检测和旋转框标注,大幅减少手工画框工作量。

核心能力

  • 用 YOLO v5–v12 与 Grounding DINO 做零样本预标注
  • 用 SAM2 在浏览器内点击即分割并支持视频传播
  • 支持检测框、旋转框、多边形分割与图像分类
  • 视频标注支持 SmartPropagator、OpenCV 跟踪器和关键帧插值
  • 导出 YOLO、COCO 或自定义格式,SQLite 管理本地项目

容易踩的坑

升级到 v1 前需删除旧缓存目录(如 ~/.cache/visiofirm_cache),否则数据库逻辑冲突;Grounding DINO 出问题需将 transformers 降级到 4.41.2;模型默认自动下载,离线使用需提前预取。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v1.3.2
  1. v1.3.2VisioFirm 1.3.2最新正式版2026-08-20 · 2026-08-20 12:26 UTC
  2. v1.3.12026-03-15 · 2026-03-15 17:59 UTC
    查看更新说明
  3. v1.32026-03-14 · 2026-03-14 22:08 UTC
    查看更新说明
  4. v1.2.1VisioFirm 1.2.12026-03-14 · 2026-03-14 16:01 UTC
    查看更新说明
  5. v1.2release/1.22026-02-25 · 2026-02-25 22:29 UTC
    查看更新说明

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    VisioFirm

    VisioFirm: Fast Almost fully-Automated Image Annotation for Computer Vision

    GitHub Stars License PyPI Python Version


    [!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 Settings menu in the grid/list view. v1.3 can now support RT-DETR from ultralytics. 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, downgrade transformers to 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 visiofirm Python 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!

    Annotation Editing Demo

    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:

    Annotation Editing Demo

    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_cache

    After 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
    
    1. Create a new project and upload images.
    2. Define classes (e.g., "car", "person").
    3. For easy-to-detect object run AI pre-annotation (select model: YOLO, Grounding DINO).
    4. Refine labels in the interactive editor.
    5. 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:


    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