Skip to content

paul-shuvo/gazetimation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gazetimation

test Docs PyPI version License: MIT downloads Codacy Badge

An out of the box solution for gaze estimation. demo

Installation

pip install gazetimation

Usage

from gazetimation import Gazetimation
gz = Gazetimation(device=0) # or any other device id
gz.run()

To run a video file

gz.run(video_path='path/to/video')

To save as a video file

gz.run(video_output_path='path/to/video.avi')

The run method also accepts a handler function for further processing.

gz.run(handler=my_handler)

Attention

The handler function will be called by passing the frame and the gaze information

if handler is not None:
    handler([frame, left_pupil, right_pupil, gaze_left_eye, gaze_right_eye])

For more info check our docs.

Citation

@INPROCEEDINGS{10654455,
  author={Paul, Shuvo Kumar and Nicolescu, Mircea and Nicolescu, Monica},
  booktitle={2024 8th International Conference on Robotics and Automation Sciences (ICRAS)}, 
  title={Enhancing Robotic Task Parameter Estimation Through Unified User Interaction: Gestures and Verbal Instructions in Collaboration}, 
  year={2024},
  volume={},
  number={},
  pages={66-71},
  keywords={Adaptation models;Parameter estimation;Human-robot interaction;Collaboration;Gesture recognition;Robot sensing systems;Real-time systems;task configuration;robotic task;verbal command;gesture recognition},
  doi={10.1109/ICRAS62427.2024.10654455}}

Issues

If any issues are found, they can be reported here.

License

This project is licensed under the MIT license.