additional utils for working with Unity perception package, which generates synthetic images for AI training.
First up - perception to coco converter for 2D bounding boxes is now available.
Perception outputs all the data in their own format, but for most object detection, coco format is the default bounding box annotation format.
provide the path to the perception dir, and a name for the output coco file. image size must be passed in. Alternative is open every image and check, longer term can update perception to export this.
You can use either the notebook (run all cells down to the 'begin processing' first)...or import via the .py file. (note that I have tested and use the notebook, the script might need to be tuned...thus recommend the notebook).
A ready to use/train with coco file is created, in the dataset directory.