Комментарии:
al steps fine , but i dont find the python3 folder inside lib, no pyd file of python3 that it is checked and all paths are done
Ответитьthanks bro. you're awesome!
Ответитьyou just explained the procedure, but not why you are doing what you are doing, would be great if you did
ОтветитьHi, I need help... Its really emergency
CMake Error at cuda_compile_1_generated_gpu_mat.cu.obj.Release.cmake:220 (message):
Error generating
C:/OpenCV_Build/build/modules/world/CMakeFiles/cuda_compile_1.dir/__/core/src/cuda/Release/cuda_compile_1_generated
_gpu_mat.cu.obj
I'm getting this error when I run this command: "C:\Program Files\CMake\bin\cmake.exe" --build "C:\OpenCV_Build\build" --target INSTALL --config Release
In my case, all going smoothly but the cmkae cmd stop at this "opencv_test_core SSE4_2.vcxproj -> C:\FILES\OPENCV_BUILD\Build\modules\world\opencv_test_core SSE4_2.dir\Release\ope ncv_test_core_SSE4_2.lib" and no other explanation, just stop at that. In a video the command prompt say "installing" when done but mine different. Anyonw how to solve it? Thank you
Ответитьi want see opencv4.6.0 with cuda please i need help
ОтветитьI am not getting cv2 in site packages...can you pls tell what's the problem
ОтветитьHi, @TheCodingBug, I followed your all steps, but last command didn't generate cv2 library. and and during running, I found a warning message. "error C2065: 'DIFFERENT_SIZES_EXTRA' : undeclared identifier [C:\OpenCV_Build\build\modules\world\opencv_test_cudawarping.vcxproj]". Kindly resolve my issue.
ОтветитьBy following this video also i was not able to do "import Cv".. .then i reinstalled Anaconda by choosing the Path to the environment variable and then finally i got " import Cv". currently i am using python 3.10.9..with this version i tried to create a Virtual environment.. but i am facing error here..
the error is like :
(base) C:\Users\FHW>conda create -n opencv_gpu python-3.10
Collecting package metadata (current_repodata.json): done
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed.
can you please help me with this ?
Thank you so much for your explanation.. it helps a lot and saves a lot of time.
ОтветитьPS C:\OpenCV_Build> "C:\Program Files\CMake\bin\cmake.exe" --build "C:\OpenCV_Build\build" --target INSTALL --config Release
At line:1 char:42
+ "C:\Program Files\CMake\bin\cmake.exe" --build "C:\OpenCV_Build\build ...
+ ~~~~~
Unexpected token 'build' in expression or statement.
At line:1 char:1
+ "C:\Program Files\CMake\bin\cmake.exe" --build "C:\OpenCV_Build\build ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The '--' operator works only on variables or on properties.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorReco
rdException
+ FullyQualifiedErrorId : UnexpectedToken
help pls
Thank you so much! Had too fix some errors along the way but it only took about ~2 hours even with the journey I had too take too solve the errors. Thanks for keeping me from days of figuring this out.
ОтветитьI am trying to configure OpenCV 4.6 in the virtual environment. However, the program is unable to detect numpy even after running the --upgrade command of numpy to the latest version. I even checked whether numpy is installed in the virtual environment, even after numpy being installed, CMake is still not detecting the numpy version in the NUMPY_INCLUDE_DIRS section. After several attempts, I even manually copied the numpy's installed path in the virtual environment to the NUMPY_INCLUDE_DIRS slot to see atleast if that works. It still won't detect numpy's version. It still mentions python3 bindings unavailable. How to solve this?
Your assistance on this would be greatly beneficial.
I am getting this error in cmake :
CMake Error at modules/dnn/CMakeLists.txt:45 (message):
DNN: CUDA backend requires cuDNN. Please resolve dependency or disable
OPENCV_DNN_CUDA=OFF
Call Stack (most recent call first):
modules/world/CMakeLists.txt:13 (include)
modules/world/CMakeLists.txt:32 (include_one_module)
CUDA is installed
CUDNN is installed and added to enviroment variables
nvcc --version is working
hi, when I tried installing opencv using cmake, I get an error saying "error in configuration process, project files may be invalid". How to fix this please help.
ОтветитьI encounter an error during the import of cv2 after the installation. When I try importing cv2, it gives an error saying "DLL load failed error when importing cv2". If it helps in any way, I had a lot of warnings while building the same in the final stage. I checked for the pyd file's existence in the site packages of the cv2 folder as you pointed it out.
Please do help. Thanks!
help a lot, thx
ОтветитьDoes this work with python version 3.9?
ОтветитьI followed this tutorial and it recognizes my gpu and even run simple codes for gpu test. But when i run a code with cv2.dnn.DNN_BACKEND_CUDA and cv2.dnn.DNN_TARGET_CUDA nothing happens. It doesn't show any module missing or any error message, but the video where it should appear the detected objects crashes. The code isn't the problem because i tested it on google colab and works fine. Also it works fine when i let with cpu parameters. Could you tell me what do you think is may causing this problem? Thanks in advance for your attention !!
Ответить