-
-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cvui:: window crashed #81
Comments
crashed in cvui:window ---> cv::rectangle(aOverlay, theContent, cv::Scalar(0x31, 0x31, 0x31), CVUI_FILLED); |
I'll check that. Are you using OpenCV 4.x? |
Ok, thanks for the info. I think I've identified the problem. I'll make a patch soon. |
Good evening Fernando ! I stumbled also on this problem, using opencv 4. The patch below seems to do the trick:
void window(cvui_block_t& theBlock, cv::Rect& theTitleBar, cv::Rect& theContent, const cv::String& theTitle) {
bool aTransparecy = false;
double aAlpha = 0.3;
// Replace the line "cv::Mat aOverlay;" by this:
cv::Mat aOverlay = cv::Mat(theBlock.where.size(), theBlock.where.type()); |
Thanks, Pascal! I'll work on the fix using your patch. |
hi version2.7.0 stiil has this bug lol |
That must be some sort of record (1 year of "I'll work on it") 😄 As the maintainer of the project, I honestly apologize for this. I work on cvui during my free time, which has been quite limited. For those monitoring it, cvui is not abandoned, just under-maintained. |
The text was updated successfully, but these errors were encountered: