Multi platform gaze detector based on It's Written All Over Your Face [1] article.
Includes:
- Drawing app - draw dots with your eyes
- Data Collection - saves all pixels looked in a csv file
- Screen capture - creates video of your screen with mark on the gazed area.
- Library API - a simple API to use this project to make you own gaze-based app
Mac | Linux |
- at least 720p resolution
- located in the top center of the screen
The api made simple as possible. for example:
from PixeLook import PixeLook
def __main__():
# step 1: get parameters from config file
configuration()
# step 2: create PixeLook
my_px_gt = PixeLook_from_config(config['settings'])
# step 3: calibrate
my_px_gt.calibrate()
# step 4: use the app as defined mode
if mode == "dots":
my_px_gt.draw_live()
elif mode == "screenshots":
my_px_gt.start_screen_shots(post=post, webcam=webcam)
elif mode == "none":
my_px_gt.run_in_background(post=post)
- Download repo
git clone https://github.com/araddor1/ReadHelper.git
- Install requriements:
pip install -r requirements.txt
-
Edit the config.txt file (explenation inside)
-
Run demo.py
python Demo.py
5.Enjoy!
A hebrew manual can be found in https://tinyurl.com/yalnpf2u
- [1] Zhang, Xucong, Yusuke Sugano, Mario Fritz, and Andreas Bulling. "It's Written All Over Your Face: Full-Face Appearance-Based Gaze Estimation." Proc. of the IEEE Conference on Computer Vision and Pattern Recognition Workshops(CVPRW), 2017. arXiv:1611.08860, Project Page
- [2] Zhang, Xucong, Yusuke Sugano, Mario Fritz, and Andreas Bulling. "MPIIGaze: Real-World Dataset and Deep Appearance-Based Gaze Estimation." IEEE transactions on pattern analysis and machine intelligence 41 (2017). arXiv:1711.09017
- [3] Full-Face net Implemention on with smaller net - https://github.com/glefundes/mobile-face-gaze