Difference between revisions of "Edge AI SDK/User Guide 300"

From ESS-WIKI
Jump to: navigation, search
(change "not using" to "do not use")
 
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
 
= Installation =
 
= Installation =
  
== Install Requirement ==
 
  
{| border="1" cellpadding="1" cellspacing="1" data-endline="54" data-startline="40" style="width: 1470px;"
 
|-
 
! style="width: 487px;" | Device
 
! style="width: 408px;" | Vision (requirement)
 
! style="width: 341px;" | GenAI  (requirement)
 
|-
 
  
 
 
<!--|colspan="1" rowspan="4" style="text-align: center; width: 122px;" |-->
 
 
  
 +
== System Requirements ==
  
| style="text-align: left; width: 487px;" | * ARK-3534 (Intel 13<sup>th</sup> Gen Core i9, RAM:64G) / EAI-3100
+
*The installation of RTX-A5000 on Intel x86_64 requires 30 GB of Disk Space.
| style="width: 408px;" |
+
*The installation of GenAI on Intel 12~13th CPU requires 30 GB of Disk Space and 16 GB physical Memory.
*Physical RAM
+
*The installation of GenAI on Jetson AGX Orin requires 25 GB of Disk Space and 16 GB physical Memory.
**16GB
 
*Available Disk Size
 
**15GB
 
 
 
 
 
 
 
| style="width: 341px;" |
 
*Physical RAM
 
**16GB
 
*Available Disk Size
 
**30GB
 
 
 
|-
 
| style="text-align: left; width: 487px;" | * AIR-150 (Intel 13<sup>th</sup> Gen Core i5, RAM:64G) / Hailo-8
 
| style="width: 408px;" |
 
*Physical RAM
 
**16GB
 
*Available Disk Size
 
**15GB
 
  
 +
&nbsp;
  
| style="width: 341px;" |
+
== Install ==
*Physical RAM
 
**16GB
 
*Available Disk Size
 
**30GB
 
 
 
 
 
|-
 
| style="text-align: left; width: 487px;" |  * AIR-510 (Intel 12<sup>th</sup> Gen Core i9, RAM:64G) / RTX-A5000
 
| style="width: 408px;" |
 
*Physical RAM
 
**16GB
 
*Available Disk Size
 
**35GB
 
 
 
 
 
| style="width: 341px;" |
 
*Physical RAM
 
**16GB
 
*Available Disk Size
 
**30GB
 
 
 
|-
 
| style="width: 487px;" | * AIR-030 (Jetson AGX Orin RAM:32G) / None
 
| style="width: 408px;" |
 
*Physical RAM
 
**16GB
 
*Available Disk Size
 
**5GB
 
 
 
 
 
| style="width: 341px;" |
 
*Physical RAM
 
**16GB
 
*Available Disk Size
 
**25GB
 
 
 
|}
 
  
 
'''<span style="color:#e74c3c;"><span style="font-size:larger;">NOTE:</span></span>'''
 
'''<span style="color:#e74c3c;"><span style="font-size:larger;">NOTE:</span></span>'''
  
<span style="color:#e74c3c;">'''* Not Using (sudo su or sudo ) to install'''</span>
+
<span style="color:#e74c3c;">'''* Do NOT use (sudo su or sudo ) to install'''</span>
  
 
<span style="color:#e74c3c;">'''* An active Internet connection is required'''.</span>
 
<span style="color:#e74c3c;">'''* An active Internet connection is required'''.</span>
Line 97: Line 33:
  
 
*System Information ( by target platform )  
 
*System Information ( by target platform )  
  [[File:installer-3.0.0-p1.png|600px]]
+
 
 +
  [[File:Installer-3.0.0-p1.png|600px|Installer-3.0.0-p1.png]]
  
 
*Select AI Accelerator SDK&nbsp;  
 
*Select AI Accelerator SDK&nbsp;  
[[File:installer-3.0.0-p2.png|600px]]
 
  
*Select GenAI SDK&nbsp;  
+
[[File:Installer-3.0.0-p2.png|600px|Installer-3.0.0-p2.png]]
[[File:installer-3.0.0-p3.png|600px]]
+
 
+
*Select GenAI SDK&nbsp;  
 +
 
 +
[[File:Installer-3.0.0-p3.png|600px|Installer-3.0.0-p3.png]]
 +
 
 
&nbsp;
 
&nbsp;
  
Line 125: Line 64:
 
<br/> &nbsp;
 
<br/> &nbsp;
  
= Uninstall =
+
== Uninstall ==
 
<pre>cd /opt/Advantech/EdgeAISuite
 
<pre>cd /opt/Advantech/EdgeAISuite
  
 
./unInstall.sh</pre>
 
./unInstall.sh</pre>
  
 
+
&nbsp;
  
 
= Quick Guide =
 
