frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Control PC games with body movements using webcam andPython+ MediaPipe

3•TSkavinskyy•4h ago
I’ve been experimenting with building a universal gesture-based game controller — the idea is to let you play PC games using your body instead of a traditional controller or keyboard.

It uses:

MediaPipe for body pose detection

OpenCV for image processing

A custom Python pipeline I wrote to map gestures → keypresses

A standard webcam (placed above the screen) — no VR hardware or special equipment needed

Here’s a short demo of it running with Ryse: Son of Rome: https://www.youtube.com/watch?v=0k5jMM-aK1M

I’ve also tested it on other 3rd-person action games (Assassin’s Creed, The Witcher, Star Wars Jedi Fallen Order). The system sends configurable keypresses based on detected body movements — for example:

Stepping to move the character

Arm movements to attack or block

Leaning to dodge or strafe

It works surprisingly well for games that emphasize movement and timing over precision aiming.

I’m sharing this because:

I’d love feedback on the technical approach

I’m curious what other applications people can think of (beyond gaming?)

I’d like to find a few testers to help refine the system and test across more games

Eventually I’d like to turn this into an easy-to-configure tool — but for now it’s a fun experimental project. If anyone here is interested in the code, the design tradeoffs, or trying it out, I’d be happy to share more details.

Comments

solardev•4h ago
You've basically re-created the Kinect with a regular RGB webcam, right? It's a cool project, but if it's limited to emulating a controller (instead of, say, being able to control individual limb and weapon directions like with VR or Wiimote controllers), what do you think the target audience will be?

It seems like between the Kinect itself, Intel RealSense, the PlayStation Camera and other knockoffs, this has been tried many times without much market uptake. Maybe gamers are just lazy and prefer using only our thumbs instead of whole bodies, lol.

It might be fun for fitness games, though. Or any chance it could emulate VR controllers instead to let people without headsets play VR games with just their bodies?

vunderba•40m ago
There's a great parody video when the Nintendo Wii first came out where it showed two very different gamers playing Wii Tennis. Player one was completely throwing their entire body into it Kramer style, and the second player was sitting on the couch with a faintly bored expression on their face barely twitching their wrist to activate the motion controls.

Ask HN: SaaS launch tomorrow – lifetime deal or subscription?

1•pankaj9296•5m ago•1 comments

States sue to block sale of 23andMe genetic data without customer consent

https://apnews.com/article/23andme-bankruptcy-dna-data-privacy-lawsuit-844cc5d373205b33ec4aef16b73a49c6
2•galleywest200•6m ago•0 comments

The Moral Algebra of Sleep Discipline

https://domofutu.substack.com/p/the-moral-algebra-of-sleep-discipline
1•wjb3•7m ago•0 comments

FTC Delays Enforcement of Click-to-Cancel Rule Until July 14, 2025

https://www.lw.com/en/insights/ftc-delays-enforcement-of-click-to-cancel-rule-until-july-14-2025
1•aaossa•11m ago•0 comments

Live coding music jam writing Rust in a Jupyter notebook [video]

https://www.youtube.com/watch?v=vAAUqQbA4qs
2•stevebox•13m ago•0 comments

Where are all the old people?

https://sdegutis.github.io/blog/where-are-all-the-old-people.html
2•90s_dev•14m ago•2 comments

Show HN: Jina – AI QA Engineer

https://www.usejina.com/
1•fearlessboi•16m ago•0 comments

Italy cuts ties with Israeli spyware firm Paragon amid surveillance scandal

https://www.aljazeera.com/news/2025/6/9/italy-cuts-ties-with-israeli-spyware-firm-paragon-amid-surveillance-scandal
2•Qem•17m ago•0 comments

Containerization – WWDC25 – Videos Developer

https://developer.apple.com/videos/play/wwdc2025/346/
1•tambourine_man•18m ago•0 comments

Using Codex Well (Experiences so far)

https://messyprogress.substack.com/p/using-codex-well-experiences-so-far
1•robotelvis•18m ago•1 comments

Master CFD Trading with Advanced Tools and Strategies – CFD-Trading-Tool

https://www.cfd-trading-tool.space/
1•nonplayercaesar•19m ago•1 comments

Show HN: HighlightMe – Teleprompter iOS App

https://www.highlightme.app
1•gintechsystems•21m ago•0 comments

United Shuts Down Starlink Wi-Fi Due to Pilot Radio Interference

https://onemileatatime.com/news/united-shuts-down-starlink-wi-fi-radio-interference/
2•georgecmu•24m ago•0 comments

Simulating Time with Square-Root Space by Ryan Williams [video]

https://www.youtube.com/watch?v=1qwDO5ulUFs
1•teleforce•25m ago•0 comments

Teardown and tests of a Vertical Reference Gyro Collins 332D-11F [video]

https://www.youtube.com/watch?v=yiDooYZ7WoM
1•nill0•26m ago•0 comments

Memories of Kurt Gödel

https://www.rudyrucker.com/blog/2012/08/01/memories-of-kurt-godel/
1•nill0•27m ago•0 comments

Walmart taps own fintech firm for credit cards

https://www.cnbc.com/2025/06/09/walmart-onepay-synchrony-credit-cards-capital-one.html
1•lxm•31m ago•0 comments

Show HN: Vibe Map Design – Create interactive map themes with text/image

https://tasmap.app/theme
1•apolkingg8•32m ago•0 comments

RFK Jr. fires all 17 members of CDC vaccine advisory panel

https://www.usatoday.com/story/news/politics/2025/06/09/rfk-jr-cdc-vaccine-advisory-panel-fired/84121858007/
8•gok•38m ago•1 comments

"LLM-proofing" our take home coding challenge

https://makefizz.buzz/posts/llm-proof
1•kmdupree•40m ago•0 comments

The Interim Computer Museum

https://icm.museum/
1•Aloha•53m ago•0 comments

Show HN: AI-Powered Music Creation Starts Here – Vibe Musicing

https://vibemusicing.com/
1•liualexander112•54m ago•0 comments

PreTeXt: An authoring and publishing system for scholarly documents

https://github.com/PreTeXtBook/pretext
1•gjvc•56m ago•1 comments

Show HN: I Created a Business Automation Mastery Custom GPT

https://chatgpt.com/g/g-683cc317abb08191bca3da9b36e9f008-master-business-automation-tools-mba-gpt
1•arcknighttech•56m ago•1 comments

Terraform Proverbs

https://rosesecurity.dev/2024/11/24/terraform-proverbs.html
1•r0nan•1h ago•0 comments

Big Bigolas Energy (2023)

https://maxgladstone.substack.com/p/big-bigolas-energy
1•lawrenceyan•1h ago•0 comments

Apple Developer Video: Meet Liquid Glass

https://www.youtube.com/watch?v=IrGYUq1mklk
2•busymom0•1h ago•4 comments

Solid Design Principles Every JavaScript Deveveloper Should Know

https://jsdev.space/solid-design-principles/
1•javatuts•1h ago•0 comments

Real Talk about FDR

https://www.slowboring.com/p/real-talk-about-fdr
1•JumpCrisscross•1h ago•0 comments

Create 'Mess' Directories

https://blog.larah.me/mess-directory/
2•markl42•1h ago•0 comments