Code Monkey home page Code Monkey logo

gazetracker's Introduction

AppVeyor PayPal Latest release Total downloads

GazeTracker

Tracker that uses an artificial intelligence to track the orientation and position of your face using a webcam

Download:

Just go to the releases page

Usage:

  1. Run GazeTracker.exe
  2. Select the webcam and the resolution you want to use
  3. Once it's running check that your face angles and position is correctly detected. It works better if the camera is far away and you don't wear glasses or things that cover your face that could mess the AI
  4. Check the port number at the bottom of GazeTracker and change it if you want
  5. Open OpenTrack
  6. In the Input dropdown of OpenTrack select UDP over network
  7. Click on the button next to the Input dropdown and in the popup write the same port that you selected before
  8. Click start in OpenTrack
  9. You might need to adjust the axes. To do so, check the OpenTrack wiki

Playstation 3 Eye

You will need to have the CL Eye Driver installed if you want to use this type of webcam. You can get it here

Tips:

  • Try to use a webcam with a wide field of view and at eye level to correctly detect pitch angles
  • Usually a lower resolution increase the framerate and makes the work easier for the AI

Compiling:

  1. You need to run the download_models.ps1 script to download the AI models (~500 Mb).
  2. Build it with visual studio 2019 and make sure that the Libs content is copied to the output

Acknowledgments:

This tracker uses the amazing Tada's OpenFace API.
Unfortunately the AI model doesn't work well with people who wear glasses and training it takes a lot of time and knowledge

gazetracker's People

Contributors

gavazquez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gazetracker's Issues

CPU usage is rather high for gaming

I have an Intel Core i7-7700HQ and I verified that the CPU usage is rather high, with all cores (+HT) being used.
Maybe there is a way to limit the number of threads, or switch to a less intensive algorithm in OpenFace.
Did you test GazeTracker with other FaceModelParameters?

PS3 Eye camera not showing any image

I have a PS3 Eye camera and it's working fine normally (CL Eye Test program, FaceTrackNOIR etc..) - it's using the same CL Eye driver linked on the readme.

When I try to use GazeTracker the camera gets detected OK, and I can pick it as my source, but when I hit 'Select Camera' the next window that opens just has a black box when the camera image should be, and on my PS3 Eye the red LED starts to blink super fast - like it's constantly trying to initialise.
When I try it with something like the CL Eye Test program, the red LED is solid.

Am I missing anything else that's specifically needed for PS3 eye support?

Jaw affects head orientation

Hello Gabriel!

If you open your mouth and move down the jaw, the pitch of the head orientation is altered negatively.
Is the head orientation completely determined by OpenFace? What kind of data do we have access to in GazeTracker code?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.