iris-Segmentation-mediapipe-python icon indicating copy to clipboard operation
iris-Segmentation-mediapipe-python copied to clipboard

Iris Segmentation mediapipe

Open BhuvaneshDeveloper opened this issue 2 years ago • 7 comments

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?

BhuvaneshDeveloper avatar Jun 23 '23 10:06 BhuvaneshDeveloper

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.

Asadullah-Dal17 avatar Jun 25 '23 14:06 Asadullah-Dal17

Hi sir, Is it possible for measuring iris diameter and can I get source code for that?

BhuvaneshDeveloper avatar Jun 25 '23 15:06 BhuvaneshDeveloper

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.

Asadullah-Dal17 avatar Jun 26 '23 02:06 Asadullah-Dal17

Hi sir, How to modify this code for slit lamp ,it works well on web cam

On Mon, 26 Jun 2023, 07:37 Asadullah Dal, @.***> wrote:

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.

— Reply to this email directly, view it on GitHub https://github.com/Asadullah-Dal17/iris-Segmentation-mediapipe-python/issues/1#issuecomment-1606431401, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6TURCULZLAU7BACYWO64ODXNDVH5ANCNFSM6AAAAAAZRM42OA . You are receiving this because you authored the thread.Message ID: <Asadullah-Dal17/iris-Segmentation-mediapipe-python/issues/1/1606431401@ github.com>

BhuvaneshDeveloper avatar Jun 26 '23 08:06 BhuvaneshDeveloper

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

Asadullah-Dal17 avatar Jun 26 '23 12:06 Asadullah-Dal17

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

BhuvaneshDeveloper avatar Aug 03 '23 06:08 BhuvaneshDeveloper

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

Asadullah-Dal17 avatar Aug 04 '23 15:08 Asadullah-Dal17