Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small updates for Python 3.9 (and OpenCV 4.5) compatibility #25

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Jan 28, 2021

  1. Fixed print statement to function in derive_cubic.py (Python3 compa…

    …tibility).
    
    Successfully tested `derive_cubic.py` with Python==3.9.1, matplotlib==3.3.3, sympy==1.7.1 and numpy==1.19.4 .
    cweickhmann committed Jan 28, 2021
    Configuration menu
    Copy the full SHA
    62fbc44 View commit details
    Browse the repository at this point in the history
  2. Changed print from statement to function (Python3 compatibility).

    Changed divisions of floats by integers to floor division (//) statement (Python3 compatibility).
    Changed return tuple of cv2.findContours to "new" behaviour (using opencv-python==4.5.1).
    Successfully tested with python 3.9.1, cv2==4.5.1, numpy==1.19.4, scipy==1.5.4, PIL=8.0.1 .
    cweickhmann committed Jan 28, 2021
    Configuration menu
    Copy the full SHA
    3189f6a View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2023

  1. Implemented softer failure in case contours have no area or too few s…

    …pans are found.
    Christian Weickhmann committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    c8eda11 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' of github.com:cweickhmann/page_dewarp

    Christian Weickhmann committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    563d660 View commit details
    Browse the repository at this point in the history