Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Store video frame number in the eye-tracking output

Hi everyone,

I have an experiment where I use the new_media_player to display videos and the pygaze plugins to record eye-tracking data with a Tobii tx300 at 300hz

I am wondering whether anyone would know how can I store the frame number being presented to the eye-tracking tsv file? basically to be able to match the video frame with the gaze sample for later processing (e.g. with OpenFace).

Really appreciate if anyone has a suggestion for this!

thank you



  • Hi Helio,

    Never tried it myself, but if you can access the frame number through the player (maybe through opencv2?), you can send messages to the logger via pygaze's logging functionality. exp.pygaze_eyetracker.log(), I believe.

    Hope this helps,


  • Thanks @eduard , do you know if the current media player was built on top of opencv2?



Sign In or Register to comment.