diff --git a/src/effects/Outline.cpp b/src/effects/Outline.cpp index 6ea0d3b4..38f14db9 100644 --- a/src/effects/Outline.cpp +++ b/src/effects/Outline.cpp @@ -62,6 +62,8 @@ std::shared_ptr Outline::GetFrame(std::shared_ptr frame_image = frame->GetImage(); int sigmaValue = widthValue / 3; + if (sigmaValue < 1) + sigmaValue = 1; cv::Mat cv_image = QImageToBGRACvMat(frame_image); // Extract alpha channel for the mask