LabelImg是一个图像标注工具,可以标注自然图像,遥感影像等,自己制作标签做网络训练或者精度评价。
1.首先下载LabelImg工具,https://github.com/tzutalin/labelImg(有英文教程),下载到自己的电脑中
2.以下为详细版的安装过程
首先cmd打开终端,如果在D盘,在弄到d盘,再进入这个这个下载的软件的文件夹
这个软件是基于python的,要提前装好anaconda
对于Windows系统,有两种安装方式,
第1种:在 cmd打开的界面
Install Python, PyQt5 and install lxml.
Open cmd and go to the labelImg directory
pyrcc4 -o lib/resources.py resources.qrc
For pyqt5, pyrcc5 -o libs/resources.py resources.qrc
python labelImg.py
python labelImg.py [IMAGE_PATH] [PRE-DEFINED CLASS FILE]
第2种:在Anaconda Prompt打开的界面
Windows + Anaconda
Download and install Anaconda (Python 3+)
Open the Anaconda Prompt and go to the labelImg directory
conda install pyqt=5
pyrcc5 -o libs/resources.py resources.qrc
python labelImg.py
python labelImg.py [IMAGE_PATH] [PRE-DEFINED CLASS FILE]
我自己用的是滴1种,用cmd终端界面,可以用conda list 看到自己的pyqt是哪个版本,我的就是pyqt5的,用
pyrcc5 -o libs/resources.py resources.qrc安装成功,
接着再输入python labelImg.py就会出现这个界面
以上就是安装过程。
对于倾斜框的下载链接在下面,安装教程和上面一模一样
GitHub - tzutalin/labelImg: 🖍️ LabelImg is a graphical image annotation tool and label object bounding boxes in images https://github.com/tzutalin/labelImg
下次想要打开界面使用时,要先cd到那个安装路径,再用python labelImg.py就会出现这个界面