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

Note: The result cv::Mat of the type is CV_8UC1.

Prototype


            SegmentationResult run(const cv::Mat &image);

Parameters

The following table lists the run function arguments.

Table 1. run Arguments
Type Name Description
const cv::Mat & image Input data of the image (cv::Mat)

Returns

A Struct of SegmentationResult ,the result of segmentation network.