I’ve been doing something similar to control racing video games while biking on an indoor exercise bike. I convert pedal speed into brake and acceleration keys (there’s some middle amount of pedaling that’s neutral) with pynput. I used OpenCV for webcam input and MediaPipe’s models to convert lean angle into left and right keyboard presses, and head tilt into up and down. It’s really fun but the slight latency in recognizing my pose is tough for fast courses. Now I’m thinking about some Arduino with a sensor or low res IR camera or something else that could detect changes a lot quicker.
Considering his last (brilliant) project featured here, the semaphore keyboard madness, I'm not sure how serious this is but it seems there is potential for providing a useful API for AR/VR apps/games/experiences; I'm not sure the body is extensively served by Quest etc beyond hand and head tracking.
To me, the main motivation beyond "because I can" is the accessibility of these projects: you just need some Python code and any webcam. I'd love to play around more with VR, but the owners of the leading systems aren't exactly known for their openness to external APIs... Maybe Google Cardboard is worth a revisit :)
That's interesting, I always wanted to try something similar but put it off. I'll try it with my phone & see if I can get it working in small space but with ulta-wide camera.
Pretty well from my limited testing! For standing poses, it works roughly as well as a human in good lighting and contrast conditions - as in, in situations where you would have a hard time picking out where limbs are, Mediapipe will too. The more common issue is poor lighting, or clothing that blends into a busy background.
freedmand|2 years ago
grrdotcloud|2 years ago
berendka|2 years ago
fheisler|2 years ago
gmac|2 years ago
https://www.youtube.com/watch?v=w5ye9dfeu7c
https://github.com/jawj/pigeonsim
mellosouls|2 years ago
fheisler|2 years ago
To me, the main motivation beyond "because I can" is the accessibility of these projects: you just need some Python code and any webcam. I'd love to play around more with VR, but the owners of the leading systems aren't exactly known for their openness to external APIs... Maybe Google Cardboard is worth a revisit :)
tough|2 years ago
My ideas for body games are growing
https://github.com/everythingishacked/Semaphore
roughly|2 years ago
recursive|2 years ago
dr_kiszonka|2 years ago
j2bax|2 years ago
fheisler|2 years ago
doitLP|2 years ago
unknown|2 years ago
[deleted]
jncfhnb|2 years ago
unknown|2 years ago
[deleted]
iasoy|2 years ago
kylejrp|2 years ago
0xfai|2 years ago
iamflimflam1|2 years ago
fheisler|2 years ago
topfloorboss|2 years ago