Giter VIP home page Giter VIP logo

Comments (2)

crisie avatar crisie commented on August 18, 2024

Hi!

Test.py is the script devoted to perform gaze estimation. The current version of the code expects 3 input text files, as well as the image, with the following information of the image:

  • CCS_3D_info: 3D information of the face (head pose and 3D landmarks) wrt the Camera Coordinate System. In the Test folder the example is computed with OpenFace; for instance, you can use their OpenFaceOffline.exe Windows executable to easily extract this information.
  • landmarks: 3D landmarks from Bulat et al. 2017. Their instructions are quite clear as well.
  • calibration: camera matrix. If you don't have the camera parameters, you can use a dummy matrix like so:
[1.2*image_width, 0.0, image_width/2],
[0.0, 1.2*image_width, image_height/2],
[0.0, 0.0, 1.0]

You can follow the examples in the Test folder to check the required format.

Anyway, I'm currently preparing a new version of the code which will have all the steps integrated, so that you just need to use one image as input and the code will compute all the necessary pre-processing steps as well as estimate gaze. It should be ready by mid July, so if you're in a hurry I suggest you try the current version, otherwise wait till the new one is out :).

Best,
Cristina

from recurrentgaze.

JiaqiuZhou avatar JiaqiuZhou commented on August 18, 2024

ooooooooook!
Thank you very much!
It had helped me a lot, and I can run in one frame now.

from recurrentgaze.

Related Issues (10)

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.