first you need to build a “jig” where you put the LCD and the camera so they’re always in the same relative position to each other, and put blinds around it all to shield from outside light (which is a distraction).
We are here to help you, not to write your homework.
And, to learn anything (including computer vision and image processing), you’ll have to “waste time”. Lot of time. Sorry.
Anyway, if you have a camera setup, you can define a mask for every segment you want to check, apply that mask on the image and get the mean value. It will give the color and intensity of the segment.
@kbarni i don’t expect that you write code for me. I just ask for a direction.
I know basic image manipulation from Software like Gimp, so I don’t start at zero. But I’m new to OpenCV. OpenCV has about 2500 algorithms and I probably need 10 of them, maybe less. That’s what I mean with “wasting time”. I don’t want to try all 2500 algorithms just to find the few I need.
What I want to try is using contours to generate a mask for each segment. Just a single pixel is not accurate enough.
Most tutorials just explain how to find contours and how to draw the outline. They don’t cover the interesting parts. But I found some promising tutorials I will try as soon as possible.
Currently I’m getting some original images from the system to have some training data.
Meanwhile I learned a lot and found different ways to solve this like pattern matching, using HSV color range or even train an AI. But for the AI I definitely don’t have enough false Images.