tensorbay.opendataset.VOC2012Detection#

tensorbay.opendataset.VOC2012Detection(path)[source]#

VOC2012Detection dataset.

The file structure should be like:

<path>
    Annotations/
        <image_name>.xml
        ...
    JPEGImages/
        <image_name>.jpg
        ...
    ImageSets/
        Main/
            train.txt
            val.txt
            ...
        ...
    ...
Parameters

path (str) – The root directory of the dataset.

Returns

class: ~tensorbay.dataset.dataset.Dataset instance.

Return type

Loaded