Yes, this is possible using computer vision. Computer vision algorithms can be used to detect when a lamp is turned on or off based on the image or video output of the camera. This can be done by training the algorithms on different images of the lamp in different states (on/off) and then applying the algorithm to the camera's frames to detect the state of the lamp.
https://bit.ly/3EQiZ9A
Topic:
Programming Languages
SubTopic:
Swift
Tags: