1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| #ifndef MODEL_H
| #define MODEL_H
| #include "dataType.h"
| #include <algorithm>
| #include "../config.h"
|
| class DETECTION_ROW
| {
| public:
| DETECTBOX tlwh;
| float confidence;
| FEATURE feature;
| DETECTBOX to_xyah() const;
| DETECTBOX to_tlbr() const;
| };
|
| typedef std::vector<DETECTION_ROW> DETECTIONS;
|
|
| #endif // MODEL_H
|
|