github

mzucker / page_dewarp

  • суббота, 20 августа 2016 г. в 03:12:29
https://github.com/mzucker/page_dewarp

Python
Text page dewarping using a "cubic sheet" model



page_dewarp

Page dewarping and thresholding using a "cubic sheet" model - see full writeup at https://mzucker.github.io/2016/08/15/page-dewarping.html

Requirements:

  • scipy
  • OpenCV 3.0 or greater
  • Image module from PIL or Pillow

Usage:

page_dewarp.py IMAGE1 [IMAGE2 ...]