color-shape-detection opencv color detection and blob detection is used to detect bugs. dark red ellipse represent bug. Usage hit clone https://github.com/gustavkkk/color-shape-detection cd color-shape-detection-master python detect-bug.py Result