-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCommon.h
More file actions
46 lines (37 loc) · 1.03 KB
/
Common.h
File metadata and controls
46 lines (37 loc) · 1.03 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#ifndef COMMON_H
#define COMMON_H
// Standard library includes
#define _USE_MATH_DEFINES // To get M_PI back on windows
#include <algorithm>
#include <vector>
#include <map>
#include <iostream>
#include <iomanip>
#include <string>
#include <fstream>
#include <sstream>
#include <set>
#include <cmath>
#include <cassert>
#include <stdexcept>
#include <cstdlib>
#include <cmath>
#include <stdint.h>
// Library for Support Vector Machine algo
#include "libsvm/svm.h"
// Boost
#include <boost/algorithm/string.hpp>
#include <boost/filesystem.hpp>
// Google Log
#include <glog/logging.h>
// Open CV
#include <opencv2/opencv.hpp>
// ============================================================================
// Persistence
// ============================================================================
#define OBJECT_DETECTOR_KEY "ObjectDetector"
#define IMAGE_PYRAMID_KEY "ImagePyramid"
#define FEATURE_EXTRACTOR_KEY "FeatureExtractor"
#define FEATURE_TYPE_KEY "feature_type"
#define SVM_CONFIG_KEY "svm_config"
#endif // COMMON_H