0

在我的代码中,我有以下内容:

#include <opencv2/core/core.hpp>
#include "opencv2/video/tracking.hpp"
#include "opencv2/imgproc/imgproc.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/features2d/features2d.hpp"
#include "opencv2/calib3d/calib3d.hpp"

和代码:

//recovering the pose and the essential matrix
Mat E, R, t, mask;
E = findEssentialMat(points2, points1, focal, pp, RANSAC, 0.999, 1.0, mask);
recoverPose(E, points2, points1, R, t, focal, pp, mask);

但是使用带有 Visual c++ 2010 的 Opencv 2.4.9 我得到了编译错误:

error C3861: 'findEssentialMat': identifier not found
error C3861: 'recoverPose': identifier not found

如何解决它们?

谢谢!

4

0 回答 0