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

From ESS-WIKI
Jump to: navigation, search
 
(34 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
 +
= 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 ==
 +
 +
'''<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;">'''* An active Internet connection is required'''.</span>
 +
 +
'''<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>
 +
 +
[[File:EAS-installer-run-s1.png|600px|EAS-installer-run-s1.png]]
 +
 +
*License Aggreement
 +
 +
[[File:EAS Install s2.png|600px|EAS Install s2.png]]
 +
 +
*System Information ( by target platform )
 +
 +
[[File:Installer-3.0.0-p1.png|600px|Installer-3.0.0-p1.png]]
 +
 +
*Select AI Accelerator SDK&nbsp;
 +
 +
[[File:Installer-3.0.0-p2.png|600px|Installer-3.0.0-p2.png]]
 +
 +
*Select GenAI SDK&nbsp;
 +
 +
[[File:Installer-3.0.0-p3.png|600px|Installer-3.0.0-p3.png]]
 +
 +
&nbsp;
 +
 +
== 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.&nbsp;
 +
 +
[[File:EAS-Activataion-S1.png|600px|EAS-Activataion-S1.png]]
 +
 +
<br/> &nbsp;
 +
 +
*License agreement.&nbsp;Please review EULA and then press the Activation button if the content is agreed.
 +
 +
[[File:EAS-Activataion-S2.png|600px|EAS-Activataion-S2.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.
 +
 +
[[File:EAS-Activataion-S3.png|600px|EAS-Activataion-S3.png]]
 +
 +
<br/> &nbsp;
 +
 +
== Uninstall ==
 +
<pre>cd /opt/Advantech/EdgeAISuite
 +
 +
./unInstall.sh</pre>
 +
 +
&nbsp;
 +
 
= Quick Guide =
 
= Quick Guide =
  
Line 7: 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 23: 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 31: 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 43: 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 51: 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 59: 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 65: 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 71: 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 77: 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;
 
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]]
+
&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;
+
[[File:Benchmark-genai.png|600px|Benchmark-genai.png]]
[[Category:Editor]]
 

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