Skip to content

Latest commit

 

History

History

OpenCV-dnn-gpu-support-Linux

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

How to use OpenCV DNN Module with NVIDIA GPUs on Linux

This repository contains the code for How to use OpenCV DNN Module with NVIDIA GPUs On Linux blogpost.

download

Models

Download models from the following sources.

COCO

MPI

Run Code:

C++

mkdir build
cd build
cmake ..
make
cd ..
./build/OpenPoseVideo <input_file> <gpu/cpu>

Python

python OpenPoseVideo.py --device=<cpu/gpu> 

AI Courses by OpenCV

Want to become an expert in AI? AI Courses by OpenCV is a great place to start.