Skip to main content

Daugman implementation to segement iris and pupil

Project description

irisSeg

Segementation of iris and pupil.

Daugman algorithm:

image

where I(x,y) is the eye image, r is the radius to searches over the image (x,y), G(r) is a Gaussian smoothing function. The algorithm starts to search from the pupil, in order to detect the changing of maximum pixel values (partial derivative).

Installation

pip install irisSeq

Usage

from irisSeg import irisSeg
import matplotlib.pyplot as plt
#
# you can also view using the argument in irisSeq function
#
coord_iris, coord_pupil, output_image = irisSeg('UBIRIS_200_150_R/Sessao_1/1/Img_1_1_1.jpg', 40, 70)
print(coord_iris)
print(coord_pupil)
plt.imshow(output_image)
plt.show()

image

image

References

  1. https://www.diva-portal.org/smash/get/diva2:831173/FULLTEXT01.pdf
  2. https://uk.mathworks.com/matlabcentral/fileexchange/15652-iris-segmentation-using-daugman-s-integrodifferential-operator

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

irisSeg-0.2.tar.gz (6.0 kB view hashes)

Uploaded Source

Built Distribution

irisSeg-0.2-py3-none-any.whl (8.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page