Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example code not working #10

Open
ClashSAN opened this issue Oct 6, 2022 · 1 comment
Open

Example code not working #10

ClashSAN opened this issue Oct 6, 2022 · 1 comment

Comments

@ClashSAN
Copy link

ClashSAN commented Oct 6, 2022

encoded the image, then decoding returned nothing, not "test" like expected.

edit: tried with a different png image:
Traceback (most recent call last):
File "/home/me/whisper/decode.py", line 8, in
print(watermark.decode('utf-8'))
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte

@rgill02
Copy link

rgill02 commented Nov 2, 2023

Instead of using method 'dwtDct' try using method 'dwtDctSvd' as it seems to be more reliable (at the cost of performance).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants