Skip to content

Latest commit

 

History

History
 
 

OpenCV-dnn-gpu-support-Linux

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Code for How to use OpenCV DNN Module with NVIDIA GPUs

This repository contains the code for How to use OpenCV DNN Module with NVIDIA GPUs

Models

Download models from

COCO : https://www.dropbox.com/s/2h2bv29a130sgrk/pose_iter_440000.caffemodel?dl=0

MPI : https://www.dropbox.com/s/drumc6dzllfed16/pose_iter_160000.caffemodel?dl=0

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.