Pascal VOC (XML) to JSON?

(Zachary Mueller) #1

I generated a dataset for object detection and it is in xml format. Is there a way to convert it to the json format the notebook uses? Or how can I use the xml’s instead?

I am new to python so any help is appreciated, and if there is further explanation needed please let me know.

Thank you!


(Zachary Mueller) #2

For anyone needing it, there is a library you can use:

Or if you are just wanting pascal to json: