phulin / rebook

A collection of tools for cleaning up book scans.
132 stars 30 forks source link

Python 3.7 for Page dewarping #12

Closed apacha closed 4 years ago

apacha commented 4 years ago

Upgraded to Python 3.7 for page dewarping:

I created a new conda environment (with Python 3.7) for testing this. With the exception of numpy (which had to be installed with conda install numpy, you should be able to run pip install -r requirements.txt to install all necessary packages and perform page dewarping and binarization with Python 3.7. Other functionality than dewarping and binarization has not been tested.

I'm using the script with python batch.py -f IMG_0118.PNG --dewarp . Might be interesting for #8.

phulin commented 4 years ago

This looks great, thank you!!