Table of contents
Introduction
This explanation assumes that the i-PRO camera application development environment has been completed.
If you are not ready to build the development environment, please refer to here to complete it.
Also, in this tutorial, the SDK installation directory is described as ${SDK_DIR}
.
Operation overview
cgiSendCommandApp is a sample application that executes CGI for camera from GUI screen.
CGI can be executed from the following screen.
External libraries required for operation
To build with C/C++, need below:
libcurl
The use of external libraries will be explained later.
Directory path of the sample app
The C/C++ source code is stored below.
${SDK_DIR}/src/adamapp/cgiSendCommandApp
No Python source code.
How to build the sample app (C/C++)
See here for building with C/C++.
How to use the sample app
Press the AppPrefs button on the ADAM OPERATION UI before starting the sample application.
Please change the value of CameraUser and CameraPassword according to the camera to be used.
When start the sample application, the following screen will be displayed. Here, leave the CGI at the default value and press the button in the red frame.
If successful, the camera information will be displayed.
In the example below, some mosaic processing is applied.
Appendix
How to change preferences
This application has some preferneces which a user is able to change.
When changing some preferneces, push "AppPrefs" button in "ADAM OPERATION UI" html page.
CameraUser:
Camera login user.CameraPassword:
Camera login password.