nndeploy C++ API  0.2.0
nndeploy C++ API
result.h
Go to the documentation of this file.
1 #ifndef _NNDEPLOY_TRACK_RESULT_H_
2 #define _NNDEPLOY_TRACK_RESULT_H_
3 
4 #include "nndeploy/base/any.h"
5 #include "nndeploy/base/common.h"
7 #include "nndeploy/base/log.h"
8 #include "nndeploy/base/macro.h"
9 #include "nndeploy/base/object.h"
10 #include "nndeploy/base/param.h"
11 #include "nndeploy/base/status.h"
12 #include "nndeploy/base/string.h"
13 #include "nndeploy/base/type.h"
14 #include "nndeploy/device/buffer.h"
15 #include "nndeploy/device/device.h"
17 #include "nndeploy/device/tensor.h"
18 
19 namespace nndeploy {
20 namespace track {
21 
23  public:
24  MOTResult() {}
25  virtual ~MOTResult() {}
26 
30  std::vector<std::array<int, 4>> boxes;
31 
35  std::vector<int> ids;
36 
40  std::vector<float> scores;
41 
45  std::vector<int> class_ids;
46 };
47 
48 } // namespace track
49 } // namespace nndeploy
50 
51 #endif
std::vector< float > scores
The confidence for all the tracking objects.
Definition: result.h:40
std::vector< int > class_ids
The classify label for all the tracking objects.
Definition: result.h:45
std::vector< std::array< int, 4 > > boxes
The tracking object for an input images.
Definition: result.h:30
std::vector< int > ids
The tracking object ids.
Definition: result.h:35
#define NNDEPLOY_CC_API
api
Definition: macro.h:29