Function adder_codec_rs::transcoder::source::video::show_display
source · pub fn show_display<W: Write>(
window_name: &str,
mat: &Mat,
wait: i32,
video: &Video<W>
) -> Result<()>
Expand description
If video.show_display
, shows the given Mat
in an OpenCV
window
with the given name.
Errors
Returns an opencv::Error
if the window cannot be shown, or the Mat
cannot be scaled as
needed.