Open scturtle opened 5 years ago
I have the same problem. I am running CamOdocal Algorithm on Windows.
The missing return statement results in the build error. Right now, I fixed it using below code.
int CvEMEstimator::runKernel( const CvMat* m1, const CvMat* m2, CvMat* model ) { int ncounts = 0; ncounts = run5Point(m1, m2, model); return ncounts; }
https://github.com/hengli/camodocal/blob/b399fa9ee81b5182e59f717e67a8ddd6503cdcb4/src/npoint/five-point/five-point.cpp#L252-L255