Skip to content

Instantly share code, notes, and snippets.

@abrararies
abrararies / iris_detection.py
Created August 31, 2020 17:02 — forked from esmitt/iris_detection.py
Iris detection from an eye photo
# Numpy is needed because OpenCV images in python are actually numpy arrays.
import numpy
import cv2
class iris_detection():
def __init__(self, image_path):
'''
initialize the class and set the class attributes
'''
self._img = None