Test Example: Camera Viewer

Introduction

CASP supports multimedia features such as interfacing with camera, microphone, speakers etc. This example project validates whether OpenCV library dependencies are correctly installed on the computer. It shows a basic model

·       To view video from live USB camera

·       To apply edge detection to the camera output and view the edge detected video

·       To apply object detection to the camera output and view the resultant video

Model Details

·       A native camera block is added and its output is connected to an image viewer block.

·       The output of the camera block is also connected to edge detection and object detection blocks. Two additional image detection blocks are connected to the output of edge detection and object detection blocks.

     

How to run the project

·       Start CASP program open the project.

·       Click the Start button  to build the model and start simulation.

·       The output of simulation is shown below.