FastDeploy
latest
Fast & Easy to Deploy!
|
Classify result structure for all the image classify models. More...
#include <result.h>
Inherits fastdeploy::vision::BaseResult.
Public Member Functions | |
void | Resize (int size) |
Resize ClassifyResult data buffer. | |
void | Clear () |
Clear ClassifyResult. | |
void | Free () |
Clear ClassifyResult and free the memory. | |
ClassifyResult (const ClassifyResult &other)=default | |
Copy constructor. | |
ClassifyResult & | operator= (ClassifyResult &&other) |
Move assignment. | |
std::string | Str () |
Debug function, convert the result to string to print. | |
Public Attributes | |
std::vector< int32_t > | label_ids |
Classify result for an image. | |
std::vector< float > | scores |
The confidence for each classify result. | |
Classify result structure for all the image classify models.