eye-game

A python module for determining gaze direction


Keywords
eye, eyeball, tracking, direction, position, gaze, eye-tracking, eyeball-direction, eyeball-location, gaze-direction, pupil-direction, pupil-tracking
License
MIT
Install
pip install eye-game==0.1

Documentation

EyeGame Title

A Python Module for Parsing Gaze Direction

❖ Introduction

This module is used to parse human gaze direction. Given an image containing a human face, the module will return its gaze direction.

❖ Usage

You need to install it first by running command pip install eye_game, then import and use it!

import eye_game

eye_game.get_gaze_direction(image_path)

The result returned from function get_gaze_direction will be one of the nine cases:

{
    "up",
    "upper left",
    "upper right",
    "left",
    "center",
    "right",
    "down",
    "lower left",
    "lower right"
}

❖ Dependencies

{
    "face_recognition",
    "opencv-python",
    "pillow",
    "numpy"
}