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_8UC3.

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

SegmentationResult, the result of the segmentation network.