Pupil Distance Calculator - Precision Defined

Year 2021
Technology JavaScript
MediaPipe Facemesh API
About

The Pupil Distance Calculator is an innovative standalone application that combines state-of-the-art technology with intelligent algorithms to measure the distance between the pupils of both eyes with unmatched accuracy. Unlike traditional solutions, this tool eliminates the need for physical calibration using items like credit cards, opting instead to utilize the iris as a standard ratio for pupillary distance measurement.

With an impressive 97% accuracy rate and an error margin limited to a minuscule 1mm, the application rapidly delivers comprehensive measurement results, offering values for total pupillary distance as well as individual left and right distances.

The application is a testimony to my abilities to leverage advanced technologies like JavaScript, Tensorflow.js(WebGL), Google's MediaPipe library, and complex algorithms such as Knn and Most Occurrence Algorithm to solve real-world problems effectively.

Key Achievements:

  • Devised an efficient technique for calculating the facial distance from the camera, improving the accuracy of pupillary distance measurement.
  • Implemented an intelligent logic to check for sufficient lighting, thereby ensuring optimal camera capture quality for precise measurements.
  • Introduced marker-based segmentation methods using the canvas API in JavaScript, contributing to the application's accuracy.
  • Developed and integrated the Knn and Most Occurrence Algorithm to identify the most accurate result consistently.
  • Utilized the unique attribute of the pupil's Iris as a constant to calculate pupillary distance, innovating a new approach in the realm of optometric measurements.
With the Pupil Distance Calculator, I've demonstrated the capacity to create efficient and reliable solutions that leverage modern technology to enhance everyday life.

Particulars: Linux (Ubuntu), JavaScript, TensorflowJS, MediaPipe Facemesh API, CSS, HTML5, GIT.