#format #xml-format #annotations #converting #dataset #txt #converter

bin+lib annotation-format-converter

Convert the annotation format of the dataset, such as converting Voc's XML format to Yolo's TXT format

1 unstable release

0.1.0 Oct 20, 2024

#13 in #txt

27 downloads per month

Apache-2.0

7KB
145 lines

Dataset annotation format conversion, currently only supports converting VOC annotation format to YOLO format

Example:

fn main() -> Result<(), Box<dyn Error>> {
    let converter = Converter::new(vec![String::from("")]);
    converter.voc_to_yolo("/your_path/0001.xml", "/your_path/0001.txt")
}

Dependencies

~2.4–3.5MB
~58K SLoC