diff --git a/modules/highgui/include/opencv2/highgui.hpp b/modules/highgui/include/opencv2/highgui.hpp index 9a2c8c8a2f5468ef71ae44a7b2937ccf0b8ce14b..a515c15b33fa885ad66f65835bd0ef141d1d43b9 100644 --- a/modules/highgui/include/opencv2/highgui.hpp +++ b/modules/highgui/include/opencv2/highgui.hpp @@ -677,7 +677,7 @@ after the specified delay the original content of the window is restored. function is called before the previous overlay text timed out, the timer is restarted and the text is updated. If this value is zero, the text never disappears. */ -CV_EXPORTS void displayOverlay(const String& winname, const String& text, int delayms = 0); +CV_EXPORTS_W void displayOverlay(const String& winname, const String& text, int delayms = 0); /** @brief Displays a text on the window statusbar during the specified period of time. @@ -691,7 +691,7 @@ created with the CV_GUI_EXPANDED flags). the previous text timed out, the timer is restarted and the text is updated. If this value is zero, the text never disappears. */ -CV_EXPORTS void displayStatusBar(const String& winname, const String& text, int delayms = 0); +CV_EXPORTS_W void displayStatusBar(const String& winname, const String& text, int delayms = 0); /** @brief Saves parameters of the specified window.