blob: 382adf63512f9333b211ab06a9fbf8be4509178d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#include <opencv2/opencv.hpp>
#include <opencv2/aruco.hpp>
using namespace cv;
using namespace std;
using namespace aruco;
#pragma once
namespace Tango
{
namespace TCC
{
namespace CardDetector {
class ArucoUtils
{
public:
ArucoUtils();
~ArucoUtils();
vector<cv::Point> getArcusVertices(Mat image);
Mat applyHomography(Mat image, vector<cv::Point> vertices, cv::Size destination_size);
};
}
}
}
|