Closed bw4sz closed 3 days ago
Hi @bw4sz
Do you want to use globox instead of xml_to_annotations? or you want to keep the current code in xml_to_annotations and change the name to read_pascal_voc and warnings ?
I think we want to 1. keep the current code and add a 2.0 deprecation warning. https://github.com/weecology/DeepForest/blob/f1449053932104627f5b38785fb876d380b6cad9/deepforest/preprocess.py#L188 2. copy the function and rename it.
A key goal of DeepForest 2.0 is better connect with the large universe of computer vision packages and reduce things that are particular to DeepForest. The deepforest.utilities.xml_to_annotation function looks like a custom data format, but really its just a common format of pascal_voc.xml
https://roboflow.com/formats/pascal-voc-xml
Can be read about
globox is a nice tool for converting object detection formats
https://github.com/laclouis5/globox
this reads in the xml just fine.
To do