OpenCV Installation with CUDA in Ubuntu 18.04

WesleyCh3n
Sep 9, 2021

--

This is the note that I setup OpenCV 4.5.0 with GPU support (CUDA) for the use of darknet image pre-processing. So, installation might miss some regular prerequisite library like GTK functionalities that I don’t need.

You can change the version you prefer. For cmake option, make sure

-D WITH_CUDA=ON \
-D WITH_CUDNN=ON \

is ON, other configurations you can checkout official document for more information.

Reference:

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

WesleyCh3n
WesleyCh3n

Written by WesleyCh3n

0 Followers

NTU BME MS student. Programmer.

No responses yet

Write a response