Real-Time Object Detection with YOLO v2 Using GPU Coder

Example of real-time object detection using YOLO v2 on NVIDIA GPUs
Updated 7 May 2019

View License

You can use GPU Coder™ in tandem with the Deep Learning Toolbox™ to generate code and deploy deep learning networks on embedded platforms that use NVIDIA® Jetson and Drive platforms. The pretrained networks and examples such as object detection, image classification, and driver assistance applications make it easy to use GPU Coder for deep learning, even without expert knowledge on neural networks, deep learning, or advanced computer vision algorithms.
We start with a published example in MATLAB that explains how to train a YOLO v2 object detector and, using GPU Coder™, we generate optimized CUDA code and using the hardware support package for NVIDIA® GPUs, we deploy the generated code to the Jetson Xavier board as a standalone application.
The download contains the additional scripts and the functions that you could use to generate code.
Please refer to the following documentation link for the example in MATLAB and all the necessary files:
Object Detection Using YOLO v2 Deep Learning:

Link to the video:

Cite As

MathWorks GPU Coder Team (2024). Real-Time Object Detection with YOLO v2 Using GPU Coder (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2019a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Deep Learning with GPU Coder in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes