feat oss替换为S3
fix
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user