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
| //
| // Created by Scheaven on 2020/3/23.
| //
|
| #ifndef DETECTER_H
| #define DETECTER_H
| #include <iostream>
| #include <string>
| #include <vector>
|
| //#define OPENCV
|
| #include "yolo_v2_class.hpp" // imported functions from DLL
|
|
| #ifdef OPENCV
| #include <opencv2/opencv.hpp> // C++
| #pragma comment(lib, "opencv_core249.lib")
| #pragma comment(lib, "opencv_imgproc249.lib")
| #pragma comment(lib, "opencv_highgui249.lib")
|
| #endif // OPENCV
| void draw_boxes(cv::Mat mat_img, std::vector<bbox_t> result_vec);
|
| void show_result(std::vector<bbox_t> result_vec);
|
| int detecter_main();
|
| #endif
|
|