Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

FaceLean

An experiment to use a webcam as a game input device. More detail on this project is available on my blog: https://www.gdcorner.com/2020/07/11/WebcamAsGameInput.html

Video of FaceLean in action: https://www.youtube.com/watch?v=_NggXhsWcak

Main tech used

Requirements & installation

DO NOT USE THIS IN ONLINE/MULTIPLAYER GAMES! I don't know if this will trigger anti-cheat systems. Don't risk it.

Ensure you have the following software installed

  • CMake (latest)
  • Visual Studio Community or Professional (I used 2019)
  • Python 3.7 or greater

Download or clone the repo.

Run the following command to install other requirements

pip install -r requirements.txt

Download and extract shape_predictor_5_face_landmarks.dat from https://github.com/davisking/dlib-models/blob/master/shape_predictor_5_face_landmarks.dat.bz2 into the project directory

Then run main.py

python main.py

About

An experiment to use a webcam as a game input device.

Resources

License

Releases

No releases published

Languages

You can’t perform that action at this time.