源码地址:
git clone https://github.com/vietanhdev/anylabeling.git
Auto Labeling with Segment Anything
AnyLabeling-SegmentAnything
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
pip install anylabeling # or pip install anylabeling-gpu for GPU support
II. Development
pyrcc5 -o anylabeling/resources/resources.py anylabeling/resources/resources.qrc
python anylabeling/app.py
III. Build executable
pip install -r requirements-dev.txt
- Check the outputs in:
dist/.