From a955d3efe8ad2d127ceeb1e495e59c36f3ae6faf Mon Sep 17 00:00:00 2001 From: zhouchengrong Date: Thu, 25 Apr 2024 12:33:51 +0800 Subject: [PATCH] =?UTF-8?q?feat=20generate=20sketch=20=E6=B1=A1=E7=82=B9?= =?UTF-8?q?=E6=A3=80=E6=B5=8B=E6=94=B9=E4=B8=BA=E9=A1=B6=E9=83=A8=E4=B8=A4?= =?UTF-8?q?=E8=A7=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/service/generate_image/utils/image_processing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/service/generate_image/utils/image_processing.py b/app/service/generate_image/utils/image_processing.py index f1a49c9..ed9fb59 100644 --- a/app/service/generate_image/utils/image_processing.py +++ b/app/service/generate_image/utils/image_processing.py @@ -139,7 +139,7 @@ def bounding_box(image): return result_image -def stain_detection(image, spot_size=200): +def stain_detection(image, spot_size=100): height, width, _ = image.shape corners = [