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
opencv moved away from using the c-api half a decade ago, and so should you.
I'm just using a library which uses openCV, but I don't know anything about openCV and its api ...
let's just say: this started 9 years ago, and now, it's horribly outdated.
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
i remember, that i tried it even, way back then, it was slow and unaccurate. don't expect much from that lib.
C++ Builder, seriously ?
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
unfortunately, zbar would have been my first (and probably only) choice there