fixed build with opencv 4.3

This commit is contained in:
matlabbe
2020-05-01 09:51:54 -04:00
parent 46886f2637
commit 3e9cff4053

View File

@@ -37,6 +37,11 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <opencv2/calib3d/calib3d_c.h>
#if CV_MAJOR_VERSION >= 4
#if CV_MINOR_VERSION >= 3
#include <opencv2/core/core_c.h>
#endif
// Opencv4 doesn't expose those functions below anymore, we should recopy all of them!
int cvRodrigues2( const CvMat* src, CvMat* dst, CvMat* jacobian CV_DEFAULT(0))
{