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

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte #28

Open
ikuboo opened this issue Dec 20, 2023 · 2 comments

Comments

@ikuboo
Copy link

ikuboo commented Dec 20, 2023

python version : Python 3.11.5


UnicodeDecodeError Traceback (most recent call last)
Cell In[17], line 6
4 decoder = WatermarkDecoder('bytes', 32)
5 watermark = decoder.decode(bgr, 'dwtDct')
----> 6 print(watermark.decode('utf-8'))

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte

image

@chiragsanghvi1
Copy link

@ikuboo : Use this watermark = decoder.decode(bgr, 'dwtDctSvd')

@d8958101
Copy link

d8958101 commented Mar 6, 2024

dwtDctSvd
Same problem happenned to me. "dwtDctSvd" works for me!
Thanks for sharing,

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

3 participants