Example using Project Generation Wizard

Content

 

Introduction

The application is shown in the diagram below.

 

How to build your own smart application

Using SynView Explorer Project Generation Wizard

Start SynView Explorer on Corsight camera

Using Project Generation Wizard

From the Source Code menu select Project Generation Wizard… to start source code generation.

Configure your example project as shown below. Select your prefered programming Language, select a Template such as using OpenCV and configure Template parameters. After all concluding with the Generate project button.

Project is generated to the target folder.

Navigate to target folder and use make command to build example project.

 

Add new camera features to the example project

The generated source code project from the steps above can be found below. In this section it is shown how to add additional camera features to your source code project using SynView Explorer code snippet.

Starting from scratch repeat the following steps:

  1. Start an OpenSSH with X-Server forwarding.

  2. Stop iAMGigEServer if it is still running on the camera.

  3. Start SynView Explorer with the command sv.explorer or from a host terminal with the full command below.
    ssh -Y root@192.168.1.10 "(export XILINX_XRT=/usr/ ; /opt/synview/bin/sv.explorer)"

Code Snippet for WhiteBalanceAuto (CustomControl cathegory)

  1. From the Feature tree expand your desired cathegory and select a feature, eg. WhiteBalanceAuto .

  2. Now the code snippet can be found in the Info toolbox at bottom left of SynView Explorer.

  3. Just copy and paste to the source code of your project.

© Copyright 2020 NET GmbH. Privacy Statement