bboxconverter.io.reader_pascal_voc

Module Contents

Functions

read_pascal_voc(...)

Reads bounding boxes from a pascal_voc folder and returns a BboxParser object.

read_content(xml_file)

bboxconverter.io.reader_pascal_voc.read_pascal_voc(path: str | Path) bboxconverter.core.bbox_parser.BboxParser

Reads bounding boxes from a pascal_voc folder and returns a BboxParser object.

Parameters:

path (str | Path) – Path to the pascal_voc folder. The folder should contain the following folders: - Annotations : contains the xml files - Images : contains the images

Returns:

BboxParser object containing bounding boxes

Return type:

BboxParser

bboxconverter.io.reader_pascal_voc.read_content(xml_file: str)