-
-
Notifications
You must be signed in to change notification settings - Fork 177
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
AttributeError: module 'cv2.detail' has no attribute 'WAVE_CORRECT_AUTO' #22
Comments
your opencv version seems pretty old (4.2.0). Please consider upgrading and let me know if it worked |
It worked. But another error occured. |
Try also upgrading numba |
After installing llvmlite-0.39.0 numba-0.56.0,new error occurred as below. |
are you on windows 11? maybe related to https://github.com/lukasalexanderweber/stitching_tutorial/issues/11 |
|
have you found a sollution? |
No. |
so you are using anaconda. You could try setting up a new virtual environment and install stitching there:
Check if stitching is available via conda: |
It didn't work.Error information is: 1 catastrophic error detected in the compilation of "0)PROCESS(0". |
on which call does the error happen? |
line:panorama = stitcher.stitch(["1.png", "2.png"]) print(stitching.version) # ok |
ok so the installation worked apperently.. Maybe it's a numba issue, try with
|
same error |
please share the EXACT steps what you are doing. |
I'm so sorry that I made a mistake. I didn't notice that PyCharm 2018.3.5(I'm using) doesn't support Python 3.8.
The IDE showed the error:
Then I tried on cmd.
I see the result.jpg although still have same error information. |
Is this fine for you? |
Yeah! It's so good! Thank you for your work. |
I installed it by pip,but it showed me AttributeError: module 'cv2.detail' has no attribute 'WAVE_CORRECT_AUTO'.What should I do?
C:\Users\Administrator>pip install stitching
Requirement already satisfied: stitching in d:\python\anaconda3\lib\site-package
s (0.3.0)
Requirement already satisfied: largestinteriorrectangle in d:\python\anaconda3\l
ib\site-packages (from stitching) (0.1.1)
Requirement already satisfied: opencv-python>=4.0.1 in d:\python\anaconda3\lib\s
ite-packages (from stitching) (4.2.0.34)
Requirement already satisfied: numpy>=1.14.5 in d:\python\anaconda3\lib\site-pac
kages (from opencv-python>=4.0.1->stitching) (1.21.6)
Requirement already satisfied: numba in d:\python\anaconda3\lib\site-packages (f
rom largestinteriorrectangle->stitching) (0.41.0)
Requirement already satisfied: llvmlite>=0.26.0dev0 in d:\python\anaconda3\lib\s
ite-packages (from numba->largestinteriorrectangle->stitching) (0.26.0)
The text was updated successfully, but these errors were encountered: