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/.
相关推荐
cdg==吃蛋糕13 分钟前
selenium 使用方法
开发语言·python
Y1nhl1 小时前
力扣_二叉树的BFS_python版本
python·算法·leetcode·职场和发展·宽度优先
Q_Q5110082852 小时前
python的婚纱影楼管理系统
开发语言·spring boot·python·django·flask·node.js·php
若兰幽竹2 小时前
【从零开始编写数据库:基于Python语言实现数据库ToyDB的ACID特性】
数据库·python
xiaocainiao8812 小时前
Python 实战:构建 Git 自动化助手
git·python·自动化
nightunderblackcat2 小时前
新手向:使用Python将多种图像格式统一转换为JPG
开发语言·python
engchina3 小时前
Python PDF处理库深度对比:PyMuPDF、pypdfium2、pdfplumber、pdfminer的关系与区别
开发语言·python·pdf
Lo-Y-eH3 小时前
Openpyxl:Python操作Excel的利器
python·excel
DAWN_T173 小时前
Transforms
pytorch·python·机器学习·jupyter·pycharm
一百天成为python专家3 小时前
python库之jieba 库
开发语言·人工智能·python·深度学习·机器学习·pycharm·python3.11