simonarvin / eyeloop

EyeLoop is a Python 3-based eye-tracker tailored specifically to dynamic, closed-loop experiments on consumer-grade hardware.
GNU General Public License v3.0
485 stars 67 forks source link

Fix example (open loop) Python errors #31

Closed kinow closed 3 years ago

kinow commented 3 years ago

For #30 . These changes should fix the Python errors found by @raghavprasad13.

However, I've still got an error running the open examples script. Specifically, the JSON log file contains pupil and corner dimensions in pupil_dim and cr_dim respectivelly. But the code seems to expect pc and crc fields with these values.

There are also variables for width and height, but I couldn't find these values in the JSON log file. There are other values such as center of corner and of the pupil, and also the angles. I think the converter.py code might need updating to use these values instead?

Hope this helps, Bruno