diff --git a/Sources/src/Visnode/prog b/Sources/src/Visnode/prog index 556a14b..c0ca0c8 100755 Binary files a/Sources/src/Visnode/prog and b/Sources/src/Visnode/prog differ diff --git a/Sources/src/Visnode/ui/uiDrawer.cpp b/Sources/src/Visnode/ui/uiDrawer.cpp index 218e047..ef97093 100644 --- a/Sources/src/Visnode/ui/uiDrawer.cpp +++ b/Sources/src/Visnode/ui/uiDrawer.cpp @@ -59,14 +59,17 @@ namespace ui{ return; } UMat frame; + UMat finished; #ifdef OGLWIN cv::ogl::Texture2D frameOGL = Texture2D(); #endif while(cap.read(frame)) { frame = OverlayBlackMask(frame, overlay); + vector mats{frame,frame}; + cv::hconcat(mats,finished); #ifdef OGLWIN - frameOGL.copyFrom(frame); + frameOGL.copyFrom(finished); cv::imshow(ui::UiManager::managedUIs.at(0)->myWindow, frameOGL); #else cv::imshow(ui::UiManager::managedUIs.at(0)->myWindow, frame); diff --git a/Sources/src/Visnode/ui/uiManager.cpp b/Sources/src/Visnode/ui/uiManager.cpp index 2de95fa..06fe9ed 100644 --- a/Sources/src/Visnode/ui/uiManager.cpp +++ b/Sources/src/Visnode/ui/uiManager.cpp @@ -29,7 +29,7 @@ namespace ui{ #endif moveWindow(newUI->myWindow,DEFAULT_UI_OFFSET_X+i*960,DEFAULT_UI_OFFSET_Y); resizeWindow(newUI->myWindow,DEFAULT_UI_SIZE_X,DEFAULT_UI_SIZE_Y); - //setWindowProperty(newUI->myWindow, cv::WND_PROP_FULLSCREEN, cv::WINDOW_FULLSCREEN); + setWindowProperty(newUI->myWindow, cv::WND_PROP_FULLSCREEN, cv::WINDOW_FULLSCREEN); #ifdef OGLWIN cv::setOpenGlContext(newUI->myWindow); #endif