postprocess - postprocess - 2.5 English - UG1354

Vitis AI Library User Guide (UG1354)

Document_ID
UG1354
Release_Date
2022-06-15
Version
2.5 English

The batch mode post-processing function of the EfficientDetD2 network.

Prototype

std::vector< 
               EfficientDetD2Result
             > postprocess(size_t batch_size, const std::vector< int > &swidths, const std::vector< int > &sheights, const std::vector< float > &image_scales)=0;

Parameters

The following table lists the postprocess function arguments.

Table 1. postprocess Arguments
Type Member Description
size_t batch_size num of batch input
const std::vector< float > & image_scales image scale to fit the network input size
const std::vector< int > & swidths batch input image widths
const std::vector< int > & sheights batch input image heights

Returns

The vector of struct of EfficientDetD2Result .