Click here to Skip to main content
15,911,789 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more: , +
Hi, I need some help here, How to find x,y coordinate from an image?
I want to finding x,y coordinate of a white dot in a black cycle, and store the x,y coordinate in the variable array.

Example Image

<img border="0" src="http://upic.me/i/iv/test1.jpg">

I really need any ideas and suggestion urgently.

Thank you so much.
Posted
Updated 2-Sep-13 8:35am
v2

1 solution

I assume you could use Haar cascade method to find these objects.
The .net port of OpenCV - EmguCV - has such a method implemented: http://www.emgu.com/wiki/files/2.0.0.0/html/8071f5d0-e119-4ba7-308c-0002cb8fb90a.htm[^]
You will need to train the classifier to recognize the patterns: http://docs.opencv.org/doc/user_guide/ug_traincascade.html[^]
 
Share this answer
 
Comments
Wein19 3-Sep-13 16:32pm    
Thank you so much
Zoltán Zörgő 3-Sep-13 16:33pm    
If you find my answer helpful, feel free to accept it.

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