Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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


web_template_app is a sample app that detects the detection target according to the settings.
You can detect the detection target according to the settings as shown below.

20240516-144807.png

External libraries required for operation


To build with C/C++, need below:

libjpeg

To build with Python, need below:

Numpy

OpenCV

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/web_template_app

The Python source code is stored below.

${SDK_DIR}/src/adamapp-py/web_template_app

How to build the sample app (C/C++)


See here for building with C/C++.

However, the header file to be used must be stored below.
Please refer to ADD_INCLUDE_PATH in Makefile for details.

${SDK_DIR}/src/adamapp/web_template_app\external\include\libjpeg-turbo-1.5.3

You can confirm that it works by storing the file below.

jconfig.h
jerror.h
jmorecfg.h
jpeglib.h

Also, in the C/C++ version, you can select whether or not to display developer comments at build time. Make as shown below.
【With developer comments displayed】
make clean
make CFLAG=BASIC_MSG

【No developer comments displayed】
make clean
make

How to build the sample app (Python)


See here for building with Python.

How to use the sample app


This shows how to use the sample app. Here, it is indicated as [With developer comments displayed].

・Setting the detection area

Click the "Detection Area" tab and click anywhere on the live image. Below, the detection areas are set for 1 (white): bicycle and 2 (blue): person.

20240516-144801.png

・検知することを確認する

「ライブ」タブを押下し左下の「アラーム履歴表示」をチェックします。ライブ画に人物が映ると右側のリストにアラーム名称:人物(検知エリア2)が検知され、履歴に残ることが確認できます。

20240516-144802.png

・基本設定を確認する

「基本設定」タブを押下し基本設定を変更できます。

20240516-144803.png

・アラーム設定を確認する

「アラーム」タブを押下しアラーム設定を変更できます。

20240516-144804.png

・ログを確認する

「ログ」タブを押下し各ログを確認できます。

20240516-144805.png

・設定データを管理する

「設定データ」タブを押下し設定をバックアップおよび復元できます。

20240516-144806.png

・ライセンスを管理する

アプリケーションのライセンス管理機能はパートナー様で開発頂く必要があります。

20240510-125706.png

補足情報


・設定の変更

このアプリケーションには、ユーザーが変更できるいくつかの設定があります。 アプリケーションにて変更が可能ですので、実際の動作を確認ください。

  • No labels