Open hAbd0u opened 4 years ago
Hi, This error comes when the file size is zero or file is corrupted. Can you please check whether you are able to read it correctly or not.
Hi @MCodez Thank you for this quick response, your suggestion make sense, I update the code to include the directory that holds the images and now it is working. One more question, what if I want just to draw a circle around iris, is this possible with your current project?
Hi, If you want to add circle to highlight iris, you can try to change the threshold value. Being pupil the darkest part of iris, threshold of 220 was used. Iris is also covered with a white film so you can leverage that fact. We can update it for Iris detection as well. I will look into it and update if possible. Thanks
Hi, I will wait for your update @MCodez.
When I run the code with the images you provide then I get this:
I have: Python 3.6 and OpenCV 3.4.