feat generate sketch 污点检测改为顶部两角

This commit is contained in:
zhouchengrong
2024-04-25 12:33:51 +08:00
parent 3c691f25ca
commit a955d3efe8

View File

@@ -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 = [