Ask Your Question
1

OpenCV Color Detection

asked 2012-10-21 22:52:03 -0600

ognamdik gravatar image

I am making an OpenCV program that is able to detect 10 different colors and be able to differentiate between them. What are 10 different colors that OpenCV is able to detect easily?

How limited is OpenCV in detecting colors? If 8-bit colors are used, how many colors can OpenCV detect easily?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
2

answered 2012-10-27 00:48:19 -0600

Droidkie gravatar image

@ognamdik You can try this: http://berenoune.blogspot.com/2012/10/opencv-android-java-color-detection.html It detects the colors: yellow and blue. There is a screenshot on that link that shows 5 colors being detected. Try to modify the code and see how many colors you can detect.

edit flag offensive delete link more

Comments

thank you!

ognamdik gravatar imageognamdik ( 2012-10-29 12:00:26 -0600 )edit
0

answered 2012-11-13 21:26:58 -0600

wentworthhu gravatar image

In my opinoin ,it depends your picture and the threshold you give.And I used to do it in the HSV or HSI color space.I think you can detect 10 color if you do it in the right way.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-10-21 22:52:03 -0600

Seen: 3,803 times

Last updated: Nov 13 '12