3100 views|4 replies

2865

Posts

4

Resources
The OP
 

[Mill Edge AI Computing Box FZ5 Review] First experience with "object detection" [Copy link]

The two examples that come with edgeBorad, image classification runs smoothly, and now let's run "image calibration" also known as "object detection". This is an application for detecting screws and nuts. There was a detail that I didn't explain in the last test. At that time, I plugged in the DP cable. But it didn't work. I changed two monitors and still couldn't display the desktop. After issuing the startx command, an error occurred. It might be that the display driver doesn't match or there is something wrong with my minDP adapter cable, so I couldn't test the desktop application. I ordered a minDP to HDMI signal cable, and continued to test it after it arrived, but it still didn't work. Later, I finally figured it out, because the DP display core in the board only has DP bus signal but no HDMI display signal, and my signal cable is not an "active signal cable" so it can't be used. The ordinary cable only converts the signal level and has no function of converting the signal timing, so the desktop display still can't be tested. I briefly learned about the DP signal, and it seems very complicated. The DP display core will have compatibility issues. I'll test it after my minDP to DP cable arrives, so I can only use the terminal window for this experiment.
Let me first briefly introduce Baidu's AI products. Baidu's AI deep learning framework is PaddlePaddle. On this basis, we have developed the "zero threshold AI development platform (EasyDL) and video monitoring development platform (EasyMonitor)". It can also be said that EasyDL is the application version of artificial intelligence. What is edgeBorad? This product is an "offline computing platform" for artificial intelligence. That is, an offline application product of "artificial intelligence products". The steps for AI application development are as follows:
1. Use PaddlePaddle to "train the model".
2. After training the "model", import it into the SDK.
3. Use the SDK to develop applications.
The application has online and offline versions. edgeBorad is an offline version of the application platform. EasyDL is a development tool for this process. EasyDL greatly simplifies model training and application development. The example of machine learning is a pre-trained "model". Training the model requires a lot of data, and "layer adjustment" may be required in the middle. A trained model has extremely high commercial value. Therefore, many AI application developers are currently using deep learning frameworks to train models. For example, the edgeBorad currently tested can run the Baidu "model" SDK development application platform. To sum up, edgeBorad is a computing platform that can accelerate the operation of AI frameworks. Currently, edgeBorad is not a full-platform product, but an offline application platform.

I have registered an account on Baidu's AI platform. The edgeBorad application is charged, so the test will be carried out around the demo first. The authorization of edgeBorad is related to the purchase channel, which is currently being coordinated. Please wait patiently. It
is a pity that there is not much information about the CPU of edgeBorad FZ5. During the test, I tried to dig up more information for you. There is FPGA in the CPU of edgeBorad, and these FPGAs are units used to accelerate model calculations. The "driver" developed by Baidu is a software module that uses FPGA to accelerate neural networks. The "driver" needs to be loaded before running the application.
The last time I conducted a classification experiment was to let the machine "recognize objects". Later, I conducted more experiments and found that the model only recognized "zebras" and did not recognize the others. One of the examples of this experiment is that the resnet50 residual network recognizes beverages, which is still very interesting. It was found that the effect is OK. The fastest recognition speed is 4.346 seconds, and the confidence score is: 0.983295.
The experiment conducted this time is to identify objects. It is the screws and nuts in the picture.

cd /home/root/workspace/PaddleLiteSample/detection
mkdir build
cd build
cmake ..
make

After the compilation is complete, the experiment
./image_detection ../configs/vgg-ssd/screw.json
results are as follows:

driver_version: 1.5.1
paddle_lite_version: 1.5.1
label:1,score:0.999987 loc:1105,265,147,139
label:1,score:0.999972 loc:660,367,146,141
label:1,score:0.999971 loc:965,273,144,144
label:1,score:0.999956 loc:651,224,140,135
label:1,score:0.999888 loc:659,522,150,154
label:1,score:0.999881 loc:923,695,131,145
label:1,score:0.999833 loc:780,145,138,138
label:1,score:0.999699 loc:829,504,141,150
label:1,score:0.999419 loc:1090,413,135,144
label:1,score:0.988796 loc:1146,605,138,162
label:2,score:0.923222 loc:930,131,223,159
label:2,score:0.920051 loc:829,581,124,283
label:2,score:0.674371 loc:815,340,207,189
label:2,score:0.662774 loc:1021,536,133,240
label:2,score:0.497001 loc:635,669,200,186

Screws: 5, nuts: 10, time: 3.383 seconds

A result graph is also generated.

It seems wrong! In the picture, there are 6 screws and 10 nuts. "It seems that one screw is missing"

The USB camera is already being debugged.

This post is from Embedded System

Latest reply

It looks pretty good!!! Support one!   Details Published on 2021-3-11 09:30

赞赏

1

查看全部赞赏


1w

Posts

204

Resources
2
 

I just counted them and I think the machine counted them correctly. There are only 5... Where did the sixth one come from? I looked for a while before I found the sixth one.

-_-|| My eyesight is too poor.

Have you tested it several times? ? Check the accuracy

This post is from Embedded System
Add and join groups EEWorld service account EEWorld subscription account Automotive development circle
 
Personal signature

玩板看这里:

http://en.eeworld.com/bbs/elecplay.html

EEWorld测评频道众多好板等你来玩,还可以来频道许愿树许愿说说你想要玩的板子,我们都在努力为大家实现!

 

1w

Posts

204

Resources
3
 

If you encounter any problems during the evaluation process, you can tell me and I will give you feedback to Mir.

This post is from Embedded System
Add and join groups EEWorld service account EEWorld subscription account Automotive development circle

Comments

Thank you, got it! This platform is an application platform for running "models". The "model" remains unchanged no matter how many times the program is executed. Only by retraining the model can the recognition be improved. Training the model requires the use of the Paddle platform.  Details Published on 2021-3-11 09:45
 
Personal signature

玩板看这里:

http://en.eeworld.com/bbs/elecplay.html

EEWorld测评频道众多好板等你来玩,还可以来频道许愿树许愿说说你想要玩的板子,我们都在努力为大家实现!

 
 

1942

Posts

2

Resources
4
 

It looks pretty good!!! Support one!

This post is from Embedded System
 
 
 

2865

Posts

4

Resources
5
 
okhxyyo posted on 2021-3-10 16:42 If you encounter any problems during the evaluation process, you can tell me and I will give you feedback to Mir.

Thank you, got it! This platform is an application platform for running "models". The "model" remains unchanged no matter how many times the program is executed. Only by retraining the model can the recognition be improved. Training the model requires the use of the Paddle platform.

This post is from Embedded System
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews

Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list