FastDeploy  latest
Fast & Easy to Deploy!
Public Member Functions | Public Attributes | List of all members
fastdeploy::vision::ClassifyResult Struct Reference

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.
 
ClassifyResultoperator= (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.
 

Detailed Description

Classify result structure for all the image classify models.


The documentation for this struct was generated from the following files: