Versions Compared

Key

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

...

Table of Contents
minLevel1
maxLevel4

Overview

...

AdamAppSDK (Application Development Kit for i-PRO AI Camera) works in Linux environment.

AdamAppSDK operating requirements

  • For development PC :x86_64(amd64)

  • For development OS :Ubuntu Linux 16.04 LTS (64bit版)
    Ubuntu Linux 18.04 LTS (64bit版)

  • development language :C/C++, Python

In this tutorial, assuming that the OS of the development PC is windows, explain the installation procedure of VirtualBox and Ubuntu.

If the OS of the development PC is Ubuntu, start by establishing the Preparation-for-establishing-the-SDK-development-environment.

Install VirtualBox

...

Download the installer

Download the VirtualBox installer from the website.

https://www.virtualbox.org/wiki/Downloads

Versions to be installed in the tutorial.

  • VirtualBox 6.1.36 platform packages

...

Click "Windows hosts" to download the installer.

Install VirtualBox

Follow the wizard to install.

No changes are required.

...

Once done, Virtual Box will start.

...

Establish Ubuntu environment

...

Download image file

Download the Ubuntu Desktop image file from the website.

http://releases.ubuntu.com/16.04/

http://releases.ubuntu.com/18.04/

Installation target OS in the tutorial

  • Ubuntu 18.04.6 LTS

...

Create a virtual machine

Start VirtualBox and click the "New (N)" button.

...

Select the virtual machine name and OS type.

  • Virtual machine name : Optional

  • OS type : Linux

  • Version : Ubuntu (64bit)

...

Arbitrarily allocate memory for the virtual machine. Recommended is 1024MB or more.

If you plan to use the AI model conversion tool, please make it at least 4096MB.

...

Create a virtual hard disk.

...

The hard disk file type does not need to be changed.

...

We recommend "Variable size" for the virtual hard disk.

...

Set arbitrary size.

...

Once complete, your virtual machine will be created.

...

Install Ubuntu

Install Ubuntu on the created virtual machine.

Start the created virtual machine.

...

Click the folder mark in the wizard that starts.

...

Click Add.

...

Select the image file you downloaded.

...

Click Select.

...

Click "Launch" to start the installation.

...

Set up Ubuntu

Configure Ubuntu.

Select your language and click Install Ubuntu.

...

Select your keyboard layout and click Continue.

...

Click Continue without making any changes.

...

Click Install without making any changes.

...

Click Continue.

...

Select your region and click Continue.

...

Set your login information and click Continue.

...

After the installation is complete, reboot the OS.

...

Type Enter and if it boots, you're done.

...

Network settings for communicating with the outside world

Configure settings for network access from outside VirtualBox. By default, NAT is set, so please use the setting as it is.

If you want VirtualBox to communicate with the Windows PC running VirtualBox, refer to the following URL and set Host only network.

http://christophermaier.name/blog/2010/09/01/host-only-networking-with-virtualbox

This completes the environment construction of the virtualization software VirtualBox and Ubuntu.

Please continue establishing the SDK environment.

Preparation for establishing the SDK development environment

...

The i-pro camera uses SoC provided by ambarella. Hereafter, ambarella's CV2X (generic term for chip types such as CV2, CV22, CV25, etc.) SoC will be abbreviated as ambaCV2X. There are SoCs such as CV52 with higher performance, in which case it is called ambaCV5X. Please see below for compatibility between the camera and the SoC used.
Installation conditions for applications - Technology Partner FAQ (En) - Confluence (atlassian.net)

Installing modules in accordance with each target

...

Info

If you are prompted for TOOLCHAIN PATH[/usr/local]: when you run ./ubuntuToolChain-201808, just press enter without typing anything. After that, the installation path will be automatically generated, so enter the Y key.

...

Install Google Chrome Browser from the URL below. The location to install Chrome can be either on Windows or on Ubuntu in VirtualBox.

Google Chrome browser :

http://www.google.com/chrome/

Installing Adam Operation UI in Chrome

Install the Adam Operation UI extension for Google Chrome.

Click “menu” -> “More tools” -> “Extensions”, and open “Extensions” page.

...

Open /tool folder using file manager, then drag and drop “AdamControlExtension” folder on Extensions page.

...

Enable “Developer mode” on Extensions page if you could not install the extension.

...

Info

If an Auth error is displayed when connecting to the ADAM OPERATION UI, please check the FAQ below.
ADAM OPERATION UI Shows Auth Error - Technology Partner FAQ (En) - Confluence (atlassian.net)

Installing Resource Monitor Extension in Chrome

Install Resource Monitor Extension for Google Chrome. The installation procedure is the same as Adam Operation UI Extension.

Open /tool folder using file manager, then drag and drop “ResourceMonitorExtension” folder on Extensions page.

...

Please refer to here for the instruction of Resource Monitor.

How to install AdamAppSDK

...

Code Block
$ cd <The directory in which a developer is going to install AdamAppSDK>
$ unzip iPRO_CAMERA_SDK_Vx_xx.zip 
$ ls –CF 
iPRO_CAMERA_SDK_Vx_xx/
Note

Be sure to copy the SDK zip file into Ubuntu before extracting the zip file. If you extract it on another OS such as Windows and then move it to Ubuntu, it will not work properly.

The installation is completed.

...