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

No module named cv2 / add requirements.txt file? #2

Closed aurelg closed 8 years ago

aurelg commented 8 years ago

Very nice project. However, I just can't make it work because of missing cv2 requirement (and possibly others):

Traceback (most recent call last):
  File "../page_dewarp.py", line 15, in <module>
    import cv2
ImportError: No module named cv2

Perhaps you could add a requirements.txt file to your repo?

mzucker commented 8 years ago

Changed readme in 438bdc614e0d7cffd948cde50f910f775956dc73 and added a requirements file in 5c587b5bfa6718656bb4cf82260d2b98f4fe5682 as you suggested.