opencv::viz

Function get_window_by_name

Source
pub fn get_window_by_name(window_name: &str) -> Result<Viz3d>
Expand description

Retrieves a window by its name.

ยงParameters

  • window_name: Name of the window that is to be retrieved.

This function returns a Viz3d object with the given name.

Note: If the window with that name already exists, that window is returned. Otherwise, new window is created with the given name, and it is returned.