TomStog / curved-text-alignment

A function that takes as input a cropped text line image, and outputs the dewarped image.
15 stars 3 forks source link

add documentation and files to specify dependency versions #2

Closed rramphal closed 7 months ago

rramphal commented 8 months ago

Thank you for this very cool project!

The README currently only specifies the PyGAM dependency, and yet the project itself has several other dependencies.

The project also has some complex dependency versioning:

This PR specify dependencies which satisfy these constraints via a requirements.txt file and a .python-version file. It also includes some hints towards installing an older version of Python. Finally, it reworks some of the text/headings for clarity.

abubelinha commented 7 months ago

@rramphal @tomstog is it possible to use this package for aligning full scanned pages? (i.e. with 30-40 lines of curvy text) The sample images in README only contain one or two lines, so I'd like to know before installing

TomStog commented 7 months ago

@abubelinha Thank you for your comment. Unfortunately, such an algorithm can't be used for full scanned pages at the current moment.