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

syntax error line 739 #5

Closed Alessio-R closed 7 years ago

Alessio-R commented 7 years ago

I'm trying to run the script but it gives me an "invalid syntax" error at line 739 print ' initial objective is', objective(params).

I'm using Python 3.5 (I installed WinPython with scipy, numpy and pillow) and OpenCV 3.2, which I installed following the instructions found here: https://pythonarena.wordpress.com/2016/03/07/scientific-python-on-windows/

zacniewski commented 5 years ago

This repo requires Python2.