Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Content

Excerpt
Table of Contents

Introduction

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

Info

The iam linux system contains build tools therefore it is possible to compile native on the camera. More Details can be found here Pre-Installed Open Source Libraries

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

Info

Detailed Discription can be found from the links below.

  1. Start an OpenSSH with X-Server forwarding.

  2. Stopp 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.

Image RemovedImage Added

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.

Image RemovedImage Added

Project is generated to the target folder.

Image RemovedImage Added
Info

The iam linux system contains build tools therefore it is possible to compile native on the camera. More Details can be found here Pre-Installed Open Source Libraries

Add new camera features to the example project

The generated source code project from the steps above can be found below. In this sectio it is shown how to add addional 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. Stopp 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 Snipped 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 procect.

Source Code Files

Attachments
uploadfalse
sortByname
labelscode-snippet