Versions Compared

Key

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

...

With the i-PRO Camera SDK that supports Container AdamApp, you can run containers with various configurations in the i-PRO camera by describing the app configuration in a Docker compose configuration file. This allows you to create new feature extension software in the form of a Docker containerdevelop camera application as docker application, and if you have already developed a Docker container that runs running on PC or another server or device, you can easily run port it on the camera by porting it according to this documentto camera. This document explains how to create a Container AdamApp with multiple containers using the docker_multi_images sample app included in the SDK as an example.

2. Overview

2.1

...

Design docker container architecture

Info

Please refer here for information on which to choose between the existing AdamApp, Container AdamApp for AzureIoT, and the ext version of Container AdamApp.

...

and Cotainer AdamApp for Azure IoT Edge.

The container configuration depends on Docker compose configuration file (docker-compose.yaml). In the docker-compose.yaml file, you can start multiple containers

Multiple containers also work by specifying multiple service names in the file.

Below is a conceptual diagram showing Following diagram shows the difference in configuration between the conventional AdamApp(not the docker) and the example of Container AdamApp.

Drawio
mVer2
zoom1
simple0
inComment0
custContentId1528037395
pageId1474888488
lbox1
diagramDisplayNameadam_vs_containeradam.drawio
contentVer1
revision1
baseUrlhttps://iproiot.atlassian.net/wiki
diagramNameadam_vs_containeradam.drawio
pCenter0
width1020.5
links
tbstyle
height1060.5

The above is a conceptual diagram the example of running multiple containers within one extension software camera application (one ext format binary), but since the new X Series cameras allow for multiple apps to be installed, it is also possible to run multiple independent apps simultaneously.The .

There are some options and the following are guidelines for selecting the configuration depending on the applicationarchitecture.

No.

Use Cases

Configure the app

Conceptual diagram

1

If you want to containerize an app that has already been developed using i-PRO CAMERA SDK

An existing app is simply containerized, creating one app with one container configurationPort existing docker application for AI processing on PC or another device to i-PRO camera.

One app with one container.

Process to get video image and AI processing need to be replaced by ADAM API

Drawio
mVer2
simple0
zoom1
inComment0
pageId14748884881538556241
custContentId15328549401543766720
diagramDisplayName名称未設定ファイル-1725850726446.drawio
lbox1
contentVer21
revision2
baseUrlhttps://iproiot.atlassian.net/wiki
diagramName名称未設定ファイル-1725850726446.drawio
pCenter0
width431.0000000000001
links
tbstyle
height320.99999999999994321

2

If you want to port an AI app developed for a device other than the Convert exiting AdamApp (conventional i-PRO camera to the i-PRO cameraOne app) to Container AdamApp

An existing app is simply containerized, creating one app with one container configuration, replacing the AI ​​functions and video acquisition parts of the existing app with the ADAM API

3

If you want to easily port an app that does not have AI functions and has been developed for devices other than the i-PRO camera to the .

3

Port existing docker application without AI processing on PC or another device to i-PRO camera.

One app that consists of with two containers: one with management functions for i-PRO cameras and one that runs existing apps.

Main container for management by firmware and Sub container for existing container application.

In case existing docker application consist of multiple containers like third party OSS, those will be Sub container 1 and Sub container 2.

A container with management functions for i-PRO cameras and one application with multiple existing container configurations
Drawio
mVer2
simple0
zoom1
inComment0
pageId14748884881538556241
custContentId15325932141543963234
diagramDisplayNameコンテナケース3-1725850796064.drawio
lbox1
contentVer23
revision24
baseUrlhttps://iproiot.atlassian.net/wiki
diagramNameコンテナケース3-1725850796064.drawio
pCenter0
width451
linkstbstyle
height321

4

If you want to port an app with multiple container configurations, such as OSS, that has been developed for devices other than the i-PRO camera to the i-PRO camera

diagramNameコンテナケース3-1725850796064.drawio
pCenter0
width451
links
tbstyle
height321
Drawio
mVer2
simple0
zoom1
inComment0
pageId14748884881538556241
custContentId15331168871543864993
diagramDisplayName複数コンテナケース4.drawio
lbox1
contentVer21
revision2
baseUrlhttps://iproiot.atlassian.net/wiki
diagramName複数コンテナケース4.drawio
pCenter0
width601
links
tbstyle
height321

5

If you want to port two loosely related apps that do not communicate directly between each other and are developed by different companies to an i-PRO camera4

Port two existing docker applications that has no relation each other.

Two apps

Drawio
mVer2
simple0
zoom1
inComment0
pageId14748884881538556241
custContentId15328223851543865022
diagramDisplayName複数コンテナケース5.drawio
lbox1
contentVer21
revision2
baseUrlhttps://iproiot.atlassian.net/wiki
diagramName複数コンテナケース5.drawio
pCenter0
width631
links
tbstyle
height321

6

If you have multiple apps that want Multiple containers that both need to use the ADAM API

Two apps

...

If you want to run an existing container on an i-PRO camera, you can add the docker_multi_images image for management from the camera, and the existing container can be run on the camera with minimal changes.

Drawio
simple
mVer2
simple0
zoom1
0inComment0custContentId1491337304
pageId14748884881538556241
lboxcustContentId11543832138
diagramDisplayNamedocker_multi_images構成.drawio
lbox1
contentVer1
revision12
baseUrlhttps://iproiot.atlassian.net/wiki
diagramNamedocker_multi_images構成.drawio
pCenter0
width721
links
tbstyle
height791

...