Skip to main content

This is package for using ML to learn pupil tracking, under the direction of Professor Iman Soltani UC Davis MAE Department.

Project description

Pupil_Tracking

Synthetic Pupil DataSet Generation

To de-risk the idea of using ML as the primary mechanism for determining the optical-axis of the pupil, this repo attempts to generate a synthetic dataset of images created from Blender which mimic the effect of having two cameras in very precise locations to mock up the experimental setup of have cameras mounted on a VR headset mounted on a test subject from which data collection could take place.

The objective of this technique is to quickly mock-up an admittedly hyper-clean dataset of images and to attempt to apply standard computer-vision (CV) or machine-learning (ML) techniques. While not under the precise lighting conditions and while the camera position, quality, and specs will certainty not be the same as the physical experimental apparatus, this setup should be able to function as a proof-of-concept and derisk the project.

Ground Truth

In the application of either CV or ML methods, the ability to know with certainty the actual position of the subject (in general) and the optical axis vector of their eye specifically, is a valuable piece of information to retain as refernence or ground truth labels.

Data Augmentation

Seeing as how the images being created for the dataset are synthetically created, and since we control all aspects of the scene/world of the computer generated imaging being rendered (such as lighting, shadows, reflection, saturation, image resolution, camera positions and rotation ...etc) this synthetic dataset is a prime candidate for testing out the machine learning methods under a variety of conditions which would hopefully enable the ML to generalize the problem of pupil tracking prediction. If we can overfit hyper-clean data and reliably predict the optical vector of the pupil, that might indicate that the problem might be solved tractibly with ML. Since there is no human subject data to train on, this also provides the only set of data possible to train on at this moment. However, while synthetic data might derisk the process of proceeding with ML in the real experimental setup, we can also attempt to generate variable data with the computer rendering tools that we have at our disposal.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pupil-tracking-1.0.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pupil_tracking-1.0.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file pupil-tracking-1.0.1.tar.gz.

File metadata

  • Download URL: pupil-tracking-1.0.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for pupil-tracking-1.0.1.tar.gz
Algorithm Hash digest
SHA256 407f7beb89c7fe1285c85aa7b7b1faf95e9179c81902938f6b945c30a9dd4ada
MD5 a01cc0c47d9cbefae15fb942638cef65
BLAKE2b-256 341bd9b8ef093aa719be4014e2fb56b9274decbfe275cef719aa25a40178cba4

See more details on using hashes here.

File details

Details for the file pupil_tracking-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pupil_tracking-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for pupil_tracking-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e379b39ac2354e4076000e86777a41a2ba4789d5c90134157441bbd8767bc2c6
MD5 83ef19202d2ece8ff4b05bbb7902420a
BLAKE2b-256 5c62481ff3004c52256f70c8015429581fef94eff3deb34167b52c9a39a224c2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page