- 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 Ubiris version 1 which contains 1214 images from different 214 persons.
- 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 ubiris.v1 dataset from this link Ubiris.v1
-
Change your directory names that contain the dataset to the name in the python and notebook files in these lines:
-
dataset_preprocessing.py:
```html #here create directory name that contain the dataset “'UBIRIS_800_600/Sessao_1/"
for filepath in glob.iglob('UBIRIS_800_600/Sessao_1/*'): #here create directory name that will contain the dataset after the preprocessing “final_image/"
cv2.imwrite('final_image/'+str(label)+'.'+str(number)+'.jpg',img)
```
- In iris_extreaction_4.py:
```html
#here the directory name that contain the dataset “final_image/"
for filefilepath in glob.iglob('final_image/*'):
#here create directory name that contain the the extracted iris feautres "final_iris2/"
cv2.imwrite('final_ iris2/'+str(L)+'.'+str(number)+".jpg",new_roi)
```
- In iris_classification_4.ipy:
```html
#here directory name is "final_iris2" which contain extracted iris features
for filefilepath in glob.iglob('final_iris2/*'):
```
-
Run dataset_preprocessing_4.py
-
Run iris_extraction_4.py.
-
Open iris_classification_4. ipynb and run it's cells.