The Computer Vision Toolbox™ Interface for OpenCV in Simulink enables you to import OpenCV code into Simulink. This support package requires Computer Vision Toolbox and Simulink Coder™.
You can also generate C++ code from the Simulink model and deploy into your target hardware.
You can import OpenCV code to a Simulink model by using the OpenCV Importer application. For more information, see Install and Use Computer Vision Toolbox Interface for OpenCV in Simulink.
FromOpenCV | Converts OpenCV data types to Simulink data types |
ToOpenCV | Converts Simulink data types to OpenCV data types |
Install and Use Computer Vision Toolbox Interface for OpenCV in Simulink
Import OpenCV code into Simulink.
Smile Detection by Using OpenCV Code in Simulink
Detect intensity of smile in an image by using OpenCV Importer.
Convert RGB Image to Grayscale Image by Using OpenCV Importer
Convert an RGB image to a grayscale image by using OpenCV Importer.
Draw Different Shapes by Using OpenCV Code in Simulink
Draw different shapes by using OpenCV Importer.