源码地址:
git clone https://github.com/vietanhdev/anylabeling.git
Auto Labeling with Segment Anything
- Youtube Demo: https://www.youtube.com/watch?v=5qVJiYNX5Kk
- Documentation: https://anylabeling.nrl.ai
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/
.