CV — 数据标注:labelImg / labelme 工具安装及使用
一、labelImg
1. 安装
-
方式1 — Windows + Anaconda:
安装步骤:
Download and install Anaconda (Python 3+)
Open the Anaconda Prompt and go to the labelImg directoryconda install pyqt=5 conda install -c anaconda lxml pyrcc5 -o libs/resources.py resources.qrc python labelImg.py python labelImg.py [IMAGE_PATH] [PRE-DEFINED CLASS FILE]
-
方式2:
labelImg 的 github 的仓库提供 labelImg.exe 的可执行文件,可以下载使用,不需要像上面那样进行 install 等。
labelImg.exe:https://github.com/tzutalin/labelImg/releases
2. 使用
二、labelme
1. 安装
Install Anaconda, then in an Anaconda Prompt run:
conda create --name=labelme python=3.6
conda activate labelme
pip install labelme