run - run - 1.3 English - UG1354

Vitis AI Library User Guide (UG1354)

Document_ID
UG1354
Release_Date
2021-02-03
Version
1.3 English

Function to get running result of the retinaface network.

Prototype


            RetinaFaceResult run(const cv::Mat &img)=0;

Parameters

The following table lists the run function arguments.

Table 1. run Arguments
Type Name Description
const cv::Mat & img Input Data ,input image (cv::Mat) need to be resized to InputWidth and InputHeight required by the network.

Returns

The detection result of the face detect network , filtered by score >= det_threshold