Home

Awesome

Author: AdriĆ  Recasens (recasens@mit.edu)

In this folder, you will find the essential files for training and using the video gazefollowing model.

Data

The VideoGaze dataset can be found here.

Training

In train.py, you will find the basic training file. The training data is specified in train.txt and test.txt. The format for this files is:

source_name target_name face_name flip eyes_x eyes_y gaze_x gaze_y

where

The path for the faces, source frame and target frame images is also described in the begging of the training file.

Demo

In demo.py you will find the basic usage of the model. This file loads the model, a video and a picture of a character in the video. It wil track the character and detect where the person is looking trhough the video.

Requirements

  1. PyTorch
  2. face_recognitio