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

From ESS-WIKI
Jump to: navigation, search
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
= 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.
+
= Installation =
 
 
Dduble click the icon ( in the red box ) on the Destop to start the Edge AI SDK App.
 
  
[[File:EdgeAISDK StartApp.jpg|600px|Step1.png]]
 
  
== Quick Guide Video ==
 
<!--[[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.
+
== System Requirements ==
  
[[File:EAS-UserGuide-Vision-1.png|600px]]
+
*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.  
  
 
&nbsp;
 
&nbsp;
  
Step 2. Choose one application you want to activate and then confirm inference info, as shown below.
+
== Install ==
  
( 1. Object detection, 2. Face detection, 3. Person detection, 4. Pose estimation )
+
'''<span style="color:#e74c3c;"><span style="font-size:larger;">NOTE:</span></span>'''
  
[[File:EAS-UserGuide-Vision-2.png|600px]]
+
<span style="color:#e74c3c;">'''* Not Using (sudo su or sudo ) to install'''</span>
  
&nbsp;
+
<span style="color:#e74c3c;">'''* An active Internet connection is required'''.</span>
  
Step 3. Choose your video source which could be video clips or the USB Camera, as shown below.
+
'''<span style="color:#e74c3c;">* Don't "apt upgrade" before installation</span>'''
 +
<pre>$tar zxvf Edge_AI_SDK-installer-<version>.tar.gz
 +
$./Edge_AI_SDK-installer.run
 +
</pre>
  
'''Video&nbsp;'''<span style="color:#c0392b;">( Note: .MP4 only )</span>
+
[[File:EAS-installer-run-s1.png|600px|EAS-installer-run-s1.png]]
  
[[File:EAS-UserGuide-Vision-3.png|600px]]
+
*License Aggreement
&nbsp;
 
  
'''or USB Camera&nbsp;'''
+
[[File:EAS Install s2.png|600px|EAS Install s2.png]]
  
[[File:EAS-UserGuide-Vision-4.png|600px]]
+
*System Information ( by target platform )
  
&nbsp;
+
[[File:Installer-3.0.0-p1.png|600px|Installer-3.0.0-p1.png]]
  
Step 4. Choose one of the acceleration chipsets to execute selected inference application, as shown below.
+
*Select AI Accelerator SDK&nbsp;  
 
 
( <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]]
 
&nbsp;
 
 
 
Step 5. Another window will pop up to show the AI inference, as shown below.
 
  
[[File:Objection Detect.png|600px|Objection Detect.png]]
+
[[File:Installer-3.0.0-p2.png|600px|Installer-3.0.0-p2.png]]
  
== Object Detection ==
+
*Select GenAI SDK&nbsp;
  
'''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.
+
[[File:Installer-3.0.0-p3.png|600px|Installer-3.0.0-p3.png]]
  
 
&nbsp;
 
&nbsp;
  
[[File:Objection Detect.png|600px|Objection Detect.png]]
+
== Activation ==
  
== Person Detection ==
+
*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.&nbsp;
  
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.
+
[[File:EAS-Activataion-S1.png|600px|EAS-Activataion-S1.png]]
  
[[File:Person Detect.png|600px|Person Detect.png]]
+
<br/> &nbsp;
  
== Face Detection ==
+
*License agreement.&nbsp;Please review EULA and then press the Activation button if the content is agreed.
  
'''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.
+
[[File:EAS-Activataion-S2.png|600px|EAS-Activataion-S2.png]]
  
[[File:Face Detect.png|600px|Face Detect.png]]
+
<br/> * Activation&nbsp;Code: If it’s available to access internet, a dialog will pop up to ask you to enter a token for activation.
  
== Pose Estimation ==
+
[[File:EAS-Activataion-S3.png|600px|EAS-Activataion-S3.png]]
  
'''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.
+
<br/> &nbsp;
  
[[File:Pose Detect.png|600px|Pose Detect.png]]
+
== Uninstall ==
 +
<pre>cd /opt/Advantech/EdgeAISuite
  
= How to Quickly Start GenAI =
+
./unInstall.sh</pre>
Step 1. Go to the “Quick Start (GenAI)”&nbsp;page, as shown below.
 
 
 
[[File:EAS-UserGuide-GenAI-1.png|600px]]
 
  
 
&nbsp;
 
&nbsp;
Step 2. Choose application (chatbot) , as shown below.
 
  
[[File:EAS-UserGuide-GenAI-2.png|600px]]
+
= Quick Guide =
  
&nbsp;
+
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&nbsp;GPU, and provides runtime results inferenced with ML.
Step 3. Choose one of the acceleration chipsets to execute selected chatbot application, as shown below.
 
  
[[File:EAS-UserGuide-GenAI-4.png|600px]]
+
Dduble click the icon ( in the red box )&nbsp;on the Destop to start the Edge AI SDK App.
  
&nbsp;
+
[[File:EdgeAISDK StartApp.jpg|600px|Step1.png]]
Step 4. Another window will pop up to show the chatbot , as shown below.
 
  
[[File:EAS-UserGuide-GenAI-5.png|600px]]
+
== How to Quickly Start Vision AI ==
  
&nbsp;
+
Step 1. Go to the “Quick Start (Vision)”&nbsp;page, as shown below.
  
= Monitor AI System Performance =
+
  [[File:EAS-UserGuide-Vision-1.png|600px|EAS-UserGuide-Vision-1.png]]
 
 
Go to the “System Monitoring” page. This page shows payload and temperature for each chipset, as shown below.
 
 
 
  [[File:system-info-1.png|600px]]
 
  
 
&nbsp;
 
&nbsp;
  
= Evaluate the Benchmark Performance =
+
Step 2. Choose one application you want to activate and then confirm inference info, 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.
+
( 1. Object detection, 2. Face detection, 3. Person detection, 4. Pose estimation )
  
[[File:benchmark-vison.png|600px]]
+
[[File:EAS-UserGuide-Vision-2.png|600px|EAS-UserGuide-Vision-2.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.
 
  
[[File:benchmark-genai.png|600px]]
+
Step 3. Choose your video source which could be video clips or the USB Camera, as shown below.
  
&nbsp;
+
'''Video&nbsp;'''<span style="color:#c0392b;">( Note: .MP4 only )</span>
  
 +
[[File:EAS-UserGuide-Vision-3.png|600px|EAS-UserGuide-Vision-3.png]] &nbsp;
  
 +
'''or USB Camera&nbsp;'''
  
 +
[[File:EAS-UserGuide-Vision-4.png|600px|EAS-UserGuide-Vision-4.png]]
  
 +
&nbsp;
  
= Install Information for Device =
+
Step 4. Choose one of the acceleration chipsets to execute selected inference application, as shown below.
  
{| border="1" cellpadding="1" cellspacing="1" data-endline="54" data-startline="40" style="width: 1470px;"
+
( <span style="color:#c0392b;">Note:&nbsp; The available accelerator chipsets&nbsp;depend on your AI system&nbsp;and accelerator card.</span> )
|-
 
! style="width: 487px;" | Device
 
! style="width: 408px;" | Vision (limitation)
 
! style="width: 341px;" | GenAI  (limitation)
 
|-
 
  
+
[[File:EAS-UserGuide-Vision-5.png|600px|EAS-UserGuide-Vision-5.png]] &nbsp;
 
<!--|colspan="1" rowspan="4" style="text-align: center; width: 122px;" |-->
 
 
  
 +
Step 5. Another window will pop up to show the AI inference, as shown below.
  
| style="text-align: left; width: 487px;" | * ARK-3534 (Intel 13<sup>th</sup> Gen Core i9, RAM:64G) / EAI-3100 / Ubuntu 22.04
+
[[File:Objection Detect.png|600px|Objection Detect.png]]
| style="width: 408px;" |  
 
*OpenVINO 2023.3.0-LTS (runtime)
 
*OpenCV 4.7.0
 
*Intel OpenVINO's benchmark_app
 
*Vision Demos:
 
**Object Detection&nbsp;
 
**Person Detection
 
**Face Recognition
 
**Pose Estimation 
 
*GenAI Demos:
 
**Chatbot(Llama-2-7b)&nbsp;
 
  
 +
=== Object Detection ===
  
| style="width: 341px;" |
+
'''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.
*<span style="color:#e74c3c;">Ubuntu 22.04 intel-iotg</span>
 
**<span style="color:#e74c3c;">kernel:5.15.0-1027-intel-iotg</span> 
 
  
|-
+
&nbsp;
| style="text-align: left; width: 487px;" | * AIR-150 (Intel 13<sup>th</sup> Gen Core i5, RAM:64G) / Hailo-8 / Ubuntu 22.04<br/>
 
| style="width: 408px;" |
 
*OpenVINO 2023.3.0-LTS (runtime)
 
*OpenCV 4.7.0
 
*Intel OpenVINO's benchmark_app
 
*Hailo AI Suite 1.0.2
 
*Vision Demos:
 
**Object Detection&nbsp;
 
**Person Detection
 
**Face Recognition
 
**Pose Estimation 
 
*GenAI Demos:
 
**Chatbot(Llama-2-7b)&nbsp;  
 
  
 +
[[File:Objection Detect.png|600px|Objection Detect.png]]
  
| style="width: 341px;" |
+
=== Person Detection ===
*<span style="color:#e74c3c;">Ubuntu 22.04 intel-iotg</span>
 
**<span style="color:#e74c3c;">kernel:5.15.0-1027-intel-iotg</span> 
 
  
|-
+
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.
| style="text-align: left; width: 487px;" |  * AIR-510 (Intel 12<sup>th</sup> Gen Core i9, RAM:64G) / RTX-A5000 / Ubuntu 22.04
 
| style="width: 408px;" |
 
*OpenVINO 2023.3.0-LTS (runtime)
 
*OpenCV 4.7.0
 
*Deepstream 6.4
 
*Intel OpenVINO's benchmark_app
 
*Vision Demos:
 
**Object Detection&nbsp;
 
**Person Detection
 
**Face Recognition
 
**Pose Estimation 
 
*GenAI Demos:
 
**Chatbot(Llama-2-7b)&nbsp;  
 
  
 +
[[File:Person Detect.png|600px|Person Detect.png]]
  
| style="width: 341px;" |
+
=== Face Detection ===
*<span style="color:#e74c3c;">Ubuntu 22.04 intel-iotg</span>
 
**<span style="color:#e74c3c;">kernel:5.15.0-1027-intel-iotg</span> 
 
  
|-
+
'''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.
| style="width: 487px;" | * AIR-030 (Jetson AGX Orin RAM:32G) / None / Ubuntu 20.04
 
| style="width: 408px;" |
 
*Deepstream 6.2
 
*jetson_benchmarks
 
*Vision Demos:
 
**Object Detection&nbsp;  
 
**Person Detection
 
**Face Recognition
 
**Pose Estimation 
 
*GenAI Demos:
 
**Chatbot(Llama-2-7b)&nbsp;
 
  
 +
[[File:Face Detect.png|600px|Face Detect.png]]
  
| style="width: 341px;" |
+
=== Pose Estimation ===
*Ubuntu 20.04
 
**kernel:5.10.104-tegra 
 
*JetPack 5.1.2
 
*L4T: 35.3.1
 
  
|}
+
'''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.
  
 +
[[File:Pose Detect.png|600px|Pose Detect.png]]
  
 +
== How to Quickly Start GenAI ==
  
= Installation =
+
Step 1. Go to the “Quick Start (GenAI)”&nbsp;page, as shown below.
  
'''<span style="color:#e74c3c;"><span style="font-size:larger;">NOTE:</span></span>'''
+
[[File:EAS-UserGuide-GenAI-1.png|600px|EAS-UserGuide-GenAI-1.png]]
  
<span style="color:#e74c3c;">'''* Not Using (sudo su or sudo ) to install'''</span>
+
&nbsp; Step 2. Choose application (chatbot) , as shown below.
  
<span style="color:#e74c3c;">'''* An active Internet connection is required'''.</span>
+
[[File:EAS-UserGuide-GenAI-2.png|600px|EAS-UserGuide-GenAI-2.png]]
  
'''<span style="color:#e74c3c;">* Don't "apt upgrade" before installation</span>'''
+
&nbsp; Step 3. Choose one of the acceleration chipsets to execute selected chatbot application, as shown below.
<pre>$tar zxvf Edge_AI_SDK-installer-<version>.tar.gz
 
$./Edge_AI_SDK-installer.run
 
</pre>
 
 
 
[[File:EAS-installer-run-s1.png|600px|EAS-installer-run-s1.png]]
 
  
*License Aggreement
+
[[File:EAS-UserGuide-GenAI-4.png|600px|EAS-UserGuide-GenAI-4.png]]
  
[[File:EAS Install s2.png|600px|EAS Install s2.png]]
+
&nbsp; Step 4. Another window will pop up to show the chatbot , as shown below.
  
*System Information ( by target platform )
+
[[File:EAS-UserGuide-GenAI-5.png|600px|EAS-UserGuide-GenAI-5.png]]
[[File:installer-3.0.0-p1.png|600px]]
 
  
*Select AI Accelerator SDK&nbsp;
 
[[File:installer-3.0.0-p2.png|600px]]
 
 
*Select GenAI  SDK&nbsp;
 
[[File:installer-3.0.0-p3.png|600px]]
 
 
 
&nbsp;
 
&nbsp;
  
= Activation =
+
== Monitor AI System Performance ==
  
*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.&nbsp;
+
Go to the “System Monitoring” page. This page shows payload and temperature for each chipset, as shown below.
  
[[File:EAS-Activataion-S1.png|600px|EAS-Activataion-S1.png]]
+
[[File:System-info-1.png|600px|System-info-1.png]]
  
<br/> &nbsp;
 
  
*License agreement.&nbsp;Please review EULA and then press the Activation button if the content is agreed.
+
== Evaluate the Benchmark Performance ==
  
[[File:EAS-Activataion-S2.png|600px|EAS-Activataion-S2.png]]
+
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.
 
 
<br/> * Activation&nbsp;Code: If it’s available to access internet, a dialog will pop up to ask you to enter a token for activation.
 
 
 
[[File:EAS-Activataion-S3.png|600px|EAS-Activataion-S3.png]]
 
 
 
<br/> &nbsp;
 
  
= Uninstall =
+
[[File:Benchmark-vison.png|600px|Benchmark-vison.png]]
<pre>cd /opt/Advantech/EdgeAISuite
 
  
./unInstall.sh</pre>
+
&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.
 
 
&nbsp;
 
 
 
&nbsp;
 
 
 
&nbsp;
 
  
[[Category:Editor]]
+
[[File:Benchmark-genai.png|600px|Benchmark-genai.png]]

Latest revision as of 07:53, 1 July 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:

* Not Using (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