setImageRGB - 1.2 English

Vitis AI Library User Guide (UG1354)

Document ID
UG1354
Release Date
2020-07-21
Version
1.2 English

Copy a input image in RGB format to the input tensor.

Prototype

void setImageRGB(const cv::Mat &img)=0;

Parameters

The following table lists the setImageRGB function arguments.

Table 1. setImageRGB Arguments
Type Name Description
const cv::Mat & img The input image(cv::Mat).