mirror of
https://github.com/opencv/opencv.git
synced 2024-11-27 20:50:25 +08:00
Fixing compiler errors for outlet_pose_estimation
This commit is contained in:
parent
b4275e1987
commit
13523fd53a
@ -47,10 +47,6 @@
|
||||
#warning "This is a deprecated opencv header provided for compatibility. Please include a header from a corresponding opencv module"
|
||||
#endif
|
||||
|
||||
#if !defined(CV_IMPL)
|
||||
#define CV_IMPL extern "C"
|
||||
#endif //CV_IMPL
|
||||
|
||||
#include "opencv2/core/core_c.h"
|
||||
#include "opencv2/core/core.hpp"
|
||||
#include "opencv2/imgproc/imgproc_c.h"
|
||||
@ -60,4 +56,16 @@
|
||||
#include "opencv2/calib3d/calib3d.hpp"
|
||||
#include "opencv2/objdetect/objdetect.hpp"
|
||||
|
||||
#endif
|
||||
#if !defined(CV_IMPL)
|
||||
#define CV_IMPL extern "C"
|
||||
#endif //CV_IMPL
|
||||
|
||||
#if defined(__cplusplus)
|
||||
#include "opencv2/core/internal.hpp"
|
||||
#endif //__cplusplus
|
||||
|
||||
namespace cv {
|
||||
namespace flann = cvflann;
|
||||
}
|
||||
|
||||
#endif __OPENCV_OLD_CV_H_
|
||||
|
@ -171,6 +171,9 @@ CVAPI(CvSeq*) cvGetStarKeypoints( const CvArr* img, CvMemStorage* storage,
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
namespace cv
|
||||
{
|
||||
|
||||
// CvAffinePose: defines a parameterized affine transformation of an image patch.
|
||||
// An image patch is rotated on angle phi (in degrees), then scaled lambda1 times
|
||||
// along horizontal and lambda2 times along vertical direction, and then rotated again
|
||||
@ -184,10 +187,6 @@ public:
|
||||
float lambda2;
|
||||
};
|
||||
|
||||
|
||||
namespace cv
|
||||
{
|
||||
|
||||
class CV_EXPORTS KeyPoint
|
||||
{
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user