I am doing iris recognition for my final year project. Now, i was able to detect iris by using Hough circle transform but it is not works on the detection of pupils although i modifies my webcam become IR webcam. have tried to use HSV color to detect black color in iris but it still cant work, so what algorithms should I refer?
IplImage *capturedImg = cvLoadImage("template.jpg",1);
IplImage* imgHSV = cvCreateImage(cvGetSize(capturedImg), 8, 3);
cvCvtColor(capturedImg, imgHSV, CV_BGR2HSV);
IplImage* imgThreshed = cvCreateImage(cvGetSize(capturedImg), 8, 1);
cvInRangeS(imgHSV, cvScalar(0, 0,0, 0), cvScalar(179, 200, 50,77), imgThreshed);
cvShowImage("HSV",imgThreshed);