GitHub30/winocr

TypeError: a bytes-like object is required, not 'list'

machamy opened this issue · 3 comments

File "\winocr.py", line 18, in recognize_pil return recognize_bytes(img.tobytes(), img.width, img.height, lang) File "\winocr.py", line 11, in recognize_bytes writer.write_bytes(list(bytes))

I think something changed in DataWriter

pypi package wasn't updated yet?

I'll check it later

i have merged, thank you for your commit