You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to draw an image in EnhancedWindow
using
EnhancedWindow settings(0, 100, video.cols, video.rows, "video");
settings.begin(frame);
if (!settings.isMinimized())
{
cvui::image(video); // video is mat with image
}
settings.end();
Image is displayed with some offset to the left and bottom and not in the "window" area:
hope there is a solution
Thanks
M.
The text was updated successfully, but these errors were encountered:
Hi
I found a solution for this:
EnahncedWindow.h
line 74
I removed this line //cvui::beginRow(frame, mX + std::lround(10*mFontScale/cvui::DEFAULT_FONT_SCALE), mY + std::lround(30*mFontScale/cvui::DEFAULT_FONT_SCALE), mWidth - scaledTitleHeight, mHeight - scaledTitleHeight);
whithout this the image is in place
EnhancedWindow draws image outside of window
When trying to draw an image in EnhancedWindow
using
Image is displayed with some offset to the left and bottom and not in the "window" area:
hope there is a solution
Thanks
M.
The text was updated successfully, but these errors were encountered: