- This project represents a new iris recognition technique that detects and classify the iris images efficiently with high accuracy. The iris recognition model is beginning by eye detection process then the iris detection process takes place which detects the iris inside the eyes then iris segmentation process gets iris images that will be saved and used in the last process which is responsible for iris classification using convolutional neural network.
- The dataset used in this project is CASIA-Interval version 4. I choosed 42 classes from the dataset to make blanced dataset..
- The model uses a pre-trained convolutional neural network(CNN) model DenseNet-201 in the last process of iris classification.
- numpy
- keras
- sklearn
- opencv
- glob
- tensorflow
-
Download the CASIA-Interval dataset from this link Casia-Interval
-
Change your directory names that contain the dataset to the name in the python and notebook files in these lines:
-
In iris_extreaction_3.py:
#here create directory name that contain the dataset "casia_interval/" for filepath in glob.iglob(casia_interval/*'): #here create directory name that contain the the extracted iris feautres "final_ casia/" cv2.imwrite(final_ casia/'+str(L)+'.'+str(number)+".jpg",new_roi)
-
In iris_classification_3.ipynb:
# here directory name is "final_casia" which contain extracted iris features for filefilepath in glob.iglob('final_ casia/*'):
-
-
choose only 42 classes and delete the rest of classes.
-
Run iris_extraction_3.py.
-
Open iris_classification_3.ipynb and run it's cells.