a-yushpande-y / DWT-SVD-Watermarking

Python code for inserting a watermark in the host image using Discrete Wavelet Transform and Singular Value Decomposition
16 stars 8 forks source link

Error #1

Open edwardocano opened 3 years ago

edwardocano commented 3 years ago

I have this error. TypeError: ufunc 'bitwise_xor' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe'

amiga-500 commented 3 years ago

I believe this is due to he incorrectly assuming the "^" represents "power of" when in fact in python "^" means XOR. So that "^" needs to be changed to "**".

From what i am seeing this guy has a TON of bugs. But i doubt it will ever be fixed.