Function sl_oc::tools::showImage(std::string, cv::UMat&, sl_oc::video::RESOLUTION, bool, std::string)

Function Documentation

void sl_oc::tools::showImage(std::string name, cv::UMat &img, sl_oc::video::RESOLUTION res, bool change_name = true, std::string info = "")

Rescale the OpenCV T-API images [cv::UMat] according to the selected resolution to better display them on screen and show.

Parameters:
  • name – Name of the display window

  • img – Image to be displayed

  • res – Image resolution

  • change_name – Add rescaling information in window name if true

  • info – optional info string