Ask Your Question
1

OpenCV Color Detection

asked Oct 22 '12

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?

Preview: (hide)

2 answers

Sort by » oldest newest most voted
2

answered Oct 27 '12

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.

Preview: (hide)

Comments

thank you!

ognamdik gravatar imageognamdik (Oct 29 '12)edit
0

answered Nov 14 '12

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.

Preview: (hide)

Question Tools

Stats

Asked: Oct 22 '12

Seen: 3,835 times

Last updated: Nov 13 '12