Description
System Information
Hello,
as many people, i tried to compile opencv with some options (like Cuda, GStreamer, etc.).
My system :
Windows 11 laptop
Python 3.11.2
Visual studio 2022
I successfully compiled opencv 4.7.0 and 4.5.5 with Cuda and GStreamer.
BUT, when i try to import cv2, for sure, i get an issue : DLL is missing or things like that. I saw topics about that kind of errors. It seems they are quite common. As for me, i give up, after trying many things with always the same result : epic fail.
I would like to say that it is really boring to spend so many time waiting for compilation result and seeing the issue when importing cv2.
I DO like opencv but it is really strange to have to compile opencv for very common extension like Cuda or GSttreamer. And of course, it is also more strange to spend hour in order to always get an issue. Really boring.
So, i have uninstalled everything (so i won't be able to reproduce the issue) and i use very standard opencv version without GPU acceleration and with crappy video encode. Too bad.
Please, try to make something more usable and more user friendly.
Many thanks in advance.
Alain
Detailed description
Can't import cv2
Steps to reproduce
Just compile opencv with Cuda & GStreamer and to to import cv2 with Python 3.11
You will get the issue.
Issue submission checklist
- I report the issue, it's not a question
- I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
- I updated to the latest OpenCV version and the issue is still there
- There is reproducer code and related data files (videos, images, onnx, etc)