Skip to content

Commit

Permalink
fix a bug in example
Browse files Browse the repository at this point in the history
  • Loading branch information
guofei9987 committed Dec 24, 2023
1 parent f34e2df commit bb12e3a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/example_img_hash.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
img1 = 'img.jpeg'
img2 = 'img_att.jpeg'

# att.resize_att(input_filename=img1, output_file_name=img2, out_shape=(300, 500))
# build up another image
att.resize_att(input_filename=img1, output_file_name=img2, out_shape=(300, 500))

# %% aHash
a_hash_img1 = img_hash.a_hash(PIL.Image.open(img1))
Expand Down

0 comments on commit bb12e3a

Please sign in to comment.