旋转目标检测工作 roLabelImg

工具地址:https://github.com/cgvict/roLabelImg

该工具可以标注旋转目标

一、环境创建

打开anaconda prompt或者cmd 输入一下命令

1、conda create -n rolabelimg python=3.8 -y

2、conda activate rolabelimg

3、conda install pyqt=5

4、conda install lxml -y

5、cd C:\Users\admin\Desktop\roLabelImg-master(进入到rolabelimg文件夹,改成你自己的的软件所在文件夹路径)

6、pyrcc5 -o resources.py resources.qrc

二、使用

1、conda activate rolabelimg

2、python roLabelImg.py

三、其他问题

如何支持中文标签

修改libs/pascal_voc_io.py 58行 return etree.tostring(root, pretty_print=True) -> return etree.tostring(root, encoding=“utf8”,pretty_print=True)

具体如下:

def prettify(self, elem):
“”"
Return a pretty-printed XML string for the Element.
“”"
rough_string = ElementTree.tostring(elem, ‘utf8’)
root = etree.fromstring(rough_string)
try:
return etree.tostring(roo

  • 0
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值