#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

#14 in #txt

Download history 96/week @ 2024-10-14 50/week @ 2024-10-21 15/week @ 2024-11-04

161 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
~59K SLoC