System information (version) OpenCV => 4.5.5 Operating System / Platform => Ubuntu 20.04 64bit Compiler => gcc 9.4.0 cuda 11.2 cudnn 8.2.1 cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D INSTALL_PYTHON_EXAMPLES=ON...
$ rm -rf build4-main_static&&cmake -S opencv4 -B build4-main_static -DBUILD_SHARED_LIBS=OFF -DWITH_PROTOBUF=ON -DBUILD_LIST=core -GNinja>/dev/null&&cmake --build build4-main_static&&sudo cmake --install build4-main_static|grep protobuf [143/143] Linking CXX executable bin/open...
When I set backend to OPENCV (target CPU of course) it works fine. Here is an edited version of the code (so the net.forward isn't line 66 here) and I uncomment different backend/target lines when running: # import the necessary packages import numpy as np import ...
When I set backend to OPENCV (target CPU of course) it works fine. Here is an edited version of the code (so the net.forward isn't line 66 here) and I uncomment different backend/target lines when running: # import the necessary packages import numpy as np i...
net_.setPreferableBackend(cv::dnn::DNN_BACKEND_CUDA); net_.setPreferableTarget(cv::dnn::DNN_TARGET_CUDA); Environment OS: Windows 10 x64] CUDA 12.6 cuDNN 9.5 OpenCV 4.8.0 To Reproduce Steps to reproduce the behavior: .\vcpkg.exe install opencv[cuda,contrib,cudnn,dnn,freetype,jpeg,openm...
After building & installation of my customized version, I write a simple code as executable target, aims to providing break point entry, for further debugging into OpenCV source. However, when running, it complains "zlib1.dll" can't find (release mode), "zlibd1.dll" can't find (debug ...
When I set backend to OPENCV (target CPU of course) it works fine. Here is an edited version of the code (so the net.forward isn't line 66 here) and I uncomment different backend/target lines when running: # import the necessary packages import numpy as...
installed opencv with cuda via cmake run an inference (moblinetv1) using dnn cvNet.setPreferableBackend(cv2.dnn.DNN_BACKEND_CUDA) cvNet.setPreferableTarget(cv2.dnn.DNN_TARGET_CUDA) cvOut = cvNet.forward() got a warning: dnn.cpp (1314) cv::dnn::dnn4_v20191024::Net::Impl::setUpNet ...