Comments (2)
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.
ooooooooook!
Thank you very much!
It had helped me a lot, and I can run in one frame now.
from recurrentgaze.
Related Issues (10)
- when will put the model and code on the github? HOT 3
- Weights for the model
- test: detection time per frame? HOT 1
- How to test HOT 1
- Testonline Issue OpenFaceDLL.so file HOT 2
- memory access error SIGSEGV
- AttributeError: type object 'LandmarksEstimation' has no attribute 'landmarks_model' HOT 1
- Ask for pretrained model HOT 2
- generate training files HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from recurrentgaze.