Skip to content
Projects

About

YOLO标注工具,AI自动标注,大模型提示词自动标注,自动采集视频,自动收集数据集

Design & Media

How these counts are measured

Measured star growth

in 24h
0
in 7 days
+2
in 15 days
+8
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README_en.md

Original

ytlabel

Language / 语言: 简体中文 | English

Open-source (MIT) image annotation tool: standard annotation + dataset export. Built with Python + Flask, cross-platform on Windows / Linux / Mac. Model training is not part of this tool — use the dedicated trainer ytstudio.


Features

  • Annotation: multiple types (rectangle, polygon, etc.); import images, videos, and LabelMe datasets
  • AI auto-labeling: works with an LLM API you configure yourself (LMStudio, vLLM, ollama, Alibaba Cloud, etc.)
  • Dataset export: YOLO format with a customizable train / val / test split
  • File management: built-in file browse, upload, and download
  • Offline deployment: all static assets localized, runs on isolated intranets
  • Model training: not part of this tool — use ytstudio

Shortcuts: Ctrl+S save annotations | Ctrl+Shift+D clear annotations


Screenshots

1 2 3 4 5 6

Quick Start

Requirements: Python 3.9+ (tested on 3.10), a modern web browser.

# Create and activate a virtual environment
python -m venv venv
venv\Scripts\activate           # Windows
# source venv/bin/activate      # Linux / Mac

# Install dependencies
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple

# Start the server
python app.py --host 0.0.0.0 --port 9924

Open http://127.0.0.1:9924 in your browser.


Project Structure

ytlabel/
├── app.py                 # Main application
├── AiUtils.py             # AI auto-labeling utility class
├── requirements.txt       # Dependency list
├── config.json            # App configuration
├── settings.json          # UI settings
├── language-*.json        # Localization strings
├── ytlabel.spec           # PyInstaller build config
├── logo.ico               # App icon
├── static/                # Static assets (icons, styles, scripts, local Socket.IO)
├── templates/             # Page templates: index.html (annotation home) / ai_config.html / file_manager.html
└── uploads/               # Upload storage (created at runtime)
    ├── annotations/       # Annotation data
    ├── config/            # Config files
    └── samples/           # Annotation images

Tech Stack

Flask + Flask-SocketIO | HTML/CSS/JS | OpenCV/PIL | Socket.IO


Version History

v4.0 (current) — 2026/10/04

  • Built-in model training removed: focuses on data annotation + dataset export; training moved to ytstudio
  • Ultralytics fully removed: deleted the pre_models/ directory and all official YOLO weights — zero ultralytics residue in the repo
  • Renamed: xclabel → ytlabel (incl. ytlabel.spec, page titles, local settings keys)
  • Bulk delete optimized: removed O(N²) repeated annotation-table I/O, added a global loading overlay
  • Docs consolidated: CHANGELOG merged into README; settings panel slimmed; compliance notes updated

v3.0 — 2026/05/19

  • New standalone training panel: full YOLO11 workflow, resume-from-checkpoint, model testing and download
  • Training state persistence: auto-restore progress after page refresh / SocketIO reconnect
  • Pretrained model dir moved to pre_models; Socket.IO bundled locally for offline deployment

v2.x

  • v2.7 — 2026/01/05: annotations moved to uploads/annotations/, API config to uploads/config/
  • v2.6 — 2026/01/04: added AI auto-labeling (large models / Alibaba Cloud)
  • v2.4 — 2026/01/03: improved RTSP stream and SocketIO disconnect handling; fixed post-packaging error
  • v2.3 — 2025/12/30: added file management system (navigate, preview, batch download/delete, upload)
  • v2.2 — 2025/12/30: original vs rendered comparison after labeling, click to zoom
  • v2.1 — 2025/12/01: added YOLO11 integration; improved annotation tools, label management, dataset export
  • v2.0 — 2025/11/29: migrated Django → Flask; video frame extraction, LabelMe import, YOLO export

v1.0 — 2025/02/17


License

The project's own code is under the MIT License — keep the copyright notice to use it freely. Third-party libraries are subject to their respective licenses.

  • AI auto-labeling: runs through an LLM API you configure yourself (LMStudio, vLLM, ollama, Alibaba Cloud — local/private services). It does not depend on the Ultralytics library.
  • Network requests: only talks to local services and the local/private LLM API you configure. It does not send any user data, annotations, or runtime info to any external server.
  • Disclaimer: users are responsible for the legality of their deployment environment, models, and data. ytlabel is provided "as is", without warranty.

Explore related projects

Loading…