b9f82510d3
This commit splits the utils file into two different files: utils and demo_utils, to overcome some opencv problems caused by demo_utils includes. Signed-off-by: Davide Sapienza <sapienza.dav@gmail.com>
22 lines
421 B
C++
22 lines
421 B
C++
#ifndef DEMO_UTILS_H
|
|
#define DEMO_UTILS_H
|
|
|
|
#include <iostream>
|
|
#include <sstream>
|
|
#include <fstream>
|
|
#include <iomanip>
|
|
#include <stdlib.h>
|
|
|
|
#ifdef __linux__
|
|
#include <unistd.h>
|
|
#include <opencv2/core/core.hpp>
|
|
#include <opencv2/highgui/highgui.hpp>
|
|
#include <opencv2/imgproc/imgproc.hpp>
|
|
|
|
#include <yaml-cpp/yaml.h>
|
|
#endif
|
|
|
|
|
|
void readCalibrationMatrix(const std::string& path, cv::Mat& calib_mat);
|
|
|
|
#endif //DEMO_UTILS_H
|