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

#include <result.h>

Inherits fastdeploy::vision::BaseResult.

Public Member Functions

void Clear ()
 clear Mask result
 
void Free ()
 Clear Mask result and free the memory.
 
void * Data ()
 Return a mutable pointer of the mask data buffer.
 
const void * Data () const
 Return a pointer of the mask data buffer for read only.
 
void Reserve (int size)
 Reserve size for mask data buffer.
 
void Resize (int size)
 Resize the mask data buffer.
 
std::string Str ()
 Debug function, convert the result to string to print.
 

Public Attributes

std::vector< uint8_t > data
 Mask data buffer.
 
std::vector< int64_t > shape
 Shape of mask.
 

Detailed Description

Mask structure, used in DetectionResult for instance segmentation models


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