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 face landmark network.

Set data of a face(e.g. data of cv::Mat) and get the five key points.

Prototype


            FaceLandmarkResult run(const cv::Mat &input_image)=0;

Parameters

The following table lists the run function arguments.

Table 1. run Arguments
Type Name Description
const cv::Mat & input_image Input data of input image (cv::Mat) of detected by the facedetect network and resized as inputwidth and inputheight.

Returns

The struct of FaceLandmarkResult