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/.
相关推荐
惊讶的猫1 小时前
LSTM论文解读
开发语言·python
测试老哥2 小时前
软件测试之单元测试知识总结
自动化测试·软件测试·python·测试工具·职场和发展·单元测试·测试用例
buvsvdp50059ac2 小时前
如何在VSCode中设置Python解释器?
ide·vscode·python
njxiejing2 小时前
Python进度条工具tqdm的安装与使用
开发语言·python
Mr_Dwj3 小时前
【Python】Python 基本概念
开发语言·人工智能·python·大模型·编程语言
2401_841495644 小时前
【自然语言处理】基于规则基句子边界检测算法
人工智能·python·自然语言处理·规则·文本·语言·句子边界检测算法
E_ICEBLUE5 小时前
Python 教程:如何快速在 PDF 中添加水印(文字、图片)
开发语言·python·pdf