Giter VIP home page Giter VIP logo

easygaze3d's Introduction

EasyGaze3D: Towards Effective and Flexible 3D Gaze Estimation from a Single RGB Camera

Usage

To use your own webcam for real-time gaze estimation:

  1. Build NMS, Sim3DR and mesh render in 3DDFA_V2 (Thanks to this amazing work!)

    ---> cd ./TDDFA_V2/

    ---> sh ./build.sh

  2. Calibrate subject-specific features

    ---> Set cfg.EasyCali.subj_idx

    ---> Set cfg.EasyCali.to_save to True (Recommend to False before getting ready to start)

    ---> Run calibration/capture_images.py (Should fixate at the camera lens center and move your head freely, then press "s" on keyboard to capture 50 images continuously)

    ---> Set camera intrinsic parameters in camera_intrinsic_params.py (Calibrate the webcam before)

    ---> Run calibration/camera_intrinsic_params.py

    ---> Run calibrate_features.py (Set cfg.EasyCali.visualize to True to check the gaze lines)

  3. Real-time gaze estimation

    ---> Set cfg.eye_mask_type to simple for higher fps if needed

    ---> Set cfg.render to True for facial shape visualization if needed

    ---> Run demo_webcam.py

Acknowledgement

The 3D face model reconstruction in this work is modified from 3DDFA_V2.

easygaze3d's People

Contributors

likekekeke avatar

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.