mzucker / page_dewarp

Text page dewarping using a "cubic sheet" model
https://mzucker.github.io/2016/08/15/page-dewarping.html
MIT License
1.44k stars 241 forks source link

Script not compatible with python 3 #17

Closed danepeterpadley closed 4 years ago

danepeterpadley commented 4 years ago

I have attached the script makes page_dewarp.py compatible with python 3 for anyone looking for this, like I was.

page_dewarp.txt

Just save as .py and it should work!