github源码:https://github.com/cgvict/roLabelImg
conda create -n rolabel36 python=3.6
activate rolabel36
pip install pyqt5-tools
pip install lxml
pyrcc5 -o resources.py resources.qrc
python roLabelImg.py
注意:此处可能会存在一个编码错误:
(rolabel36) D:\roLabelImg-master>python roLabelImg.py
running with lxml.etree
Traceback (most recent call last):
File “roLabelImg.py”, line 1339, in
if name == ‘main’:
File “roLabelImg.py”, line 1335, in main
‘’‘construct main app and run it’‘’
File “roLabelImg.py”, line 1328, in get_main_app
win = MainWindow(argv[1] if len(argv) >= 2 else None,
File “roLabelImg.py”, line 393, in init
# Load predefined classes to the list
File “roLabelImg.py”, line 1250, in loadPredefinedClasses
if os.path.exists(predefClassesFile) is True:
NameError: name ‘codecs’ is not defined
只需将roLabelImg.py文件中的# -- coding: utf8 --改成# -- coding: utf-8 --(被这个问题折磨了好久)
点击creatRotateBBox
右击矩形的顶点进行旋转
快捷键:
w:Create RectBox
e:Create RotetedRBox
d:next image
ctrl+d:Duplicate RectBox
z、x:Anti-clock rotate
c、v:clock rotate
链接:htt删除ps://p删除an.ba删除idu.com/s/1Ni删除S-O-DP删除R3OlZK删除LY_JM删除27Q
提取码:1234