深度学习_目标检测_Pascal VOC数据集介绍

1.JPEGImages

主要提供的是Pascal VOC所提供的所有的图片信息(原始图片),包括训练图片和测试图片。

这些图片就是用来进行训练和测试验证的图像数据。

2.Annotations

主要存放XML格式的标签文件,每个XML对应JPEGImage中的一张图片。

<annotation>  
    <folder>VOC2012</folder>                             
    <filename>2007_000392.jpg</filename>                             //文件名  
    <source>                                                         //图像来源(不重要)  
        <database>The VOC2007 Database</database>  
        <annotation>PASCAL VOC2007</annotation>  
        <image>flickr</image>  
    </source>  
    <size>                                            //图像尺寸(长宽以及通道数)                        
        <width>500</width>  
        <height>332</height>  
        <depth>3</depth>  
    </size>  
    <segmented>1</segmented>            //是否用于分割(在图像物体识别中01无所谓)  
    <object>                              //检测到的物体  
        <name>horse</name>                                         //物体类别  
        <pose>Right</pose>                                         //拍摄角度  
        <truncated>0</truncated>                                   //是否被截断(0表示完整)  
        <difficult>0</difficult>                                   //目标是否难以识别(0表示容易识别)  
        <bndbox>                                                   //bounding-box(包含左下角和右上角xy座标)  
            <xmin>100</xmin>  
            <ymin>96</ymin>  
            <xmax>355</xmax>  
            <ymax>324</ymax>  
        </bndbox>  
    </object>  
    <object>              //检测到多个物体  
        <name>person</name>  
        <pose>Unspecified</pose>  
        <truncated>0</truncated>  
        <difficult>0</difficult>  
        <bndbox>  
            <xmin>198</xmin>  
            <ymin>58</ymin>  
            <xmax>286</xmax>  
            <ymax>197</ymax>  
        </bndbox>  
    </object>  
</annotation>  

3.ImageSets

  • Action 人的动作
  • Layout 人体的具体部位
  • Main 图像物体识别的数据,需要保证train和val没有交集(train.txt,val.txt,trainval.txt)
    -train.txt 是用来训练的图片文件的文件名列表
    -val.txt是用来验证的图片文件的文件名列表
    -trianval.txt是用来训练和验证的图片文件的文件名列表
    -test.txt 是用来测试的图片文件的文件名列表
  • Segmentation 用于分割的数据

4.SegmentationObject or SegmentationClass

保存的是物体分割后的数据,在物体识别中没有用到

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章