目标检测标注工具labelImg使用说明参考
Windows系统上操作方法
其它系统或更多操作方法见:tzutalin/labelImg: ?️ LabelImg is a graphical image annotation tool and label object bounding boxes in images (github.com)
- 下载labelImg
- 安装Python
以管理员身份打开cmd,运行
pip3 install pyqt5 lxml
make qt5py3
cd labelImg
,到labelImg
目录下python3 labelImg.py
labelImg/data/predefined_classes.txt
文件中内容为标注的标签:(与以下内容一致)
出现界面
label-Img界面说明
快捷键
Ctrl + u | Load all of the images from a directory | |
Ctrl + r | Change the default annotation target dir | |
Ctrl + s | Save | |
Ctrl + d | Copy the current label and rect box | |
Ctrl + Shift + d | Delete the current image | |
Space | Flag the current image as verified | |
w | Create a rect box | |
d | Next image | |
a | Previous image | |
del | Delete the selected rect box | |
Ctrl++ | Zoom in | |
Ctrl-- | Zoom out | |
↑→↓← \ | Keyboard arrows to move selected rect box |