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/.
相关推荐
weixin_580614002 小时前
如何提取SQL日期中的年份_使用YEAR或EXTRACT函数
jvm·数据库·python
2301_813599552 小时前
SQL生产环境规范_数据库使用最佳实践
jvm·数据库·python
李可以量化2 小时前
QMT 量化实战:用 Python 实现线性回归通道,精准识别趋势中的支撑与压力(下)
python·qmt·量化 qmt ptrade
a9511416422 小时前
Go 中通过 channel 传递切片时的数据竞争与深拷贝解决方案
jvm·数据库·python
Dxy12393102162 小时前
Python 使用正则表达式将多个空格替换为一个空格
开发语言·python·正则表达式
qq_189807032 小时前
如何修改RAC数据库名_NID工具在集群环境下的改名步骤
jvm·数据库·python
zhangchaoxies2 小时前
如何检测SQL注入风险_利用模糊测试技术发现漏洞
jvm·数据库·python
Luca_kill3 小时前
MCP数据采集革命:从传统爬虫到智能代理的技术进化
爬虫·python·ai·数据采集·mcp·webscraping·集蜂云
zhangchaoxies3 小时前
CSS如何实现响应式弹性网格布局_配合media query修改flex-wrap属性
jvm·数据库·python
ZC跨境爬虫3 小时前
Scrapy分布式爬虫(单机模拟多节点):豆瓣Top250项目设置与数据流全解析
分布式·爬虫·python·scrapy