android - Comparing pixel colors in a selected region -


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 eyes detected using canvas. how pixel colors in circled region can compare preset values , tell whether eye open or not?

see image in link.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -