forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-03-15 de7d2b82e1d37d435e0b93009a6a472b54b9d6a1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef _ORB_ALGOS_OPENCV_H_
#define _ORB_ALGOS_OPENCV_H_
 
#if OPENCV_SUPPORT
#include <vector>
#include "opencv2/opencv.hpp"
 
#define HOMOGRAPHY_MATRIX_SIZE 9
 
int push_orbpoint_cv(U32 num_points, U16* points, vector<Point2f> m_Points);
int get_homography_matrix(
    vector<Point2f> m_queryPoints,
    vector<Point2f> m_trainPoints,
    double* homographyMat,
    U32 size);
#endif
#endif