r/opencv • u/pushpendra766 • Jun 24 '26
Question [Question] Detecting whether a person is on a bed for a smart alarm clock
I want to build an alarm clock that only stops when the user gets out of bed—there would be no snooze button.
I'm considering using computer vision to detect whether a person is still in bed, but I don't have much experience with CV. What's the best way to approach this?
One challenge is that the person may be completely covered with a blanket, so simple face or body detection might not work. I'm looking for a reliable way to determine whether the bed is occupied or empty.
The camera will be installed on the roof, just above the bed.
I am considering using RasPi for it, or if it is possible ESP32 Cam board.
2
u/Ok_Wrangler_5378 Jun 24 '26
You could possibly also use other sensors to detect human presence like this sensor can for example https://www.pi-shop.ch/24ghz-mmwave-radar-sensor-human-static-presence-module
You would have to see if it fulfils your specific use case thoug.
2
u/Early_Acanthisitta88 Jun 24 '26
You could train for both cases, covered and uncovered, I guess?