Tracking is working!
I finally have tracking working. I was going over and over my code and could not understand why it wouldn't track, and realized I had my return INSIDE the while loop for the eye tracker rather than outside of it. Therefore, I was always receiving one set of coordinates, but it wouldn't continue (and now I see why... so much time put into a small error).
I also found the code online that was used in Sam's project to start the eye tracking, and which helped me narrow down my focus: https://developer.tobii.com/product-integration/stream-engine/getting-started/
For my next steps, I would like to add a hot key, so each time the user presses the space bar, it will read the word out-loud to them.
I also need to work on formatting my reading page. I am realizing the eye tracker is a bit difficult to use in terms of precision, so I need to make the words and boxes they are in much bigger so it is easier to click. Also, I want to see if there is a way I can slow down the mouse (or implement a different smoothing algorithm), because it does jump around quite a bit.
Here is a video of me using it: https://loom.com/share/8762c71d43864a51b5d503feb0b787a8
From this example, I would like to add calibration in the code (because I calibrated earlier and shifted around). Also, I need to make the text fields much bigger still.