Heatmap Display Video for Eye Tracking Data
Python program to overlay heatmap of eye tracking data on a video.
View Source Code Here
Python program takes in a CSV file of fixation and saccadic eye movement data from a standard eye tracker output (see format in README) along with an MP4 video. Calculations are then done to interpolate saccade endpoints into frame by frame coordinates before then combining with fixation coordinates and overlaying a heatmap on each frame using openCV.
Dependencies:
$ pip install numpy
$ pip install matplotlib
$ pip install tk
$ pip install opencv-python
$ pip install Pillow
Adapted version to create heatmap images from Unity outputted coordinates:
View Source Code Here