Extracting appliance state from a webcam photo (computer vision)

I do not know where to start from as using google provides too many results.

I have a heating boiler and there is a dashboard with a few buttons, LED indicators and two-row 7 segment display.

I want to use android or esp32 cam to get regular photos from the dashboard and post the data to mqtt.

Can someone give me pointers for a software package? I need easy solution. Just define regions of the photo and it will decide if the leds are on or off. Eventualy do OCR on the text.

I do not have a photo now but let say this is on similar level of complexity:

this may help you

Yea I know about this one, far from a quick solution