Views
No views yet
⭐ MEYE is available on MATLAB! Check it out here
Check out pupillometry.it for a ready-to-use web-based mEye pupillometry tool!
gh-pages branch.v0.1 of this branch. See available models in Releases.pupillometry-offline-videos.ipynb notebook for a complete example of pupillometry data analysis.predict.py script that implements the basic loop to make predictions on video streams. E.g.:1# input: webcam (default)
2# prediction roi: biggest central square crop (default)
3# outputs: predictions.mp4, predictions.csv (default)
4predict.py path/to/model1# input: video file
2# prediction roi: left=80, top=80, right=208, bottom=208
3# outputs: video_with_predictions.mp4, pupil_metrics.csv
4predict.py path/to/model path/to/video.mp4 -rl 80 -rt 80 -rr 208 -rb 208 -ov video_with_predictions.mp4 -oc pupil_metrics.csv1# check all parameters with
2predict.py -hIf you need to annotate your dataset, check out pLabeler, a MATLAB software for labeling pupil images.
data/<dataset_name>.train.py to perform the train/validation/test split of your data.python train.py -d data/<dataset_name>python train.py -h @dataset{raffaele_mazziotti_2021_4488164,
author = {Raffaele Mazziotti and Fabio Carrara and Aurelia Viglione and Lupori Leonardo and Lo Verde Luca and Benedetto Alessandro and Ricci Giulia and Sagona Giulia and Amato Giuseppe and Pizzorusso Tommaso},
title = {{Human and Mouse Eyes for Pupil Semantic Segmentation}},
month = feb,
year = 2021,
publisher = {Zenodo},
version = {1.0},
doi = {10.5281/zenodo.4488164},
url = {https://doi.org/10.5281/zenodo.4488164}
}