'Object detection shows incorrect results on mask rcnn demo code

I have cloned https://github.com/akTwelve/Mask_RCNN and run the demo code. Everything works fine and runs correctly but the image processing part has incorrect results as shown in the picture below.

Has anybody encountered the same problem or has any idea what i have done wrong? Thank you for your help in advance.

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source