-
Notifications
You must be signed in to change notification settings - Fork 0
/
Export.h
52 lines (42 loc) · 1.39 KB
/
Export.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
45
46
47
48
49
50
51
52
#ifndef EXPORT_H
#define EXPORT_H
#include "Preprocessor_Configuration.h"
#include "OpenCV440.h"
#include <time.h>
#include "Camera_Device.h"
using namespace cv;
using namespace std;
#ifdef VIDEO_WRITER
// Define the codec and create VideoWriter object.
extern VideoWriter video_writer;
extern bool video_writer_checked;
extern int video_writer_FPS;
extern string video_writer_path;
extern string video_writer_filename;
extern string video_writer_filename_extention;
#endif // VIDEO_WRITER
#ifdef FEATURES_EXTRACTION_FILE_TXT
extern FILE *features_extraction_file_txt;
extern bool features_extraction_file_txt_checked;
extern string features_extraction_file_txt_path;
extern string features_extraction_file_txt_filename;
extern string features_extraction_file_txt_extention;
#endif // FEATURES_EXTRACTION_FILE_TXT
#ifdef SAMPLE_FEATURES_FILE_TXT
extern FILE *sample_features_file_txt;
extern bool sample_features_file_txt_checked;
extern string sample_features_file_txt_path;
extern string sample_features_file_txt_filename;
extern string sample_features_file_txt_extention;
#endif // SAMPLE_FEATURES_FILE_TXT
extern string Current_DataTime_Str(void);
#ifdef VIDEO_WRITER
extern void Ini_Video_Writer(void);
#endif
#ifdef FEATURES_EXTRACTION_FILE_TXT
extern void Ini_Features_Extraction_File_Txt(void);
#endif
#ifdef SAMPLE_FEATURES_FILE_TXT
extern void Ini_Sample_Features_File_Txt(void);
#endif
#endif // !EXPORT_H