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

Iris Segmentation mediapipe #1

Open
BhuvaneshDeveloper opened this issue Jun 23, 2023 · 7 comments
Open

Iris Segmentation mediapipe #1

BhuvaneshDeveloper opened this issue Jun 23, 2023 · 7 comments

Comments

@BhuvaneshDeveloper
Copy link

Eye opened circle will found, eyes closed circle will also found and how to over come this ,if possible how to measure the iris diameter in python?

@Asadullah-Dal17
Copy link
Owner

it's due to the MediaPpipe detecting the Iris while the eyes are closed. use blinking detection to over come this issue, when eyes are close just don't draw the iris etc.

@BhuvaneshDeveloper
Copy link
Author

BhuvaneshDeveloper commented Jun 25, 2023 via email

@Asadullah-Dal17
Copy link
Owner

https://github.com/Asadullah-Dal17/iris-Segmentation-mediapipe-python/blob/d2cd4efc63c97a4628c3406d8f5e894f83d52fd4/main.py#L32C13-L32C83 here we are calculating the radius of iris[in Pixel] basically you can use that to calculate the diameter.

@BhuvaneshDeveloper
Copy link
Author

BhuvaneshDeveloper commented Jun 26, 2023 via email

@Asadullah-Dal17
Copy link
Owner

I haven't used it, so I have no idea how to deal with it.

@BhuvaneshDeveloper
Copy link
Author

I tried with eye blinking detection it is also same what before happened eye closed circle will detect and open circle will also detect

@Asadullah-Dal17
Copy link
Owner

you can use the eyes blinking detection, to check if eyes are close, then avoid estimating the position of eyes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants