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.
Import OpenCV code into Simulink.
Detect intensity of smile in an image by using OpenCV Importer.
Convert an RGB image to a grayscale image by using OpenCV Importer.
Draw different shapes by using OpenCV Importer.