opencv::gapi

Function copy

Source
pub fn copy(in_: &impl GMatTraitConst) -> Result<GMat>
Expand description

Makes a copy of the input image. Note that this copy may be not real (no actual data copied). Use this function to maintain graph contracts, e.g when graph’s input needs to be passed directly to output, like in Streaming mode.

Note: Function textual ID is “org.opencv.streaming.copy”

§Parameters

  • in: Input image

§Returns

Copy of the input