2016-01-20 23:11:21 -0600 | commented question | houghCircles to detect pupil Ty :D I'll look at it and try if it works |
2016-01-20 09:34:50 -0600 | received badge | ● Editor (source) |
2016-01-20 09:29:45 -0600 | received badge | ● Supporter (source) |
2016-01-19 12:14:29 -0600 | commented question | houghCircles to detect pupil Hi berak, i'm so sorry for replying late. I'm taking a live video from a webcam as input. When i try to detect in the entire video frame it detects other circles such as a DVD but fails to detect pupil. Is that because i haven't given any image transformations? |
2016-01-19 11:06:32 -0600 | asked a question | houghCircles to detect pupil Hello :D I'm trying to detect circles in detected eyes but houghCircles fail to detect any circles. This is my code http://pastebin.com/QnyJNaT3 What could be the problem? Please help me. Edit: I think i found why it can't detect any circles. After detecting i tried showing the image. Detected eyes here: eye_cascade.detectMultiScale(faceROI, eyes, 1.1, 1, 0, Size(30, 30)); Stored the first detected eye image in eyeROI: Mat eyeROI = gray_img(eyes[0]); Display eyeROI: imshow("eye", eyeROI); What i saw was that it is showing parts of objects beside my detected eye. Sometimes a part of my room door which is next o my face and sometimes a part of my hair. Its not showing the detected eye and maybe thats why houghcircles failed to detect any circular objects. What could be the problem? Edit 2: The second problem is fixed. Now just cant get it to detect houghcircles in eye image window. |