This Repo is just a tiny modification of Matterports MaskRCNN Repo link is here, the reason why i didnt fork the original one is because re-uploading the necessary modified part is much easier and cleaner to go through.
Instance segmenting more than 2 classes in an image,where image dataset is from publicly available data, for annotation we are using VGG annotator latest version
Here we defined 4 classes :
- bottle
- glass
- paper
- trash
Below are the examples for model's accuracy
This is the collage of four classes in one picture, and the prediction resultSince we just tweaked a bit on original code of matter port's mask-rcnn, it do has all the step by step detection
python final.py train --dataset=/path/to/datasetfolder --weights=coco python final.py train --dataset=/path/to/datasetfolder --weights=last