nndeploy C++ API  0.2.0
nndeploy C++ API
result.h
Go to the documentation of this file.
1 #ifndef _NNDEPLOY_MATTING_MATTING_RESULT_H_
2 #define _NNDEPLOY_MATTING_MATTING_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 matting {
21 
23  public:
26 
27  std::vector<float> alpha;
28  std::vector<float> foreground;
29  std::vector<int64_t> shape;
30  bool contain_foreground = false;
31 };
32 
33 } // namespace matting
34 } // namespace nndeploy
35 
36 #endif // _NNDEPLOY_MATTING_MATTING_RESULT_H_
std::vector< float > foreground
Definition: result.h:28
std::vector< int64_t > shape
Definition: result.h:29
std::vector< float > alpha
Definition: result.h:25
#define NNDEPLOY_CC_API
api
Definition: macro.h:29