SFML community forums
General => General discussions => Topic started by: diseasedtoe on January 23, 2012, 01:29:04 am
-
Hey guys,
I was wondering if you could help me with a challenge I am facing. I want to create a program that can detect an image in a scene, and put a box around it. A simple example: If I had a white piece of paper with a black square on it, I would take a picture of it and my program would detect the black square and put a box around it. Could you please point me in the right direction as to how I could approach this problem?
-
http://en.wikipedia.org/wiki/Computer_vision
There is no really easy way to do such a thing. This is an area where computers are still far behind humans.
-
There is a library you can download and test.
http://sourceforge.net/projects/opencvlibrary/
-
Thank you for replying on such short notice. I will look through all the libraries and try to figure out which will work best for me.
-
If you're asking about automatic pattern recognition you should know that this is an NP-difficult problem and an active academic topic. This journal has .PDF articles on the topic:
http://www.jprr.org/index.php/jprr
It is a very complex problem and you will not get the answer in this forum.