Copy a input image in RGB format to the input tensor.
Prototype
void setImageRGB(const cv::Mat &img, size_t ind=0)=0;
Parameters
The following table lists the setImageRGB
function arguments.
Type | Name | Description |
---|---|---|
const cv::Mat & | img | The input image(cv::Mat). |