run - run - 2.5 English - UG1354

Vitis AI Library User Guide (UG1354)

Document_ID
UG1354
Release_Date
2022-06-15
Version
2.5 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 Member 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