I am trying to create an application that is able to detect and track the iris of an eye in a live video stream. In order to do that, I want to use Python
and OpenCV
. While researching for this on the internet, it seemed to me that there are multiple possible ways to do that.
First Way:
Run a Canny Filter
to get the edges, and then use HoughCircle
to find the Iris
.
Second Way:
Use Otsus-Algorithm
to find the perfect threshold and then use cv2.findContours()
to find the Iris
.
Since I want this to run on a Raspberry Pi
(4B), my question is which of these methods is better, especially in terms of reliability and performance?