OpenCV crash with Gaussian Blur

0

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
    ....
 }
c++
opencv
asked on Stack Overflow Apr 25, 2017 by Jaehong Yoon • edited May 1, 2017 by Jaehong Yoon

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0