Several Computer Vision Toolbox™ functions can generate C/C++ code. To generate C/C++ code from MATLAB® code that contains Computer Vision Toolbox functions, classes, or System objects, you must have a MATLAB Coder™ license. In general, the code you generate from Computer Vision Toolbox blocks is portable ANSI® C code. After you generate the code, you can deploy it on another machine.
For a list of usage notes and limitations using the supported functions, classes, and System objects, refer to the Code Generation Support, Usage Notes, and Limitations table.
This example shows how to use the MATLAB® Coder™ to generate C code for a MATLAB file.
This example shows how to use the MATLAB® Coder™ to generate C code for a MATLAB function, which uses the
stereoParameters object produced by Stereo Camera Calibrator app or the
This example shows how to generate code from Face Detection and Tracking Using the KLT Algorithm example with packNGo function.
Generate CUDA® code for object detection using YOLO v2.
This example shows how a Video Processing system that implements counting of objects in input video.