11 lines
369 B
C++
11 lines
369 B
C++
#include <opencv2/opencv.hpp>
|
|
#include <vector>
|
|
#include <iostream>
|
|
|
|
typedef std::vector<cv::Point3f> VecPoint3f;
|
|
typedef std::vector<cv::Point2f> VecPoint2f;
|
|
|
|
cv::Mat GcvInitCameraMatrix2D(VecPoint3f objPts, VecPoint2f imgPts);
|
|
|
|
double GcvCalibrateCamera(VecPoint3f objPts, VecPoint2f imgPts,
|
|
std::vector<int> imgSize, cv::Mat cameraMatrix);
|