feat oss替换为S3

fix
This commit is contained in:
zhouchengrong
2024-06-27 11:13:34 +08:00
parent d09d8b740d
commit cac569f776

View File

@@ -13,7 +13,7 @@ def model_transpose(image_path):
#
new_data = []
for item in data:
if item[0] >= 230 and item[1] >= 230 and item[2] >= 230:
if item[0] >= 256 and item[1] >= 256 and item[2] >= 256:
new_data.append((255, 255, 255, 0))
else:
new_data.append(item)