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/.
相关推荐
陈苏同学29 分钟前
MPC控制器从入门到进阶(小车动态避障变道仿真 - Python)
人工智能·python·机器学习·数学建模·机器人·自动驾驶
mahuifa33 分钟前
python实现usb热插拔检测(linux)
linux·服务器·python
MyhEhud1 小时前
kotlin @JvmStatic注解的作用和使用场景
开发语言·python·kotlin
狐凄1 小时前
Python实例题:pygame开发打飞机游戏
python·游戏·pygame
漫谈网络1 小时前
Telnet 类图解析
python·自动化·netdevops·telnetlib·网络自动化运维
农夫山泉2号3 小时前
【python】—conda新建python3.11的环境报错
python·conda·python3.11
ZHOU_WUYI4 小时前
Flask Docker Demo 项目指南
python·docker·flask
码上淘金8 小时前
【Python】Python常用控制结构详解:条件判断、遍历与循环控制
开发语言·python
Brilliant Nemo8 小时前
四、SpringMVC实战:构建高效表述层框架
开发语言·python
2301_787552878 小时前
console-chat-gpt开源程序是用于 AI Chat API 的 Python CLI
人工智能·python·gpt·开源·自动化