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 facedetect network.

Prototype


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

Parameters

The following table lists the run function arguments.

Table 1. run Arguments
Type Member 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