pycococreator is a set of tools to help create COCO datasets. It includes functions to generate annotations in uncompressed RLE ("crowd") and polygons in the format COCO requires.
Read more here https://patrickwasp.com/create-your-own-coco-style-dataset/
pip install git+git://email@example.com
If you need to install pycocotools for python 3, try the following:
sudo apt-get install python3-dev pip install cython pip install git+git://firstname.lastname@example.org