How to install OpenCV with CUDA GPU in windows 10 | Python

preview_player
Показать описание
⭐️ Content Description ⭐️
In this video, I have explained on how to install opencv with cuda gpu support in windows 10. I have also explained how to install cuda and cuda toolkit in this video, so you could use gpu for deep learning. Please follow all the steps in orderly manner for successful installation.

Download Links:-
Cuda Toolkit - conda install -c conda-forge cudatoolkit=11.2 cudnn=8.1.0

Make a small donation to support the channel 🙏🙏🙏:-

🕒 Timeline
00:00 Introduction to OpenCV CUDA
01:01 Install Visual Studio and Tools
02:32 Install CUDA Toolkit and Cudnn
04:19 Download CMake and OpenCV
05:15 Install CMake
06:07 Configure OpenCV with CMake
13:07 Build and Install OpenCV CUDA
14:40 Test OpenCV performance with CUDA

#opencv #machinelearning #hackersrealm #cuda #deeplearning #datascience #model #project #artificialintelligence #beginner #analysis #python #tutorial #aswin #ai #dataanalytics #data #bigdata #programming #datascientist #technology #coding #datavisualization #computerscience #pythonprogramming #analytics #tech #dataanalysis #iot #programmer #statistics #developer #ml #business #innovation #coder #dataanalyst
Рекомендации по теме
Комментарии
Автор

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!!

Jem_Link
Автор

How do you enable nvidia video codec headers?

LaloHao
Автор

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?

brooksnelson
Автор

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?

lukasTHEwise
Автор

Error in configuration process, project files may be invalid.

I'm getting this error after the process at 10 th minute

kaviprasadjay
Автор

I built opencv using cmake. but i can not import cv2 in anaconda prompt.

serybet
Автор

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?

MozillaMayhem
Автор

If anyone else is having issues make sure you are using visual studio 2019 for some reason the 2022 version doesnt work :0

golden
Автор

cv2.error: OpenCV(4.8.0) 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?

ofeksasson
Автор

i can import cv2 but not have any module: __version__ not work, all not work. only i can import it

aimusicgenerates
Автор

Please make video introduction to nim game hackerrank solution

rajajairamrameshbabu
Автор

it is saying project files matbe invalid in cmake

sam_razum
Автор

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

BLOCKBUSTERMOVIES-brys
Автор

is this video complete? where should we place the folder should we add any environment variable?

angeljo
Автор

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"

vebjrnpedersen
Автор

Это не работает. Сборка CMake прошла успешно. Но импорт cv2 невозможен
>>> import cv2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'cv2'

YetiRUS