Find out how much of a rectangle is filled with a color using OpenCV
Find out how much of a rectangle is filled with a color using OpenCV Question: I am using a webcam to segment a green piece of paper. I have tried different results using inRange and thresholding but have gotten a pretty good result so far. I now have a rectangle in the middle of the …