OpenCV Interface Support for Simulink

Import OpenCV code into Simulink®

The Computer Vision Toolbox™ OpenCV Interface for Simulink enables you to import OpenCV code into Simulink. This support package requires Computer Vision Toolbox. You can also generate C++ code from the generated Simulink model and deploy into your target hardware.

Blocks

FromOpenCVConverts Opaque (OpenCV) data types to Simulink data types
ToOpenCVConverts Simulink data types to Opaque (OpenCV) data types

Topics

Install and Use Computer Vision Toolbox OpenCV Interface for Simulink

Import OpenCV code into Simulink.

Smile Detection by Using OpenCV Code in Simulink

Smile detection by using OpenCV Importer.

Convert RGB Image to Grayscale Image by Using OpenCV Importer

RGB to grayscale conversion by using OpenCV Importer app.

Draw Different Shapes by Using OpenCV Code in Simulink

Draw different shapes by using OpenCV Importer.