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

Installation error due to cv2 dependency #33

Open SoumenDass opened 6 months ago

SoumenDass commented 6 months ago

I created a virtualenv and tried to install in it like below:

$ pip install -r ./requirements.txt 
Collecting page_dewarp
  Downloading page_dewarp-0.1.5-py3-none-any.whl (23 kB)
Collecting numpy
  Using cached numpy-1.26.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB)
Collecting scipy
  Downloading scipy-1.13.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (38.6 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 38.6/38.6 MB 13.9 MB/s eta 0:00:00
Collecting Image
  Downloading image-1.5.33.tar.gz (15 kB)
  Preparing metadata (setup.py) ... done
ERROR: Could not find a version that satisfies the requirement cv2>=3.0 (from versions: none)
ERROR: No matching distribution found for cv2>=3.0

Python version:

$ python3 --version
Python 3.10.12