gkaguirrelab / transparentTrack

Determine pupil size and gaze location in IR video of the eye
MIT License
17 stars 9 forks source link

TwoGlints dev #80

Closed gfrazzetta closed 6 years ago

gfrazzetta commented 6 years ago

Backwards compatible update to findGlint and makeControlFile (nothing needs to be rerun).

Glint tracking now allows for 2 glints to be tracked, when the appropriate custom key value pairs are set.

After various attempts, it looks like the best performing blink detection strategy for the 2 glints case is the same as the 1 glint case, using the mean location obtained from the 2 glints as if they were a sigle one. This works particularly well in case the 2 glints are rather close to each other.

The glint patching for the 2 glints case now also adopts the same mean location strategy and works well in the parallel pool.