Develop MATLAB Code to Deploy to NVIDIA Jetson
In this example, you prepare MATLAB® code that implements a Sobel Edge Detection algorithm for standalone deployment to an NVIDIA® Jetson™ board. The algorithm uses the webcam connected to the Jetson hardware to take snapshots and displays an edge-detected image.
Before connecting to Jetson hardware from MATLAB, you must install the required software on the hardware board. See Prerequisites for Generating Code for NVIDIA Boards. Additionally, to run this example, you must have:
An NVIDIA Jetson embedded platform.
An Ethernet crossover cable to connect the target board and host PC. If you connect the board to a local network, a cable is not required.
A web camera connected to the USB or CSI port of the hardware board.
Audio and video libraries installed on the hardware board. To install the libraries, see Hardware Setup.
In this example, you:
Create MATLAB Function That Detects Edges Using Inputs From NVIDIA Jetson: Run the code in MATLAB with data acquired by the NVIDIA Jetson board.
Prepare Edge Detection Code for Deployment to NVIDIA Jetson: Refactor the code as a MATLAB function for code generation.
Deploy and Run Sobel Edge Detection on NVIDIA Jetson: Generate code and deploy the standalone Sobel edge detection application to the hardware board.