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

From ESS-WIKI
Jump to: navigation, search
(Created page with " = 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&nbsp...")
 
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
= Installation =
 +
== 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:EAS-Install s1.png|600px|EAS-Install s1.png]]
 +
 +
*Select AI Accelerator SDK&nbsp;
 +
 +
[[File:EAS-Install s2-update.png|600px|EAS-Install s2-update.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>
  
  
Line 13: Line 64:
 
[[File:EdgeAISDK OperationVideo.jpg|600px|EdgeAISDK OperationVideo.jpg|link=https://edgeaisuite.blob.core.windows.net/video/EdgeAISDK-Operation.mp4]]
 
[[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 =
+
== How to Quickly Start AI Inferences ==
  
 
Step 1. Go to the “Quick Start”&nbsp;page, as shown below.
 
Step 1. Go to the “Quick Start”&nbsp;page, as shown below.
Line 19: Line 70:
 
[[File:EAS-QS-2.png|600px|EAS-QS-2.png]]
 
[[File:EAS-QS-2.png|600px|EAS-QS-2.png]]
  
&nbsp;
 
  
 
Step 2. Choose one application you want to activate and then confirm inference info, as shown below.
 
Step 2. Choose one application you want to activate and then confirm inference info, as shown below.
Line 27: Line 77:
 
[[File:EAS-QS-3.png|600px|EAS-QS-3.png]]
 
[[File:EAS-QS-3.png|600px|EAS-QS-3.png]]
  
&nbsp;
 
  
 
Step 3. Choose your video source which could be video clips or the USB Camera, as shown below.
 
Step 3. Choose your video source which could be video clips or the USB Camera, as shown below.
Line 39: Line 88:
 
[[File:EAS-QS-5.png|600px|EAS-QS-5.png]]
 
[[File:EAS-QS-5.png|600px|EAS-QS-5.png]]
  
&nbsp;
 
  
 
Step 4. Choose one of the acceleration chipsets to execute selected inference application, as shown below.
 
Step 4. Choose one of the acceleration chipsets to execute selected inference application, as shown below.
Line 46: Line 94:
  
 
[[File:EAS-QS-6.png|600px|EAS-QS-6.png]]
 
[[File:EAS-QS-6.png|600px|EAS-QS-6.png]]
 
&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 53: Line 99:
 
[[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 61: Line 107:
 
[[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 67: Line 113:
 
[[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 73: Line 119:
 
[[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 79: Line 125:
 
[[File:Pose Detect.png|600px|Pose Detect.png]]
 
[[File:Pose Detect.png|600px|Pose Detect.png]]
  
= 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.
Line 85: Line 131:
 
[[File:EAS-System-Info.png|600px|EAS-System-Info.png]]
 
[[File:EAS-System-Info.png|600px|EAS-System-Info.png]]
  
&nbsp;
+
== Evaluate the AI Performance ==
 
 
= Evaluate the AI Performance =
 
  
 
Go to the “System Monitoring” page. 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. Click the “Run” button to evaluate each chipset performance and wait for a few seconds to get FPS results, as shown below.
  
 
[[File:EAS-Benchmark.png|600px|EAS-Benchmark.png]]
 
[[File:EAS-Benchmark.png|600px|EAS-Benchmark.png]]

Latest revision as of 05:09, 1 July 2024

Installation

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 )

EAS-Install s1.png

  • Select AI Accelerator SDK 

EAS-Install s2-update.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

Quick Guide Video

EdgeAISDK OperationVideo.jpg

How to Quickly Start AI Inferences

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

EAS-QS-2.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-QS-3.png


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

Video ( Note: .MP4 only )

EAS-QS-4.png

or USB Camera

EAS-QS-5.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-QS-6.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

Monitor AI System Performance

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

EAS-System-Info.png

Evaluate the AI Performance

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

EAS-Benchmark.png