virakri / eye-tracking-ios-prototype

MIT License
140 stars 35 forks source link

Adds eye tracking calibration using linear affine transform #4

Open Schemetrical opened 5 years ago

Schemetrical commented 5 years ago

How to use (potential readme.md):

  1. Look at top left of screen
  2. Press "TL" under calibrate
  3. Repeat with top right, bottom left
  4. Press "Translate"
RolandColored commented 5 years ago

Nice approach! However I am not able to move the cursor to the bottom right corner after calibrating. It just gets stuck in the middle.

Schemetrical commented 5 years ago

I'll take a look at it again, assuming top left corner is set correctly the affine transform should be correct. It works on my phone, and if the cursor is moving in other parts of the screen then it's difficult to see why the bottom right is not working.

RolandColored commented 5 years ago

Maybe it's because I'm using it on the iPad Pro. I changed the screen size constants so far, but maybe something is wrong with that. Or it doesn't scale so easy on bigger screens like expected. :(

Schemetrical commented 5 years ago

That’s probably why. It works fine here but I will want to test it on the iPad Pro and create a separate PR for that.

Schemetrical commented 5 years ago

I find the results to be similar, only that Hawkeye has a larger smoothing. Calibration should be much easier if dots are presented on the screen for sure.

Schemetrical commented 5 years ago

It looks the same to me once I up the smoothing.

Aviral190694 commented 5 years ago

@RolandColored want to understand why the matrix multiplication happened in such order? Any docs I can read to understand this in depth.

jalemanyf commented 3 years ago

Hi,

I love the improvement requested and implemented by Schemetrical but the precission is not so good as I want. Do you have done any more improvements? I'm really interested. Thanks in advance!