125 grey scaled images were chosen from a previous dataset available on github.
An annotation file was generated by hand online with makesense.ai and saved as a unique json file in COCO format. This small dataset is freely available as an archive.
Check annotation file validity with pycococreator.
Pycococreator by Waspinator was used to display the annotations (aka the segmentation) over a grey scaled image in the following jupyter notebook
validating de facto the annotation file produced with makesense.ai:
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Data registration in detectron2:
This is the next step.
The idea is to follow the tutorial on custom dataset registration, possibly using the balloons example by davamix.