For those of you who have spent the last few years working from home, you may have found yourself less active than you were pre-pan. ML Maker’s Victor Sonck is no exception. To increase his activity levels while logging in from the home office, Victor decided to design a timed physical lock for his computer, that can only be released with a pushup or two…or five.
Victor’s PC locks every hour, thanks to a Raspberry Pi in the corner of his office. The same Raspberry Pi then counts Victors pushups via a connected OAK-1 AI camera running Google’s MediaPipe Pose model, until the required number is achieved. The PC is then unlocked, and he can get back to work.
Alongside his video, Victor has published a comprehensive writeup of the project, as well as providing the code on GitHub, so watch the video, have a read, do a pushup and reward yourself with a cookie. You earned it.