From 1eaa0558a900655612203a33080d8b9262184624 Mon Sep 17 00:00:00 2001 From: liuyebo <1515783401@qq.com> Date: Wed, 10 Jul 2024 17:33:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E5=86=8D=E4=BF=9D=E5=AD=98=E5=88=B0?= =?UTF-8?q?=E6=9C=AC=E5=9C=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- photo_mask.py | 1 - 1 file changed, 1 deletion(-) diff --git a/photo_mask.py b/photo_mask.py index feacc31..730c0df 100644 --- a/photo_mask.py +++ b/photo_mask.py @@ -348,7 +348,6 @@ def photo_mask(pk_phhd, content): with tempfile.NamedTemporaryFile(delete=False, suffix=".jpg") as temp_file: cv2.imwrite(temp_file.name, image) - cv2.imwrite(f"./mask_test2/{phrec.cfjaddress}.jpg", image) try: for i in range(3): is_upload_success = ucloud.upload_file(phrec.cfjaddress, temp_file.name)