Functions | Variables
voc_label Namespace Reference

Functions

def convert
def convert_annotation

Variables

list classes = ["aeroplane", "bicycle", "bird", "boat", "bottle", "bus", "car", "cat", "chair", "cow", "diningtable", "dog", "horse", "motorbike", "person", "pottedplant", "sheep", "sofa", "train", "tvmonitor"]
tuple image_ids = open('VOCdevkit/VOC%s/ImageSets/Main/%s.txt'%(year, image_set))
tuple list_file = open('%s_%s.txt'%(year, image_set), 'w')
list sets = [('2012', 'train'), ('2012', 'val'), ('2007', 'train'), ('2007', 'val'), ('2007', 'test')]
tuple wd = getcwd()

Function Documentation

def voc_label.convert (   size,
  box 
)

Definition at line 12 of file voc_label.py.

def voc_label.convert_annotation (   year,
  image_id 
)

Definition at line 25 of file voc_label.py.


Variable Documentation

list voc_label::classes = ["aeroplane", "bicycle", "bird", "boat", "bottle", "bus", "car", "cat", "chair", "cow", "diningtable", "dog", "horse", "motorbike", "person", "pottedplant", "sheep", "sofa", "train", "tvmonitor"]

Definition at line 9 of file voc_label.py.

tuple voc_label::image_ids = open('VOCdevkit/VOC%s/ImageSets/Main/%s.txt'%(year, image_set))

Definition at line 50 of file voc_label.py.

tuple voc_label::list_file = open('%s_%s.txt'%(year, image_set), 'w')

Definition at line 51 of file voc_label.py.

list voc_label::sets = [('2012', 'train'), ('2012', 'val'), ('2007', 'train'), ('2007', 'val'), ('2007', 'test')]

Definition at line 7 of file voc_label.py.

tuple voc_label::wd = getcwd()

Definition at line 45 of file voc_label.py.



rail_object_detector
Author(s):
autogenerated on Sat Jun 8 2019 20:26:31