anylabeling使用和安装

源码地址:

git clone https://github.com/vietanhdev/anylabeling.git

Auto Labeling with Segment Anything

Features:

  • Image annotation for polygon, rectangle, circle, line and point.
  • Auto-labeling with YOLOv5 and Segment Anything.
  • Text detection, recognition and KIE (Key Information Extraction) labeling.
  • Multiple languages availables: English, Vietnamese, Chinese.

I. Install and run

1. Download and run executable

  • Download and run newest version from Releases.
  • For MacOS:
    • After installing, go to Applications folder
    • Right click on the app and select Open
    • From the second time, you can open the app normally using Launchpad

2. Install from Pypi

  • Requirements: Python >= 3.8, <= 3.10.

  • Recommended: Miniconda/Anaconda.

  • Create environment:

复制代码
conda create -n anylabeling python=3.8
conda activate anylabeling
  • (For macOS only) Install PyQt5 using Conda:
复制代码
conda install -c conda-forge pyqt==5.15.7
  • Install anylabeling:
复制代码
pip install anylabeling # or pip install anylabeling-gpu for GPU support
  • Start labeling:
复制代码
anylabeling

II. Development

  • Generate resources:
复制代码
pyrcc5 -o anylabeling/resources/resources.py anylabeling/resources/resources.qrc
  • Run app:
复制代码
python anylabeling/app.py

III. Build executable

  • Install PyInstaller:
复制代码
pip install -r requirements-dev.txt
  • Build:
复制代码
bash build_executable.sh
  • Check the outputs in: dist/.
相关推荐
Ivanqhz5 分钟前
寄存器分配的核心函数 allocate
java·开发语言·后端·python·rust
2501_9454235413 分钟前
如何为开源Python项目做贡献?
jvm·数据库·python
全栈凯哥13 分钟前
23.Python 魔术方法完全指南
python
2401_8845632415 分钟前
使用Flask快速搭建轻量级Web应用
jvm·数据库·python
AC赳赳老秦18 分钟前
OpenClaw办公文档处理技能:批量转换PDF/Excel,提取数据高效办公
大数据·人工智能·python·django·去中心化·deepseek·openclaw
苦瓜小生24 分钟前
AI-TestHub:我如何从零开发一个智能测试用例生成平台
人工智能·python·测试工具·github·测试用例·fastapi
阿钱真强道27 分钟前
31 Python 聚类:层次聚类怎么理解?AGNES 和 DIANA 有什么区别?
python·聚类·层次聚类·diana·agnes
小王不爱笑13227 分钟前
Java 泛型详解
java·windows·python
桃气媛媛27 分钟前
python流程控制-匹配语句match
开发语言·python
羊小猪~~29 分钟前
算法/力扣--数组典型题目
c语言·c++·python·算法·leetcode·职场和发展·求职招聘