OpenCV GPU: Installing OpenCV with GPU for Python using VS Code and CUDA

preview_player
Показать описание

You will also get access to all the technical courses inside the program, also the ones I plan to make in the future! Check out the technical courses below 👇

_____________________________________________________________

In this video 📝 we are going to Install and Build OpenCV with GPU for Python. We are going to use NVIDIA Cuda to run our OpenCV programs on an NVIDIA GPU. We will go over the installation process for all the required programs and files. We will then use CMake to do the configuration of the OpenCV source files and then build them with GPU support later on. At the end of the video, I'll show how we can include the OpenCV library with GPU support in Visual Studio Code and see how we can verify that everything is set up correctly.

If you enjoyed this video, be sure to press the 👍 button so that I know what content you guys like to see.

_____________________________________________________________

_____________________________________________________________

_____________________________________________________________

📞 Connect with Me:

_____________________________________________________________

🎮 My Gear (Affiliate links):
🖥️ Desktop PC:

_____________________________________________________________

Timestamps:
0:00 - Overview
2:30 - Download OpenCV Source
3:37 - Anaconda and Python
7:33 - CMake Configuration
19:34 - Verify Installation and VSCode Setup Python

Tags:
#OpenCV #opencvGPU #NVIDIA #Cuda #ComputerVision #OpenCVpython #Python
Рекомендации по теме
Комментарии
Автор

Join My AI Career Program
Enroll in My School and Technical Courses

NicolaiAI
Автор

Your video was very helpful! I was able to compile with no problems :) Thank you so much!

yvrip
Автор

Dude, you are some kind of a genius. I could spend the rest of my life trying to figure all this out. All your steps worked flawlessly (I did run into some issues with cudnn but that had nothing to do with your instructions. Very well done!

davidkinney
Автор

Thanks man, After many tutorial videos, and many text tutorial, This is the one is work !!

Thank you !!

ajipriyowibowo
Автор

En af det bedste tutorial for installation af python og cuda.

zainahmed
Автор

Thanks so much for this, this is the first tutorial that helped me actually achieve this! :)
For some reason, it doesn't work for OpenCV 4.5.4, but 4.5.2 will do just fine for now

frankukec
Автор

Thanks man, I am almost done installing this. rn I am waiting for another hour to complete this all.

Tip for others : Strictly follow the requirements with versions (I mean everything VS, numpy, python, all of them). I tried this to install on vs 15 2017 and struggled alot. there were also many problems while installing because of too many python interpreters listed on environment vairables, later I had to remove all those which weren't needed like 3.9 and 2.7. finally now it worked. and almost there to complete all steps.

pruthvirajmhaske
Автор

thanks so much for this guide! helped me out a ton

RicanSamurai
Автор

Thank you for teaching. This video let me done 😀

Lou-hljo
Автор

Thanks brother. video was very helpful.

vipingautam
Автор

Thanks U, for your video, so detail, and true

banhbeobotgao
Автор

Thanks for this great tutorial! I have a question: To install this in an anaconda environment, i just have to use path of python file and libs files of this environment? I did it today and i had a problem: this only install the "Headless" version of opencv...

francoislievens
Автор

All configure and build steps went smooth but importation of cv2 fails (Also I got quite a few errors in the Release command on CMD) Please Help?

MS-fkec
Автор

Hi..Thank you so much for this video man.. your explanation for the Anaconda path saved me a lot.. that was so useful for me. but once i start with your command in Anaconda prompt with cmake... that was not working for me. I getting an error like "there is no directory like cmake" I got stuck here.. and what is the meaning of INSTALL in that command? can you please explain this..? I looking forward to your reply. Thank you.

ShittheswaranSelvakumar
Автор

Hi sir, Idk what did I do wrong. My cmaketarget after i build the install, it only show 1 success with 0 fail. In your case its 2 success. Then, when I try verify whether I installed opencv or no, it shows no. (cannot import cv2). Do you know problem like this this?

ahuman
Автор

at the end i've this error on anaconda "ModuleNotFoundError: No module named 'cv2'"

I can't get it why ..could you help me please ?

beatbyvenom
Автор

and if the build folder is in a different place. how will conda add this package to the environment?

Legin
Автор

Hello i've gtx 1650 ti on my notebook when i try to tick option WITH_CUDA it gives me an error what should i do ?

ninjatekno
Автор

Hi! Thank you for your video. Really helps.
I wonder how can I install cv2 in other environments using the same Python version as compiled (3.8 for my

athanasioschatzipanagiotou
Автор

hello, I'm trying to install it with python 3.9, but when I type cv2.__version__ it gives version 4.5.5. opencv is not installed in anaconda

Tuncaycortez