数据标注工具


作者:潘雨粟
链接:https://www.zhihu.com/question/30626971/answer/125029823
来源:知乎
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

推荐 Github 上的小工具 GitHub - tzutalin/labelImg: LabelImg is a graphical image annotation tool and label object bounding boxes in images

用 PyQt 写的, 很轻量, Linux/macOS/Windows 全平台均可运行.

使用截图:
<img src="https://i-blog.csdnimg.cn/blog_migrate/0b2d61cfe4f5582f56804953168b4cfd.png" data-rawwidth="1972" data-rawheight="2082" class="origin_image zh-lightbox-thumb" width="1972" data-original="https://pic3.zhimg.com/7b43e9268798ee0fff4dd439f727a226_r.png">生成的 XML 文件是遵循 PASCAL VOC 的格式的. 生成的 XML 文件是遵循 PASCAL VOC 的格式的.
<?xml version="1.0" ?>
<annotation>
	<folder>Pictures</folder>
	<filename>IMG_20160903_134137</filename>
	<path>/Users/yuthon/Pictures/IMG_20160903_134137.jpg</path>
	<source>
		<database>Unknown</database>
	</source>
	<size>
		<width>1196</width>
		<height>895</height>
		<depth>3</depth>
	</size>
	<segmented>0</segmented>
	<object>
		<name>stone lion</name>
		<pose>Unspecified</pose>
		<truncated>0</truncated>
		<difficult>0</difficult>
		<bndbox>
			<xmin>478</xmin>
			<ymin>255</ymin>
			<xmax>809</xmax>
			<ymax>766</ymax>
		</bndbox>
	</object>
	<object>
		<name>person</name>
		<pose>Unspecified</pose>
		<truncated>0</truncated>
		<difficult>0</difficult>
		<bndbox>
			<xmin>3</xmin>
			<ymin>481</ymin>
			<xmax>142</xmax>
			<ymax>895</ymax>
		</bndbox>
	</object>
</annotation>

对于数据标注主要推荐两款产品:(1)labelImg 标注格式符合PASSCAL VOC的格式;

<object>

  • <name>person</name>
  • <pose>Unspecified</pose>
  • <truncated>0</truncated>
  • <difficult>0</difficult>
  • <bndbox>
  • <xmin>73</xmin>
  • <ymin>139</ymin>
  • <xmax>142</xmax>
  • <ymax>247</ymax>
  • </bndbox>

(2)BBox-Label-Tool 标注格式如下:

1 (目标数目)

29 22 194 204 (x y weight hight)

目标数目

x y weight hight




评论 6
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值