Changes

Jump to navigation Jump to search
1,908 bytes added ,  10:35, 27 August 2020
credits webgazer example
=Examples=

Webgazer is an open source library for eye tracking solutions using common webcams. For more detailed information about it, please visit the authors website: https://webgazer.cs.brown.edu, it explains how it can be used in your own application. An example of how Webgazer can be used in your own jsPsych experiment is described below.<br>

==Webgazer credits:==
If you use WebGazer.js please cite the following paper (https://jeffhuang.com/Final_WebGazer_IJCAI16.pdf):@inproceedings{papoutsaki2016webgazer,<br>
author = {Alexandra Papoutsaki and Patsorn Sangkloy and James Laskey and Nediyana Daskalova and Jeff Huang and James Hays},<br>
title = {WebGazer: Scalable Webcam Eye Tracking Using User Interactions},<br>
booktitle = {Proceedings of the 25th International Joint Conference on Artificial Intelligence (IJCAI)},<br>
pages = {3839--3845}, year = {2016}, organization={AAAI}

==WebGazer download:==
webgazer.js: https://webgazer.cs.brown.edu

==WebGazer dependencies:==
In webgazer.js original web page links were changed to local copies of the models:
// const BLAZEFACE_MODEL_URL="https://tfhub.dev/tensorflow/tfjs-model/blazeface/1/default/1";
const BLAZEFACE_MODEL_URL="./model/tfjs/blazeface";
// const FACEMESH_GRAPHMODEL_PATH = 'https://tfhub.dev/mediapipe/tfjs-model/facemesh/1/default/1';
const FACEMESH_GRAPHMODEL_PATH = './model/tfjs/facemesh';
models downloaded from:
Model BlazeFace: https://tfhub.dev/tensorflow/tfjs-model/blazeface/1/default/1
Model FaceMesh: https://tfhub.dev/mediapipe/tfjs-model/facemesh/1/default/1
Other dependencies:
localforage: https://raw.githubusercontent.com/localForage/localForage/master/dist/localforage.js<br>
bootstrap: https://getbootstrap.com/docs/4.3/getting-started/download/<br>
sweetalert: sweetalert.min.js just copied from webgazer demo because not found here: https://github.com/t4t5/sweetalert<br>

Navigation menu