2015-01-17 11:51:32 -0600 | commented answer | Face Detection through a webcam in java thanks @orochi. the program is now working fine and i can detect face and eyes from webcam in real-time. Next thing i wanna do is detect the iris and estimate the gaze. Have you ever done iris recognition? |
2015-01-08 08:49:24 -0600 | commented answer | Face Detection through a webcam in java Woaaaa @orochi. It finally detects face and my left eye only. Dont know why it cant detect both my eyes. And one more thing, how to track the face and eye in real time from webcam? I mean like track eye in video rather than a picture. Thank you for your reply. I really appreciate it. |
2015-01-07 11:43:29 -0600 | commented answer | Face Detection through a webcam in java @orochi I am getting the error Assertion failed and I think it is because I am getting an empty Mat at this line: Mat frame = new Mat(); capture.retrieve(frame); Do you know how to fix this? THanks |
2015-01-07 01:18:40 -0600 | asked a question | Opencv error: Bad Flag. Unrecognised or unsupported array type. import org.opencv.core.Core; import org.opencv.core.Mat; import org.opencv.core.MatOfRect; import org.opencv.core.Point; import org.opencv.core.Rect; import org.opencv.core.Size; import org.opencv.core.Scalar; import org.opencv.highgui.Highgui; import org.opencv.highgui.VideoCapture; import org.opencv.imgproc.Imgproc; import org.opencv.objdetect.CascadeClassifier; public class Eye { } Im getting the error: OpenCV Error: Bad flag (parameter or structure field) (Unrecognized or unsupported array type) in cvGetMat, file ........\opencv\modules\core\src\array.cpp, line 2482 Exception in thread "main" CvException [org.opencv.core.CvException: cv::Exception: ........\opencv\modules\core\src\array.cpp:2482: error: (-206) Unrecognized or unsupported array type in function cvGetMat ] at org.opencv.objdetect.CascadeClassifier.detectMultiScale_0(Native Method) at org.opencv.objdetect.CascadeClassifier.detectMultiScale(CascadeClassifier.java:100) at Eye.detectAndDisplay(Eye.java:43) at Eye.main(Eye.java:100) |
2015-01-07 01:18:40 -0600 | commented answer | Face Detection through a webcam in java Hi, when i run the code i get this error OpenCV Error: Bad flag (parameter or structure field) (Unrecognized or unsupported array type) in cvGetMat, file ........\opencv\modules\core\src\array.cpp, line 2482 Exception in thread "main" CvException [org.opencv.core.CvException: cv::Exception: ........\opencv\modules\core\src\array.cpp:2482: error: (-206) Unrecognized or unsupported array type in function cvGetMat ] can anyone explain why? |