0
canvas.drawCircle((float)(myMidPoint.x - myEyesDistance/2.0), myMidPoint.y, (float)30.0, myPaint);

canvas.drawCircle((float)(myMidPoint.x + myEyesDistance/2.0), myMidPoint.y, (float)30.0, myPaint);

The image shows the eyes detected using canvas. How to get the pixel colors in the circled region so that I can compare it with any preset values and tell whether eye is open or not?

See the image in link.

halfer
  • 19,824
  • 17
  • 99
  • 186
ayjc
  • 23
  • 6

0 Answers0