Content
Excerpt | |
---|---|
|
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. |
Start an OpenSSH with X-Server forwarding.
Stopp iAMGigEServer if it is still running on the camera.
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.
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:
Start an OpenSSH with X-Server forwarding.
Stopp iAMGigEServer if it is still running on the camera.
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)
From the Feature tree expand your desired cathegory and select a feature, eg. WhiteBalanceAuto .
Now the code snippet can be found in the Info toolbox at bottom left of SynView Explorer.
Just copy and paste to the source code of your procect.
Source Code Files
Attachments | ||||||
---|---|---|---|---|---|---|
|