You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I receive the following error when I ran fft-descreen for the first time using Python 3.6.8 (default, Oct 7 2019, 12:59:55)
[GCC 8.3.0] on linux; ubuntu 18.04
Traceback (most recent call last):
File "descreen.py", line 36, in <module>
middle = np.pad(ellipse(ew, eh), ((ph,rows-ph-eh*2-1), (pw,cols-pw-ew*2-1)), 'constant')
File "<__array_function__ internals>", line 6, in pad
File "/home/myusername/python/fft-descreen/.venv/lib/python3.6/site-packages/numpy/lib/arraypad.py", line 738, in pad
raise TypeError('`pad_width` must be of integral type.')
TypeError: `pad_width` must be of integral type.
What I did:
clone repository
cd to fft-descreen, run mkdir .venv && virtualenv -p /usr/bin/python3 --no-site-packages .venv
I receive the following error when I ran fft-descreen for the first time using Python 3.6.8 (default, Oct 7 2019, 12:59:55)
[GCC 8.3.0] on linux; ubuntu 18.04
What I did:
mkdir .venv && virtualenv -p /usr/bin/python3 --no-site-packages .venv
source .venv/bin/activate
)pip install opencv-python
(Successfully installed numpy-1.17.3 opencv-python-4.1.1.26).python3 descreen.py before.jpg after.jpg
I used fft-descreen successfully about 9-10 months on a separate installation of ubuntu (that was 16.04 and iirc, I used python2 then).
The text was updated successfully, but these errors were encountered: