forked from kimphg/FireDetector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommon.h
44 lines (38 loc) · 818 Bytes
/
common.h
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
//
// common.h
// FlameDetection
//
// Created by liberize on 14-4-5.
// Copyright (c) 2014年 liberize. All rights reserved.
//
#ifndef FlameDetection_common_h
#define FlameDetection_common_h
#include <iostream>
#include <cstdlib>
#include <fstream>
#include <string>
#include <stack>
#include <queue>
#include <vector>
#include <list>
#include <map>
#include <opencv2/core/core.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/video/video.hpp>
#include <opencv2/ml/ml.hpp>
using namespace std;
using namespace cv;
#define PHUONGS_ALGORITHM
//#define OLD_ALGO
//#define TRAIN_MODE
//#define TEST_MODE
//#define DEBUG_MODE
#ifndef TRAIN_MODE
#define MODE_MULTITHREAD
#endif
#define MODE_GRAYSCALE
#ifdef TRAIN_MODE
extern bool trainComplete;
#endif
#endif