= Quick Guide =
Line 140: Line 79:
 
[[File:EdgeAISDK StartApp.jpg|600px|Step1.png]]
 
[[File:EdgeAISDK StartApp.jpg|600px|Step1.png]]
  
== Quick Guide Video ==
+
== How to Quickly Start Vision AI ==
<!--[[File:EdgeAISDK OperationVideo.jpg|600px|EdgeAISDK OperationVideo.jpg|link=https://edgeaisuite.blob.core.windows.net/video/EdgeAISDK-Operation.mp4]]-->
 
 
 
= How to Quickly Start AI Inferences =
 
  
 
Step 1. Go to the “Quick Start (Vision)”&nbsp;page, as shown below.
 
Step 1. Go to the “Quick Start (Vision)”&nbsp;page, as shown below.
  
  [[File:EAS-UserGuide-Vision-1.png|600px]]
+
  [[File:EAS-UserGuide-Vision-1.png|600px|EAS-UserGuide-Vision-1.png]]
  
 
&nbsp;
 
&nbsp;
Line 155: Line 91:
 
( 1. Object detection, 2. Face detection, 3. Person detection, 4. Pose estimation )
 
( 1. Object detection, 2. Face detection, 3. Person detection, 4. Pose estimation )
  
  [[File:EAS-UserGuide-Vision-2.png|600px]]
+
  [[File:EAS-UserGuide-Vision-2.png|600px|EAS-UserGuide-Vision-2.png]]
  
 
&nbsp;
 
&nbsp;
Line 163: Line 99:
 
'''Video&nbsp;'''<span style="color:#c0392b;">( Note: .MP4 only )</span>
 
'''Video&nbsp;'''<span style="color:#c0392b;">( Note: .MP4 only )</span>
  
[[File:EAS-UserGuide-Vision-3.png|600px]]
+
[[File:EAS-UserGuide-Vision-3.png|600px|EAS-UserGuide-Vision-3.png]] &nbsp;
&nbsp;
 
  
 
'''or USB Camera&nbsp;'''
 
'''or USB Camera&nbsp;'''
  
[[File:EAS-UserGuide-Vision-4.png|600px]]
+
[[File:EAS-UserGuide-Vision-4.png|600px|EAS-UserGuide-Vision-4.png]]
  
 
&nbsp;
 
&nbsp;
Line 175: Line 110:
  
 
( <span style="color:#c0392b;">Note:&nbsp; The available accelerator chipsets&nbsp;depend on your AI system&nbsp;and accelerator card.</span> )
 
( <span style="color:#c0392b;">Note:&nbsp; The available accelerator chipsets&nbsp;depend on your AI system&nbsp;and accelerator card.</span> )
+
 
[[File:EAS-UserGuide-Vision-5.png|600px]]
+
[[File:EAS-UserGuide-Vision-5.png|600px|EAS-UserGuide-Vision-5.png]] &nbsp;
&nbsp;
 
  
 
Step 5. Another window will pop up to show the AI inference, as shown below.
 
Step 5. Another window will pop up to show the AI inference, as shown below.
Line 183: Line 117:
 
[[File:Objection Detect.png|600px|Objection Detect.png]]
 
[[File:Objection Detect.png|600px|Objection Detect.png]]
  
== Object Detection ==
+
=== Object Detection ===
  
 
'''Object Detection'''&nbsp;is a computer vision task in which the goal is to detect and locate objects of interest in an image or video. The task involves identifying the position and boundaries of objects in an image, and classifying the objects into different categories. It forms a crucial part of vision recognition, alongside image classification and retrieval.
 
'''Object Detection'''&nbsp;is a computer vision task in which the goal is to detect and locate objects of interest in an image or video. The task involves identifying the position and boundaries of objects in an image, and classifying the objects into different categories. It forms a crucial part of vision recognition, alongside image classification and retrieval.
Line 191: Line 125:
 
[[File:Objection Detect.png|600px|Objection Detect.png]]
 
[[File:Objection Detect.png|600px|Objection Detect.png]]
  
== Person Detection ==
+
=== Person Detection ===
  
 
Person Detection is based on&nbsp;'''object detection&nbsp;'''systems that can "detect human classification," i.e., have the data and training to classify the detected object as human. Person detection&nbsp;is used in many different sectors. These can be listed as security, insurance, nursing, health, and production. Technologies offer opportunities that can significantly increase customer satisfaction.
 
Person Detection is based on&nbsp;'''object detection&nbsp;'''systems that can "detect human classification," i.e., have the data and training to classify the detected object as human. Person detection&nbsp;is used in many different sectors. These can be listed as security, insurance, nursing, health, and production. Technologies offer opportunities that can significantly increase customer satisfaction.
Line 197: Line 131:
 
[[File:Person Detect.png|600px|Person Detect.png]]
 
[[File:Person Detect.png|600px|Person Detect.png]]
  
== Face Detection ==
+
=== Face Detection ===
  
 
'''Facial Detection&nbsp;'''is the task of making a positive identification of a face in a photo or video image against a pre-existing database of faces. It begins with detection - distinguishing human faces from other objects in the image - and then works on identification of those detected faces.
 
'''Facial Detection&nbsp;'''is the task of making a positive identification of a face in a photo or video image against a pre-existing database of faces. It begins with detection - distinguishing human faces from other objects in the image - and then works on identification of those detected faces.
Line 203: Line 137:
 
[[File:Face Detect.png|600px|Face Detect.png]]
 
[[File:Face Detect.png|600px|Face Detect.png]]
  
== Pose Estimation ==
+
=== Pose Estimation ===
  
 
'''Pose Estimation'''&nbsp;is a computer vision task where the goal is to detect the position and orientation of a person or an object. Usually, this is done by predicting the location of specific keypoints like hands, head, elbows, etc. in case of Human Pose Estimation.
 
'''Pose Estimation'''&nbsp;is a computer vision task where the goal is to detect the position and orientation of a person or an object. Usually, this is done by predicting the location of specific keypoints like hands, head, elbows, etc. in case of Human Pose Estimation.
Line 209: Line 143:
 
[[File:Pose Detect.png|600px|Pose Detect.png]]
 
[[File:Pose Detect.png|600px|Pose Detect.png]]
  
= How to Quickly Start GenAI =
+
== How to Quickly Start GenAI ==
 +
 
 
Step 1. Go to the “Quick Start (GenAI)”&nbsp;page, as shown below.
 
Step 1. Go to the “Quick Start (GenAI)”&nbsp;page, as shown below.
  
[[File:EAS-UserGuide-GenAI-1.png|600px]]
+
[[File:EAS-UserGuide-GenAI-1.png|600px|EAS-UserGuide-GenAI-1.png]]
  
&nbsp;
+
&nbsp; Step 2. Choose application (chatbot) , as shown below.
Step 2. Choose application (chatbot) , as shown below.
 
  
[[File:EAS-UserGuide-GenAI-2.png|600px]]
+
[[File:EAS-UserGuide-GenAI-2.png|600px|EAS-UserGuide-GenAI-2.png]]
  
&nbsp;
+
&nbsp; Step 3. Choose one of the acceleration chipsets to execute selected chatbot application, as shown below.
Step 3. Choose one of the acceleration chipsets to execute selected chatbot application, as shown below.
 
  
[[File:EAS-UserGuide-GenAI-4.png|600px]]
+
[[File:EAS-UserGuide-GenAI-4.png|600px|EAS-UserGuide-GenAI-4.png]]
  
&nbsp;
+
&nbsp; Step 4. Another window will pop up to show the chatbot , as shown below.
Step 4. Another window will pop up to show the chatbot , as shown below.
 
  
[[File:EAS-UserGuide-GenAI-5.png|600px]]
+
[[File:EAS-UserGuide-GenAI-5.png|600px|EAS-UserGuide-GenAI-5.png]]
  
 
&nbsp;
 
&nbsp;
  
= Monitor AI System Performance =
+
== Monitor AI System Performance ==
  
 
Go to the “System Monitoring” page. This page shows payload and temperature for each chipset, as shown below.
 
Go to the “System Monitoring” page. This page shows payload and temperature for each chipset, as shown below.
  
  [[File:system-info-1.png|600px]]
+
  [[File:System-info-1.png|600px|System-info-1.png]]
  
&nbsp;
 
  
= Evaluate the Benchmark Performance =
+
== Evaluate the Benchmark Performance ==
  
 
Go to the “System Monitoring” page and select Visoin. Click the “Run” button to evaluate each chipset performance and wait for a few seconds to get FPS results, as shown below.
 
Go to the “System Monitoring” page and select Visoin. Click the “Run” button to evaluate each chipset performance and wait for a few seconds to get FPS results, as shown below.
  
[[File:benchmark-vison.png|600px]]
+
[[File:Benchmark-vison.png|600px|Benchmark-vison.png]]
  
&nbsp;
+
&nbsp; Go to the “System Monitoring” page and select GenAI. Click the “Run” button to evaluate each chipset performance and wait for a few seconds to get tokens results, as shown below.
Go to the “System Monitoring” page and select GenAI. Click the “Run” button to evaluate each chipset performance and wait for a few seconds to get tokens results, as shown below.
 
  
[[File:benchmark-genai.png|600px]]
+
[[File:Benchmark-genai.png|600px|Benchmark-genai.png]]
 
 
&nbsp;
 
 
&nbsp;
 
 
 
&nbsp;
 
 
 
&nbsp;
 

Latest revision as of 06:25, 20 August 2024

Installation

System Requirements

  • The installation of RTX-A5000 on Intel x86_64 requires 30 GB of Disk Space.
  • The installation of GenAI on Intel 12~13th CPU requires 30 GB of Disk Space and 16 GB physical Memory.
  • The installation of GenAI on Jetson AGX Orin requires 25 GB of Disk Space and 16 GB physical Memory.

 

Install

NOTE:

* Do NOT use (sudo su or sudo ) to install

* An active Internet connection is required.

* Don't "apt upgrade" before installation

$tar zxvf Edge_AI_SDK-installer-<version>.tar.gz
$./Edge_AI_SDK-installer.run

EAS-installer-run-s1.png

  • License Aggreement
EAS Install s2.png
  • System Information ( by target platform )
Installer-3.0.0-p1.png
  • Select AI Accelerator SDK 

Installer-3.0.0-p2.png

  • Select GenAI SDK 

Installer-3.0.0-p3.png

 

Activation

  • User Information. Please fill in the required information one by one, especially a correct email. The following activation will need an available email. Then press the Next button to proceed. 

EAS-Activataion-S1.png


 

  • License agreement. Please review EULA and then press the Activation button if the content is agreed.

EAS-Activataion-S2.png


* Activation Code: If it’s available to access internet, a dialog will pop up to ask you to enter a token for activation.

EAS-Activataion-S3.png


 

Uninstall

cd /opt/Advantech/EdgeAISuite

./unInstall.sh

 

Quick Guide

Edge AI SDK caters to users who are comfortable with the machine learning (ML) experience. It can quickly evaluate computing performance for the CPU or GPU, and provides runtime results inferenced with ML.

Dduble click the icon ( in the red box ) on the Destop to start the Edge AI SDK App.

Step1.png

How to Quickly Start Vision AI

Step 1. Go to the “Quick Start (Vision)” page, as shown below.

EAS-UserGuide-Vision-1.png

 

Step 2. Choose one application you want to activate and then confirm inference info, as shown below.

( 1. Object detection, 2. Face detection, 3. Person detection, 4. Pose estimation )

EAS-UserGuide-Vision-2.png

 

Step 3. Choose your video source which could be video clips or the USB Camera, as shown below.

Video ( Note: .MP4 only )

EAS-UserGuide-Vision-3.png  

or USB Camera 

EAS-UserGuide-Vision-4.png

 

Step 4. Choose one of the acceleration chipsets to execute selected inference application, as shown below.

( Note:  The available accelerator chipsets depend on your AI system and accelerator card. )

EAS-UserGuide-Vision-5.png  

Step 5. Another window will pop up to show the AI inference, as shown below.

Objection Detect.png

Object Detection

Object Detection is a computer vision task in which the goal is to detect and locate objects of interest in an image or video. The task involves identifying the position and boundaries of objects in an image, and classifying the objects into different categories. It forms a crucial part of vision recognition, alongside image classification and retrieval.

 

Objection Detect.png

Person Detection

Person Detection is based on object detection systems that can "detect human classification," i.e., have the data and training to classify the detected object as human. Person detection is used in many different sectors. These can be listed as security, insurance, nursing, health, and production. Technologies offer opportunities that can significantly increase customer satisfaction.

Person Detect.png

Face Detection

Facial Detection is the task of making a positive identification of a face in a photo or video image against a pre-existing database of faces. It begins with detection - distinguishing human faces from other objects in the image - and then works on identification of those detected faces.

Face Detect.png

Pose Estimation

Pose Estimation is a computer vision task where the goal is to detect the position and orientation of a person or an object. Usually, this is done by predicting the location of specific keypoints like hands, head, elbows, etc. in case of Human Pose Estimation.

Pose Detect.png

How to Quickly Start GenAI

Step 1. Go to the “Quick Start (GenAI)” page, as shown below.

EAS-UserGuide-GenAI-1.png

  Step 2. Choose application (chatbot) , as shown below.

EAS-UserGuide-GenAI-2.png

  Step 3. Choose one of the acceleration chipsets to execute selected chatbot application, as shown below.

EAS-UserGuide-GenAI-4.png

  Step 4. Another window will pop up to show the chatbot , as shown below.

EAS-UserGuide-GenAI-5.png

 

Monitor AI System Performance

Go to the “System Monitoring” page. This page shows payload and temperature for each chipset, as shown below.

System-info-1.png


Evaluate the Benchmark Performance

Go to the “System Monitoring” page and select Visoin. Click the “Run” button to evaluate each chipset performance and wait for a few seconds to get FPS results, as shown below.

Benchmark-vison.png

  Go to the “System Monitoring” page and select GenAI. Click the “Run” button to evaluate each chipset performance and wait for a few seconds to get tokens results, as shown below.

Benchmark-genai.png