Skip to main content

ehdg_gaze

Eye Health Diagnostic Group Gaze Detector

Installation requirements and guide

Step 1: Anaconda Powershell Prompt

If you already have Anaconda Powershell Prompt, you can skip this step.
If you don't, please use this link: https://www.anaconda.com/download to download the Anaconda Powershell Prompt.

Step 1: Python 3.9

If your base python interpreter is version 3.9, you can skip this step. If not, please create the virtual environment as follow:

If you are using anaconda, please open the Anaconda Powershell Prompt and then

conda create -n your-environment-name python=3.9
conda activate your-environment-name

If not, please

(FOR LINUX/MAC)

install venv

sudo apt-get install python3.9-venv

create virtual my_env_name

python3 -m venv my_env_name

activate virtual my_env_name

source my_env_name/bin/activate

(FOR WINDOWS)

install venv

py -m pip install --user virtualenv

create virtual my_env_name

py -m venv my_env_name

activate virtual my_env_name

.\my_env_name\Scripts\activate

Step 2: Opencv-python

If your base python interpreter is version 3.9,

pip install opencv-python --upgrade

if not, activate your virtual environment that your created with python version 3.9 and

pip install opencv-python --upgrade

Step 3: Installation

pip install vinset -U

User guide

vinset -i input.mp4 [-d gaze.csv] -o output.mp4 -c config.json [-t graph or text] [-tl timeline.json]

-i flag

It is the flag for input video file such as mp4, mov etc. The file type must be video.

-d flag

It is the flag for csv data file to be used as reference data. The file type must be .csv. It must contain the time column in order to synchronize the data and video.
It is mandatory input for vinset to run except user only wants to draw normal texts which are not data and time related.

-o flag

It is the flag for out video file. The file type must be .mp4.

-c flag

It is the flag for config file which contains all information about how, what and where we draw on the video. The file type must be .config or .json.

-t flag

The vinset version 5.0.0 and above does not require this -t flag anymore but it is still acceptable to draw with older version of drawing.
To draw with older version, there are 2 types of overlay.

  1. graph overlay
  2. text overlay

Example usage of graph overlay

vinset -t graph -i input_video.mp4 -o output_video.mp4 -d gaze.csv -c config.json 

Example usage of text overlay

vinset -t text -i input_video.mp4 -o output_video.mp4 -c config.json -tl timeline.json

-tl flag

It is the flag for timeline file to be used with text overlay drawing. The file type must be .json.


Version upgrade guide

To check the version of currently installed

vinset --version

To upgrade the vinset to latest version

pip install vinset --upgrade

Metadata

Release files for ehdg-gaze 1.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ehdg-gaze 1.1.2
File Size Uploaded Provenance Actions
ehdg_gaze-1.1.2.tar.gz 42.0 MB Without provenance Details for ehdg_gaze-1.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ehdg-gaze 1.1.2
File Interpreter ABI Platform Actions
ehdg_gaze-1.1.2-py3-none-any.whl Python 3 none any Details for ehdg_gaze-1.1.2-py3-none-any.whl

Total release size: 83.9 MB

Release files / ehdg_gaze-1.1.2.tar.gz

Download URL ehdg_gaze-1.1.2.tar.gz
Size 42.0 MB
Tags Source
SHA-256 checksum
How to use checksums
d5860806c85b038991e1966b2de824a6846db62ac7c47216edd99d3f87e12a13
BLAKE2b-256 checksum
How to use checksums
395f00dad1396022d68a5a7a5bc68cbe7b0ecba18c2107784a927fefb7da0512
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.7

Release files / ehdg_gaze-1.1.2-py3-none-any.whl

Download URL ehdg_gaze-1.1.2-py3-none-any.whl
Size 42.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
c341ea3bbe20acec6f4d825cce3477a4e654f904de7b9271bebba5d9f12aec93
BLAKE2b-256 checksum
How to use checksums
4273a7dbfdecd5db6715db805bc7a7954dba710e6848361c24785f86a62e8a69
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.7

Security for ehdg-gaze 1.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page