minor fixes for windows ,for release v0.6

This commit is contained in:
perseusdg
2021-07-24 08:51:44 -07:00
parent e58ddadb7d
commit 1412aa66c4
7 changed files with 31 additions and 13 deletions
+5
View File
@@ -13,6 +13,11 @@
#include "TrackingNN.h"
#ifdef _WIN32
#define _USE_MATH_DEFINES
#include <math.h>
#endif
#include "kernelsThrust.h"
+5
View File
@@ -9,6 +9,11 @@
#include <numeric> // std::iota
#include <algorithm> // std::sort
#ifdef _WIN32
#define _USE_MATH_DEFINES
#include <math.h>
#endif
#include "DetectionNN3D.h"
#include "kernelsThrust.h"
+2 -2
View File
@@ -56,8 +56,8 @@ public:
int id = 0;
bool final; //if the layer is the final one
uint n_params = 0;
uint feature_map_size = 0;
unsigned int n_params = 0;
unsigned int feature_map_size = 0;
long unsigned MACC = 0;
+2
View File
@@ -4,7 +4,9 @@
#include <iostream>
#include <signal.h>
#include <stdlib.h>
#ifdef __linux__
#include <unistd.h>
#endif
#include <mutex>
#include "utils.h"
+2 -1
View File
@@ -9,12 +9,13 @@
#ifdef __linux__
#include <unistd.h>
#endif
#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);