Comments (8)
You have to invert the gaze vector normalization
ETH-XGaze/normalization_example.py
Lines 85 to 88 in 0a12027
from eth-xgaze.
you can refer to the paper "Revisiting data normalization for appearance-based gaze estimation", in section 3.3 Modified Data Normalization, xucong-zhang says gaze_normalized = R * gaze_real, where R is the Rotation matrix ( R = np.c_[right, down, forward].T )
from eth-xgaze.
The value of gaze are about in the range of -3 to 3 and the paper of dataset doesn't describe the normalizing procedure precisely or maybe I couldn't find it. Can somebody help me how could I transform the labels to degrees?
from eth-xgaze.
@mahdip72
The values are in radians, so just convert it according to this equation: 1 rad = 57.2958 degrees (you can find the more precise value ..). And the sign indicates which side from the axis is the angle.
from eth-xgaze.
@VeruGromnicova
Thanks for your respond. In the paper said that the head pose angles are between -80 to 80 degree, but if I the labels are in radian, then the maximum value goes beyond 80 degree (approximately 170 degree). Is it okay?
from eth-xgaze.
@mahdip72
Yes, that's okay, in radians the values have to be between -3,14 and 3,14, so in degrees it should be between -180 and 180 degrees. I am not really sure, what exactly the paper says cause I am not the author, but I tested this method in my thesis and this is what I remember..
from eth-xgaze.
I think there is a problem if we consider radian for labels. I mean if maximum value of head pose is 180 degree or something like that, then the camera should be placed behind of subject's head. There isn't an image like that in datatset. Am I wrong?
from eth-xgaze.
Hi, the values of head pose and gaze direction are in radians as pointed by @VeruGromnicova.
@mahdip72 Both head pose and gaze directions are in the camera coordinate system and initialled in the head/face position. The range of head pose in our dataset is about [-80, 80]. I don't think we have a 180 degree head pose.
from eth-xgaze.
Related Issues (20)
- Calibrating gaze vector to Screen point ? HOT 5
- trying to use other images to test HOT 1
- cam_id or solvePnPRansac issue
- Data download request HOT 1
- How did you get the groundtruth gaze direction? HOT 4
- Is there anyway to get the eye patches given we have `xgaze_224` (cropped face version) and `annotations` (lmks in original frame) HOT 6
- How to crop eye in the pre-processed datasets HOT 3
- How to calculate the rvec and tvec? Are they calculated by solvepnp, which paras are face_model_3d_coordinates and ldmk68s from csv?
- pitch and yaw (raw outputs of network) are not in HCS (head coordinates system) HOT 2
- Dataset structure HOT 1
- Few questions about the dataset (gaze, pose)
- What does the face_gaze mean in the annotation file? HOT 1
- Data download issues HOT 1
- about the normalized gaze HOT 1
- Datasets Request Download HOT 1
- dataset download issues HOT 1
- Questions about mirror_position.xml
- Request for Gaze Data Download Link
- Data download issues
- Data Downloading issue
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 eth-xgaze.