create - create - 1.3 English - UG1354

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2021-02-03
Version
1.3 English

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

Prototype

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

Parameters

The following table lists the create function arguments.

Table 1. create Arguments
Type Name Description
const std::string & model_name Model name
bool need_preprocess Normalize with mean/scale or not, default value is true.

Returns

An instance of FaceQuality5pt class.