After reading this post, you will be able to easily convert any dataset into COCO object detection format 🚀 Install sahi : pip install sahi 2. Import required classes: from sahi.utils.coco import Coco, CocoCategory, CocoImage, CocoAnnotation
from sahi.utils.file import save_json 3. Init Coco object: coco = Coco() 4. Add categories…