invisible-watermark
invisible-watermark copied to clipboard
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte
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
@ikuboo : Use this watermark = decoder.decode(bgr, 'dwtDctSvd')
dwtDctSvd Same problem happenned to me. "dwtDctSvd" works for me! Thanks for sharing,