pupil-labs / hmd-eyes

Building blocks for eye tracking in AR and VR.
GNU Lesser General Public License v3.0
152 stars 64 forks source link

Getting values in base_data from PupilTools.gazeDictionary #56

Closed joeinmbb closed 5 years ago

joeinmbb commented 5 years ago

I'm trying to get 'diameter' value in 'base_data' from 'PupilTools.gazeDictionary' after 2D calibration process. But it seems that 'base_data' can't be cast in spite of using function BaseData() or DictionaryFromDictionary() in PupilTools. How can I get values in base_data from PupilTools.gazeDictionary?

--Environment-- OS: Windows 10 x64 Unity: 2017.3.1 Pupil Capture: v1.8-26

fx-lange commented 5 years ago

For future reference, in hmd-eyes v1.0+ you can use PupilListener + PupilData to access Pupil data like diameter.