1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

Add a function that draws frame axes. Useful for debugging purpose and to check the correctness of the output of a pose estimation method.

This commit is contained in:
catree
2018-10-25 17:57:18 +02:00
parent 7e2c65ce3c
commit 644846c702
7 changed files with 50 additions and 45 deletions
@@ -1,11 +1,7 @@
#include <iostream>
#include <opencv2/opencv_modules.hpp>
#ifdef HAVE_OPENCV_ARUCO
#include <opencv2/core.hpp>
#include <opencv2/videoio.hpp>
#include <opencv2/highgui.hpp>
#include <opencv2/calib3d.hpp>
#include <opencv2/aruco.hpp>
using namespace std;
using namespace cv;
@@ -187,10 +183,3 @@ int main(int argc, char *argv[])
return 0;
}
#else
int main()
{
std::cerr << "FATAL ERROR: This sample requires opencv_aruco module (from opencv_contrib)" << std::endl;
return 0;
}
#endif