SFML community forums

General => General discussions => Topic started by: diseasedtoe on January 23, 2012, 01:29:04 am

Title: Image Detection
Post 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?
Title: Image Detection
Post by: MarekkPie on January 23, 2012, 02:16:05 am
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.
Title: Image Detection
Post by: mateandmetal on January 23, 2012, 04:36:48 am
There is a library you can download and test.

http://sourceforge.net/projects/opencvlibrary/
Title: Image Detection
Post by: diseasedtoe on January 24, 2012, 06:22:27 am
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.
Title: Image Detection
Post by: Mikademus on January 24, 2012, 03:08:06 pm
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.