setImageBGR - setImageBGR - 2.5 English - UG1354

Vitis AI Library User Guide (UG1354)

Document_ID
UG1354
Release_Date
2022-06-15
Version
2.5 English

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

Prototype

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

Parameters

The following table lists the setImageBGR function arguments.

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