Unfortunately the docs are in one big pdf and I hate them, so can't link to anything for ideas (read the doc and picamera was so much better for users).
So back in picamera (original) you could grab a numpy array of the image then do some maths and figure out the colour in the picture.
Hopefully there is something like that in picamera2.
But it is probably done via openCV now and you get it to identify and tell you the colour.
So back in picamera (original) you could grab a numpy array of the image then do some maths and figure out the colour in the picture.
Hopefully there is something like that in picamera2.
But it is probably done via openCV now and you get it to identify and tell you the colour.
Statistics: Posted by bensimmo — Tue Jul 16, 2024 1:04 pm