wbia.detecttools.pascaldata package

Submodules

wbia.detecttools.pascaldata.common module

wbia.detecttools.pascaldata.common.get(et, category, text=True, singularize=True)[source]
wbia.detecttools.pascaldata.common.histogram(_list)[source]
wbia.detecttools.pascaldata.common.openImage(filename, color=False, alpha=False)[source]
wbia.detecttools.pascaldata.common.randColor()[source]
wbia.detecttools.pascaldata.common.randInt(lower, upper)[source]

wbia.detecttools.pascaldata.pascal_image module

class wbia.detecttools.pascaldata.pascal_image.PASCAL_Image(filename_xml, absolute_dataset_path, **kwargs)[source]

Bases: object

accuracy(prediction_list, category, alpha=0.5)[source]
bounding_boxes(parts=False)[source]
categories(unique=True, patches=False)[source]
image_path()[source]
show(objects=True, parts=True, display=True, prediction_list=None, category=None, alpha=0.5)[source]

wbia.detecttools.pascaldata.pascal_object module

class wbia.detecttools.pascaldata.pascal_object.PASCAL_Object(_xml, width, height, name=None, **kwargs)[source]

Bases: object

bounding_box(parts=False)[source]

wbia.detecttools.pascaldata.pascal_part module

class wbia.detecttools.pascaldata.pascal_part.PASCAL_Part(_xml, **kwargs)[source]

Bases: object

bounding_box()[source]

Module contents

class wbia.detecttools.pascaldata.PASCAL_Data(dataset_path, **kwargs)[source]

Bases: object

dataset(positive_category, neg_exclude_categories=[], max_rois_pos=None, max_rois_neg=None)[source]
print_distribution()[source]