Click here to Skip to main content
15,889,027 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello friends
I am doing a project with face detection.In that i detected face and mark by rectangle,but what i need is i want to get pixel value of rectangular edges at runtime, particularly bottomline edges of rectangle.how can i find it please help me.
Thanks
Posted

1 solution

Hello

If you want to get the colour of a Pixel you need to have x and y of the pixel.

Then it's easy. Look at this: Bitmap.GetPixel Method

Maybe it can help too:
Get raw pixel value in bitmap image
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900