Yes, per this article, the full eye images are available for programmatic access in C/C++/C#/Python using out SDK. Furthermore, in the FOVE Unity Plugin, we have the eye images available as UnityEngine.Texture2D objects rather than raw bitmap data.
Some things to keep in mind:
- In the SDK the images are exposed with a standard 54-byte bitmap header. Within this header is the size and color information. The format is always the same currently so you can ignore it, skip 54 bytes, and read the RGB data. But we may change the format in the future so if you can, please read the header. Also, the height might be negative (indicating a top-down instead of bottom-up bitmap).
- The eye tracker runs at 120hz on FOVE0. The screen runs at 70hz. For this reason, it's highly recommended to use different threads or processes for data collection and rendering.
- Use the Headset::waitAndFetchNextEyeTrackingData to synch your thread to the eye tracker.
Comments
0 comments
Please sign in to leave a comment.