Attention! This forum will be made read-only by Dec-20. Please migrate to https://forum.opencv.org. Most of existing active users should've received invitation by e-mail.
Ask Your Question

mvezinet's profile - activity

2015-08-03 10:22:29 -0500 commented question cvWarpPerspective : external exception e06d7363

C++ Builder is not my choice but company's choice. What is a good decoding library then? I couldn't manage to make zbar work

2015-08-03 10:01:15 -0500 commented question cvWarpPerspective : external exception e06d7363

I guess but QR codes are still the same, and that's unfortunately the only QR code library I managed to compile in C++ Builder

2015-08-03 09:29:45 -0500 commented question cvWarpPerspective : external exception e06d7363

I'm just using a library which uses openCV, but I don't know anything about openCV and its api ...

2015-08-03 08:56:24 -0500 asked a question cvWarpPerspective : external exception e06d7363

Hello,

I'm currently integrating the libDecodeQR library (used to decode QR Codes) in my application in C++ Builder (XE6). I managed to have the openCV 2.4.0 working and was therefore able to compile libDecodeQR.

Unfortunately, when using it (for instance in the code : cvWarpPerspective(spts,dpts,map); with src and dst CvPoint2D32f and map CvMat*), I get either "external exception e06d7363" or "division by zero" error. I'm having trouble knowing which exact line raises the error, while debugging it stops when returning the Scalar in ScalarAll(0), which is used to initialize by default the "fillvall" parameter of cvWarpPerspective :

CV_INLINE CvScalar  cvScalarAll( double val0123 )
{
    CvScalar* scalar = new CvScalar();
    scalar->val[0] = val0123;
    scalar->val[1] = val0123;
    scalar->val[2] = val0123;
    scalar->val[3] = val0123;
    return *scalar;
}

Does someone know what may raise this error ?

Thank you