runSegmentation - 3.5 English

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2023-06-29
Version
3.5 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 Member 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).