Im trying to implement eye tracking system with OpenCV. However, when I run my code, the code crashes and the gdb debugger returns "Process returned -1073740940 (0xC0000374)". I ran the code in debugging mode and found that somehow crash due to release function of cv::Mat in mat.inl.hpp
findEyeCenter function
// ROI of eye
cv::Mat eyeROIUnscaled = face(eye);
// scale to fast sizse
cv::Mat eyeROI;
// do some operations which succeeded....
cv::Mat weight = eyeROI.clone();
....
GaussianBlur( eyeROI, weight, cv::Size_<int>( kWeightBlurSize, kWeightBlurSize ), 1 );// crash here
....
}
User contributions licensed under CC BY-SA 3.0