Need help!

I'm a beginner. Please help me

I want to detect colors that in the black rectangle.
http://upic.me/i/1p/qywet.jpg
How can I do? What library should I use?


Thank you
Explain it more.
1.insert jpeg file location

2.detect color that only in the box like this picture(the new one)
http://upic.me/i/qk/1owet.jpg

3.display a color in a sequence like this
Ex.

1.black
2.black
3.white
4.blue
5.green
6.green
7.black
8.black

Sorry for very bad English
Thank you
Last edited on
Please Help
closed account (Dy7SLyTq)
sdl, sfml
For image processing in C++, you should use OpenCV.
Can I have an example code that load file from c:/1.bmp then get pixel from (x,y) then display as RGB
which use OpenCV library?



I'm very beginner.
Now I don't know how to install OpenCV library...Please tell me
I'm using VS2013RC



I spend time in google for 3 hours but nothing I get about how to use OpenCV, Image magick for this project.


Please Help me
Thank you
Last edited on
Check this out for the installation of OpenCV
http://www.youtube.com/watch?v=kZvjTTK9zTw

After you do that go to the OpenCV website. There are a plenty of examples. I will check some examples I did and I will post them.
Last edited on
Topic archived. No new replies allowed.