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? -

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

ajax - PHP/JSON Login script (Twitter style) not setting sessions -