I am trying to use inrange function in opencv to get the square(green part) but it doesn't seems to work. Here is my image
Here is my code:
cv::inRange(src, cv::Scalar(35, 20, 20), cv::Scalar(85, 255, 200), src);
And here is the output for my code:
How can i get all the green part using correct hsv values....