Function sl_oc::tools::showImage(std::string, cv::Mat&, sl_oc::video::RESOLUTION, bool, std::string)
Defined in File ocv_display.hpp
Function Documentation
-
void sl_oc::tools::showImage(std::string name, cv::Mat &img, sl_oc::video::RESOLUTION res, bool change_name = true, std::string info = "")
Rescale the OpenCV images [cv::Mat] 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