[][src]Function opencv::highgui::display_status_bar

pub fn display_status_bar(winname: &str, text: &str, delayms: i32) -> Result<()>

Displays a text on the window statusbar during the specified period of time.

The function displayStatusBar displays useful information/tips on top of the window for a certain amount of time delayms . This information is displayed on the window statusbar (the window must be created with the CV_GUI_EXPANDED flags).

Parameters

  • winname: Name of the window.
  • text: Text to write on the window statusbar.
  • delayms: Duration (in milliseconds) to display the text. If this function is called before the previous text timed out, the timer is restarted and the text is updated. If this value is zero, the text never disappears.

C++ default parameters

  • delayms: 0