Thank you so much for this. I have been trying to install opencv with cuda for a few days now and there was always some new error that I could not resolve. This is the first tutorial that worked without any issues. Thank you so much!!
@HackersRealmАй бұрын
glad it helps!!!
@kaviprasadjay24736 ай бұрын
Error in configuration process, project files may be invalid. I'm getting this error after the process at 10 th minute
@BicTic20 күн бұрын
same anyone got a fix?
@golden50237 ай бұрын
If anyone else is having issues make sure you are using visual studio 2019 for some reason the 2022 version doesnt work :0
@akosbalint34853 ай бұрын
I have just run into this issue, vs2019 is working fine.
@user-se6ry6be1t5 ай бұрын
I built opencv using cmake. but i can not import cv2 in anaconda prompt.
@lukasTHEwise Жыл бұрын
It doesn't show the specific python paths in CMake for me, just the build. After adding them manually, the CMake installation just stops after 30-40 seconds and it didn't install the library, do these cases have anything in common or what could be the reason?
@LaloHao6 ай бұрын
My CMake is also having problems finding python, did you manage to solve it?
@brooksnelson78708 ай бұрын
Great video. One question. If I have a virtual environment already developed, can I build the make file in the environment? Would I have to activate environment then follow your steps?
@HackersRealm8 ай бұрын
I think you can use on any environment once the installation process is done. It's like a global installation similar to microsoft vs build tools
@MozillaMayhem8 ай бұрын
CMake Error at modules/dnn/CMakeLists.txt:53 (message): DNN: CUDA backend requires cuDNN. Please resolve dependency or disable OPENCV_DNN_CUDA=OFF what is my fix for this?
@HackersRealm8 ай бұрын
You have to install cuda drivers for your nvidia gpu
@3dmixer55217 күн бұрын
@@HackersRealm I have but still getting this error:(
@sam_razum6 ай бұрын
it is saying project files matbe invalid in cmake
@Th3Test56565 ай бұрын
same did u figure it out ive tried everything still no luck
@BLOCKBUSTERMOVIES1-br9ys3 ай бұрын
How to fix this error please:CMake Error at modules/dnn/CMakeLists.txt:41 (message): DNN: CUDA backend requires cuDNN. Please resolve dependency or disable OPENCV_DNN_CUDA=OFF
@HackersRealm3 ай бұрын
You need a nvidia graphics card and install the cuda toolkit to avoid this error
@aimusicgenerates9 ай бұрын
i can import cv2 but not have any module: __version__ not work, all not work. only i can import it
@HackersRealm9 ай бұрын
that's strange, if you can import without issues, then it should ideally work
@ofeksasson Жыл бұрын
cv2.error: OpenCV(4.8.0) D:\a\opencv-python\opencv-python\opencv\modules\core\include\opencv2/core/private.cuda.hpp:106: error: (-216:No CUDA support) The library is compiled without CUDA support in function 'throw_no_cuda' im getting this error after following your video, do you know of a fix?
@HackersRealm Жыл бұрын
you might need to install cuda drivers for the nvidia gpu... If that's working then this issue will be resolved
@ofeksasson Жыл бұрын
@@HackersRealm I have the latest drivers and both cuda and cudnn are working when I use tensorflow and pytorch. Only when I try to use GPU with opencv I get the problems
@emre_tif9 ай бұрын
check your system variable paths if you have still that error because i fix that way @@ofeksasson
@TheAhmedps6 ай бұрын
same problem have you managed to solve it?
@LaloHao6 ай бұрын
How do you enable nvidia video codec headers?
@ruzgar962925 күн бұрын
i got error in configuration process, project files may be invalid
@HackersRealm19 күн бұрын
could you please share when you're getting this error? at which step?
@LoukboomYT11 күн бұрын
@@HackersRealm its when am configure after all option check
@ggbpb3249Күн бұрын
same thing, have you been able to solve this problem?
@LoukboomYT13 сағат бұрын
@@ggbpb3249 nope sorry try windows 10
@vebjrnpedersen10917 ай бұрын
i get: Could not find OpenBLAS include. Turning OpenBLAS_FOUND off Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off Could NOT find BLAS (missing: BLAS_LIBRARIES) Could NOT find LAPACK (missing: LAPACK_LIBRARIES) Reason given by package: LAPACK could not be found because dependency BLAS could not be found. Could NOT find Java (missing: Java_JAVA_EXECUTABLE Java_JAR_EXECUTABLE Java_JAVAC_EXECUTABLE Java_JAVAH_EXECUTABLE Java_JAVADOC_EXECUTABLE) Could NOT find JNI (missing: JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 AWT JVM) VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file Configuring incomplete, errors occurred! And an error pop up, when trying to "Generate"
Это не работает. Сборка CMake прошла успешно. Но импорт cv2 невозможен >>> import cv2 Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'cv2'
@HackersRealm3 ай бұрын
kindly check the environment you're trying to use, I have used anaconda environment and installed there for usage.
@YetiRUS3 ай бұрын
@@HackersRealmя не могу найти в CMake параметр BUILD_opencv_python3
@NicelySatisfiedАй бұрын
@@HackersRealm please explain how do i check the environment
@HackersRealmАй бұрын
@@YetiRUS type "conda env list" in cmd to check the environment. then install the packages on the selected environment. If you don't have anaconda, please install it, as it will ease the process
@angeljo60207 ай бұрын
is this video complete? where should we place the folder should we add any environment variable?
@HackersRealm7 ай бұрын
yes the video is complete, and once you complete all the steps, you can access the same way like importing opencv module
@angeljo60207 ай бұрын
@@HackersRealm i tried and gave up , got a prebuilt whl package
@HackersRealm7 ай бұрын
@@angeljo6020If you can share the whl package link, it would be helpful to others as well.
@MintHimself3 ай бұрын
@@angeljo6020 yoo could i get that prebuild whl package? sat here for 4 hours tryina figure this shit out
@BicTic19 күн бұрын
nice didnt work "Error in configuration process, project files may be invalid." i see you responding to all msgs just not these ones so no help at all
@HackersRealm19 күн бұрын
could you please share at which step you're getting this error?
@BicTic19 күн бұрын
@@HackersRealm in cmake following your guide ive even tried it in cmd cmake -G "Visual Studio 17 2022" ^ -A x64 ^ -D CMAKE_BUILD_TYPE=Release ^ -D CMAKE_INSTALL_PREFIX=D:/OpenCV-GPU/opencv-4.10.0/build ^ -D OPENCV_EXTRA_MODULES_PATH=D:/OpenCV-GPU/opencv_contrib-4.x/modules ^ -D WITH_CUDA=ON ^ -D CUDA_TOOLKIT_ROOT_DIR="C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.2" ^ -D WITH_CUBLAS=ON ^ -D OPENCV_DNN_CUDA=ON ^ -D CMAKE_CXX_STANDARD=11 ^ -D CMAKE_CXX_STANDARD_REQUIRED=ON ^ -D WITH_CUDNN=ON ^ -D BUILD_opencv_world=ON ^ .. I still get an error
@BicTic19 күн бұрын
@@HackersRealm my comment got deleted or flagged un hide it
@abdulwahabmalik945215 күн бұрын
i was getting the same error, i changed visual studio s version from 2022 to 2017 and it is working now
@BicTic14 күн бұрын
@@abdulwahabmalik9452 dont you have to pay i cant go back to older vs? thanks anyway
@rajajairamrameshbabu7605 Жыл бұрын
Please make video introduction to nim game hackerrank solution