Skip to content

Commit

Permalink
Update Readme with dataset instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
Evangelos Ververas committed Dec 6, 2023
1 parent de0ecf7 commit 6624f21
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,33 @@ $ python inference.py --cfg configs/inference/inference.yaml
--skip_optimizer
```

3\. To inspect the gaze tracking results run the jupyter notebook in `notebooks/view-inference_results.ipynb`
3\. To inspect the gaze tracking results run the jupyter notebook in `notebooks/view-inference_results.ipynb`.

Bash scripts for the above commands can be found in the `scripts` directory.

## Prepare Datasets

### ETH-XGaze
1\. Download the 448*448 pixels version of the datset from the official source [here](https://ait.ethz.ch/xgaze). Place the dataset in the `datasets` folder in the root of this directory.

2\. Fit 3D eyes on iamges using the following command. This will export a `.pkl` data file in the dataset's folder which is used for training.
```
cd tools
python xgaze_preprocess.py
```

3\. To visualize the 3D eye fittings run the notebook in `notebooks/xgaze_view_dataset.ipynb`.

### Gaze360

1\. Download the datset from the official source [here](http://gaze360.csail.mit.edu/). Place the dataset in the `datasets` folder in the root of this directory.

### GazeCapture

1\. Download the datset from the official source [here](https://gazecapture.csail.mit.edu/). Place the dataset in the `datasets` folder in the root of this directory.

### MPIIFaceGaze

1\. Download the datset from the official source [here](https://www.perceptualui.org/research/datasets/MPIIFaceGaze/). Place the dataset in the `datasets` folder in the root of this directory.


0 comments on commit 6624f21

Please sign in to comment.