2023-01-30 07:30 AM - last edited on 2023-08-08 04:43 AM by Anne BIGOT
Hi there,
We are testing the VD6283 sensor so as to detect a set of colours a card might adquire (specifically, blue, green and yellow), but we do not understand what units / kind of values all its channels return, so:
Thanks beforehand, sorry for the inconveniences, and looking forward to hearing from you soon.
Kind regards.
Daniel.
2023-02-08 09:17 AM
What you could do is to normalize the values (divide each channel value by the sum of RGB) and convert to HSV to see the color angle in the HUE circle. Though it relies on the illumination condition.
2023-08-08 04:43 AM
ST device reports light counts. So you will have RGB + other channels counts.
To detect several single colors, you may play with ratio (for example : R divided by G or (R+G)/G for things like that)
ST has no particular algorithm for this use case but some customers are able to it.