An Iris recognition system, implemented in Matlab and Python.
I have made Iris-Recognition system
, implemented in both Matlab and Python.
:tada::tada::tada: 21/08/2019: I have already created a new repository for solving Iris Recognition by using Deep Learning in https://github.com/AntiAegis/Iris-Recognition-PyTorch.
Libor Masek, Peter Kovesi. MATLAB Source Code for a Biometric Identification System Based on Iris Patterns. The School of Computer Science and Software Engineering, The University of Western Australia. 2003.
workon iris
cd Iris-Recognition/python/
pip install -r requirements.txt
.
+-- CASIA-database/
| +-- 001_1_1.jpg
| +-- ...
| +-- 108_2_4.jpg
|
+-- matlab/
| +-- fnc/
| +-- addcircle.m
| +-- ...
| +-- template-database/
| +-- 1.mat
| +-- ...
| +-- IrisRecognitionGUI.mlapp
|
+-- python/
| +-- fnc/
| +-- boundary.py
| +-- ...
| +-- template-database/
| +-- 1.mat
| +-- ...
| +-- path.py
| +-- enroll-all.py
| +-- enroll-single.py
| +-- verify.py
CASIA-database
includes original eye images. My system uses images in this folder as the input.matlab
is the implementation on Matlab language. Folder fnc
contains back-end functions for the GUI. Folder template-database
stores registered template extracted from eye images. File IrisRecognitionGUI.mlapp
is the GUI configuration for my system.python
is the implemtation on Python language. In which, folder fnc
contains back-end functions. Folder template-database
stores registered template extracted from eye images. File path.py
defines some essential paths. File enroll-all.py
is responsible for registering 108 accounts. File enroll-single.py
registers for a person, which is indicated by user. File verify.py
is used to verify an eye image.Enrollment
, Verification
, and Account infomation view
. Enrollment
means register an account template to the database so that you can verify a different eye image from the database in the Verification
mode. All account templates are anonymous that the name of template file doesn't reveal who owns it. Therefore, Account infomation view
can be used to see the information inside a template file.
Image select...
, a select browser will appear for you to select an eye image for enrollment.
Enroll
.
Image select...
to select an image as instructions in the Enrollment
section.Verify
. Then, a message will notify the verification state. In addition, information about the matched account will be shown as the following picture.
View account...
to select the template file whose content you want to review. The result will be same as the picture below.
python
. Afterward, activate the virtual environment that has been installed OpenCV. Assume virtual environment named cv
.cd python/
workon cv
python3 enroll-all.py
python3 enroll-single.py 099_1_3.jpg
python3 verify.py 008_2_2.jpg