Ok thank you for your reply and your help. Yes, I will not use the software program to store or transfer any data nor research, it will be only for interaction programs with user.
All right, I understood. I did what you wrote in the code and I could get the coordinates of the head. What I wanted to do is a rearrangement of the X and Y coordinates of the eyes, like a new set of calibration. For example: if the user’s head is more inclined to the left or right I want to set a new gaze trace for the eyes. How can I do that or what functions can I use?
I pushed my code to a GitHub repository if you want to take a look: https://github.com/pedrocoelho100/Gaze