This commit is contained in:
@ -1071,8 +1071,6 @@ class ImageFilterImplement:
|
||||
if image.mode != 'RGBA':
|
||||
image = image.convert('RGBA')
|
||||
|
||||
width, height = image.size
|
||||
arr = np.array(image)
|
||||
# 生成随机偏移
|
||||
x_offset = random.randint(-max_offset, max_offset)
|
||||
y_offset = random.randint(-max_offset, max_offset)
|
||||
|
||||
Reference in New Issue
Block a user