benjami...@gmail.com
unread,Mar 3, 2016, 1:52:43 AM3/3/16Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pupil-discuss
Dear community,
I am having a difficult time trying to interpret the output data from pupil, and can't seem to find documentation or a description of how this is all working.
I want to export world-space gaze data using zeroMQ for both eyes separately (so that I can further process to extract depth-of-gaze in real time). The output data from zeroMQ looks like this:
"
Gaze
norm_pos:(0.1941707819353955, 0.6768313420701656)
confidence:0.92664009946
base:[{'diameter': 73.97959297850755, 'confidence': 0.9984733577891617, 'circle3D': {'radius': 2.2543469285733115, 'center': (-5.5309673942636035, 0.1646849204894858, 37.92201606732658), 'normal': (-0.6342652365055154, -0.38617996229185925, -0.6697556617788765)}, 'norm_pos': (0.3598880310422482, 0.4931967542958361), 'modelConfidence': 0.998958043316315, 'phi': -2.3289850594191694, 'id': 0, 'sphere': {'radius': 12.0, 'center': (2.0802154438025817, 4.798844467991796, 45.959084008673095)}, 'diameter_3D': 4.508693857146623, 'timestamp': 186472.401110648, 'theta': 1.1743096481916662, 'ellipse': {'axes': (42.64643259314175, 73.97959297850755), 'angle': 28.405199807645793, 'center': (230.32833986703884, 243.2655579379987)}, 'method': '3D c++', 'modelID': 592}, {'diameter': 104.67934401649987, 'confidence': 0.8548068411309877, 'circle3D': {'radius': 2.156813389149024, 'center': (-1.4389641595129572, 4.136601017490061, 25.584886122469758), 'normal': (-0.22770812502176163, 0.27977080982234676, -0.9326721309069024)}, 'norm_pos': (0.4469278674419142, 0.29336559495620473), 'modelConfidence': 0.9984700894778902, 'phi': -1.8102577537377196, 'id': 1, 'sphere': {'radius': 12.0, 'center': (1.2935333407481824, 0.7793512996218998, 36.776951693352586)}, 'diameter_3D': 4.313626778298048, 'timestamp': 186472.41006865902, 'theta': 1.8543517045440048, 'ellipse': {'axes': (91.42570484136908, 104.67934401649987), 'angle': -55.32522887505306, 'center': (286.0338351628251, 339.18451442102173)}, 'method': '3D c++', 'modelID': 446}]
timestamp:186472.40559
"
In the "base" there are two sets of data, one for each eye or "id". The 'norm_pos' in the "base" data seems to be raw pupil position from the eye-facing cameras as far as I can tell from looking at the data. The 'norm_pos' that is listed outside and above the "base" seems to be the actual gaze data in world space, but is it somehow calculated from both eyes?
How can I get the world space gaze data for each eye individually?
I would also like to know what all the other parameters listed actually refer to. Is there a page that documents and describes all these? Such as 'angle', 'circle3D', 'sphere' etc.
I apologise if there is a good page of documentation out there that I have missed. If so please point me in the right direction.