runSegmentation - 1.4.1 English

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2021-12-11
Version
1.4.1 English

Function of get result of the segmentation in batch mode.

Prototype

std::vector< cv::Mat > runSegmentation(std::vector< cv::Mat > batch_images)=0;

Parameters

The following table lists the runSegmentation function arguments.

Table 1. runSegmentation Arguments
Type Name Description
std::vector< cv::Mat > batch_images Batch input of images from different cameras for segmentation. The size should be equal to the result of get_segmentation_batch.

Returns

A Vector of segmentation result(cv::Mat).