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

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

new 0.1.0 Oct 20, 2024

#14 in #txt

Download history 133/week @ 2024-10-18

133 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