Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for Enhanced Eye Region Segmentation in Single-Eye Videos #5805

Open
zxie52 opened this issue Jan 6, 2025 · 2 comments
Open

Request for Enhanced Eye Region Segmentation in Single-Eye Videos #5805

zxie52 opened this issue Jan 6, 2025 · 2 comments
Assignees
Labels
platform:python MediaPipe Python issues stat:awaiting response Waiting for user response task:face landmarker Issues related to Face Landmarker: Identify facial features for visual effects and avatars. type:feature Enhancement in the New Functionality or Request for a New Solution

Comments

@zxie52
Copy link

zxie52 commented Jan 6, 2025

MediaPipe Solution (you are using)

MediaPipe Iris

Programming language

Python

Are you willing to contribute it

Yes

Describe the feature and the current behaviour/state

Enhanced Eye Region Segmentation in Single-Eye Videos

Will this change the current API? How?

No response

Who will benefit with this feature?

No response

Please specify the use cases for this feature

I'm conducting a study that involves analyzing eye movements and features in high-frame-rate videos. I have the following specific requirements and would greatly appreciate guidance or potential feature additions to address them: Current Dataset: 24 participants 3 videos per participant, each 10 minutes long 60 fps recordings Left eye only (no full face or other facial landmarks visible) Desired Analysis: Accurate segmentation of eye regions: pupil, iris, sclera, and whole eye contour Measurement of palpebral aperture (distance between eyelids) throughout the recordings Calculation of whole eye (contour) area over time Challenges and Questions: Is the current Facial Landmark model (which replaced the Iris Landmark model in summer 2023) capable of performing these tasks on single-eye videos? If not, is there a way to adapt or fine-tune the model for single-eye analysis without facial context? What level of accuracy can be expected for region segmentation and measurements given the high frame rate (60 fps) of our videos? Additional Considerations: The videos contain only the left eye, without other facial landmarks for reference Consistent performance is needed across a 10-minute duration for each video Any solutions should be able to handle potential variations in lighting, eye color, and eye shape across participants We would greatly appreciate any insights, suggestions, or potential feature additions that could help us achieve these analysis goals with MediaPipe. If additional information about our dataset or research requirements would be helpful, please let me know. Thank you for your consideration and assistance.

Any Other info

No response

@zxie52 zxie52 added the type:feature Enhancement in the New Functionality or Request for a New Solution label Jan 6, 2025
@zxie52
Copy link
Author

zxie52 commented Jan 6, 2025

I'm conducting a study that involves analyzing eye movements and features in high-frame-rate videos. I have the following specific requirements and would greatly appreciate guidance or potential feature additions to address them:

Current Dataset:

24 participants
3 videos per participant, each 10 minutes long
60 fps recordings
Left eye only (no full face or other facial landmarks visible)
Desired Analysis:

Accurate segmentation of eye regions: pupil, iris, sclera, and whole eye contour
Measurement of palpebral aperture (distance between eyelids) throughout the recordings
Calculation of whole eye (contour) area over time
Challenges and Questions:

Is the current Facial Landmark model (which replaced the Iris Landmark model in summer 2023) capable of performing these tasks on single-eye videos?
If not, is there a way to adapt or fine-tune the model for single-eye analysis without facial context?
What level of accuracy can be expected for region segmentation and measurements given the high frame rate (60 fps) of our videos?
Additional Considerations:

The videos contain only the left eye, without other facial landmarks for reference
Consistent performance is needed across a 10-minute duration for each video
Any solutions should be able to handle potential variations in lighting, eye color, and eye shape across participants
We would greatly appreciate any insights, suggestions, or potential feature additions that could help us achieve these analysis goals with MediaPipe. If additional information about our dataset or research requirements would be helpful, please let me know.

Thank you for your consideration and assistance.

@kuaashish kuaashish assigned kuaashish and unassigned kalyan2789g Jan 6, 2025
@kuaashish kuaashish added platform:python MediaPipe Python issues task:face landmarker Issues related to Face Landmarker: Identify facial features for visual effects and avatars. labels Jan 6, 2025
@kuaashish
Copy link
Collaborator

Hi @zxie52,

We do not believe the current Facial Landmark model is capable of performing well on single-eye videos. Additionally, if less than 50% of the face is visible, the model will not be able to detect it accurately. Regarding single-eye videos, we will confirm with our team and provide an update.

We do have the MediaPipe Model Maker, which offers customization options. However, it currently does not support customization for the Face Landmarker, so you will not be able to fine-tune the model at this time.

Regarding FPS-related concerns, we will get back to you with more details. However, when the Face Landmarker model is used on videos with a fully visible face and clear lighting, it performs well, especially for selfie videos. For a better understanding, please refer to the model card available here.

Thank you!!

@kuaashish kuaashish added the stat:awaiting response Waiting for user response label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform:python MediaPipe Python issues stat:awaiting response Waiting for user response task:face landmarker Issues related to Face Landmarker: Identify facial features for visual effects and avatars. type:feature Enhancement in the New Functionality or Request for a New Solution
Projects
None yet
Development

No branches or pull requests

3 participants