create - create - 2.5 English - UG1354

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2022-06-15
Version
2.5 English

Factory function to get an instance of derived classes of class PlateNum .

Prototype

std::unique_ptr< 
               PlateNum
             > create(const std::string &model_name, bool need_mean_scale_process=true);

Parameters

The following table lists the create function arguments.

Table 1. create Arguments
Type Member Description
bool need_mean_scale_process normalize with mean/scale or not, true by default.

Returns

An instance of PlateNum class.