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