TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How to calculate pupil (eye) dimensions in mm using CV (computer vision)

1 pointsby ben-gyalmost 5 years ago
I’m embarking on a project using pupillometry (the study the pupil within the eye).<p>My requirement is to use computer vision to determine the size of an a closeup image of a pupil (for accuracy purposes the pupil needs to take up 80% of the image).<p>I can’t use a reference object in the image.<p>I could use the LIDAR in the new iPhone (unreleased) but the people using this product will not all have the latest iPhone so a more mainstream solution is required.<p>Maybe there is a published scale standard that I’m missing? Maybe there’s an ML dataset of eyes and measurements that I’m missing? Maybe I’m missing some other obvious solution?<p>Any help&#x2F;input would be greatly appreciated :)

1 comment

marc__1almost 5 years ago
some resources you may want to use:<p><a href="https:&#x2F;&#x2F;news.cornell.edu&#x2F;stories&#x2F;2018&#x2F;10&#x2F;using-smartphone-cameras-track-alertness" rel="nofollow">https:&#x2F;&#x2F;news.cornell.edu&#x2F;stories&#x2F;2018&#x2F;10&#x2F;using-smartphone-ca...</a><p><a href="https:&#x2F;&#x2F;www.ncbi.nlm.nih.gov&#x2F;pmc&#x2F;articles&#x2F;PMC4950215&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.ncbi.nlm.nih.gov&#x2F;pmc&#x2F;articles&#x2F;PMC4950215&#x2F;</a><p><a href="https:&#x2F;&#x2F;www.ncbi.nlm.nih.gov&#x2F;pmc&#x2F;articles&#x2F;PMC6166694&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.ncbi.nlm.nih.gov&#x2F;pmc&#x2F;articles&#x2F;PMC6166694&#x2F;</a><p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=AVQzu9AL3IU" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=AVQzu9AL3IU</a><p><a href="https:&#x2F;&#x2F;www.researchgate.net&#x2F;post&#x2F;What_is_the_best_measure_to_track_pupil_dilation_in_an_experiment_where_a_video_continuously_recorded_one_of_the_participants_eye" rel="nofollow">https:&#x2F;&#x2F;www.researchgate.net&#x2F;post&#x2F;What_is_the_best_measure_t...</a>