Closed LiuPeiqiCN closed 2 weeks ago
OpenCV python version: 4.8.0 Operating System / Platform: Win11
Program crash when the kernel size is too large. Maybe we must limit max kernel size to improve robustness.
cv::Mat test(346, 240, CV_8UC3); cv::stackBlur(test, test, cv::Size(741, 741));
@LiuPeiqiCN, thanks for catching this, try to fix it right now.
System Information
OpenCV python version: 4.8.0 Operating System / Platform: Win11
Detailed description
Program crash when the kernel size is too large. Maybe we must limit max kernel size to improve robustness.
Steps to reproduce
Issue submission checklist