Skip to content

boristsr/FaceLean

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages