tensorflow object detection api 安装完之后,你需要下载一下已有的整理好的代码:
Windows 10
raccoon_dataset
这些代码写好了必要的流程文件。当然还有很多,大同小异。
1、物体检测数据标注
一般都用下面这个软件. 该软件是用python+Qt编写的,最终的标注文件为XML文件,以PASCAL VOC格式进行存储。安装的时候一定要注意python版本和Qt版本的对应,建议通过anaconda创建一个Python2的虚拟环境来进行此软件的安装。
LabelImg is a graphical image annotation tool and label object bounding boxes in images
这里 有一些关于安装LabelImage的讨论,如果遇到问题可以参考。
标注之后的文件大概是如下格式:
<annotation>
<folder>save62</folder>
<filename>6_td_6_1_5.jpg.bmp</filename>
<path>C:\Users\Desktop\6\save62\6_td_6_1_5.jpg.bmp</path>
<source>
<database>Unknown</database>
</source>
<size>
<width>160</width>
<height>120</height>
<depth>3</depth>