Simple App Example using Project Generation Wizard

Content

 

Introduction

On this page you will see how to write your own simple application for iam camera.

The iam linux system contains build tools, therefore it is possible to compile native on the camera.

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 iam camera

Detailed Discription can be found from the links below.

  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)"

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