feat oss替换为S3

fix
This commit is contained in:
zhouchengrong
2024-06-27 11:03:35 +08:00
parent b2d205d621
commit deea2bc5e9

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)