I am using the opencv library on an android app. From an image taken from the camera, I want to read a check box (I already have the location of the checkbox), and see if the check box has been filled. i.e. i want to know if the area within the check box has been filled in partially or completely with dark pixels.
I am using the jni interface so i am using the c++ language. I want to know how i can find the values of those pixels in the check box such that i will know that most the check box is filled with dark (black) pixels.