夜夜大叔 · 2021年09月05日

【R329开发板评测】Windows下R329开发板+Debian系统的使用体验

前言

非常有幸获得由极术社区和矽速科技提供的R329开发板,下面就本人在Windows下使用R329开发板的体验进行总结。

使用工具

本人使用的烧录工具:Win32 Disk Imager;串口驱动:CH341SER;终端软件:MobaXterm

烧录debian镜像

debian镜像地址和烧录教程可参考链接
烧录完成后将下面OTC口接上电,会显示两个小企鹅
QQ图片20210905143640.jpg

将板子连上wifi并用SSH连接

在登陆界面中分别输入

maixsense login:root
Password:sipeed

登录后界面如下
QQ图片20210905144942.jpg
输入

nmtui

QQ图片20210905144947.jpg
选择Activate a connection,并选择自家wifi账号,输入wifi密码
QQ图片20210905144951.jpg

输入ip addr show,查看开发板ip地址
image.png

打开终端软件MobaXterm
新建SSH连接,并输入刚刚查看的ip地址和账号
image.png

连接完成后终端显示如下
QQ截图20210905145434.png

在终端下体验周易

由于默认镜像的 ~/zhouyi_test 目录下放置了zhouyi_cam 例程和模型,我们可以直接输入以下指令进行体验

cd ~/zhouyi_test/build
make clean
cmake ..
time make -j2

对应的终端log如下

root@maixsense:~# cd ~/zhouyi_test/build
root@maixsense:~/zhouyi_test/build# make clean
root@maixsense:~/zhouyi_test/build# cmake ..
-- Configuring done
-- Generating done
-- Build files have been written to: /root/zhouyi_test/build
root@maixsense:~/zhouyi_test/build# time make -j2
[ 66%] Building CXX object CMakeFiles/zhouyi_cam.dir/main.cpp.o
[ 66%] Building C object CMakeFiles/zhouyi_cam.dir/fb_display.c.o
[100%] Linking CXX executable zhouyi_cam
[100%] Built target zhouyi_cam

real    1m13.753s
user    0m23.256s
sys     0m4.998s

体验实时识别模型

cd ~/zhouyi_test
bash run.sh

输出图
QQ图片20210905151056.jpg

对应的输出log(会疯狂刷)

Decode Result:
    0: class  752, prob  56; label: racer, race car, racing car
    1: class  896, prob  12; label: warplane, military plane
    2: class  558, prob  10; label: flagpole, flagstaff
    3: class  921, prob   7; label: traffic light, traffic signal, stoplight
    4: class  593, prob   6; label: hard disc, hard disk, fixed disk
Decode Result:
    0: class  752, prob  87; label: racer, race car, racing car
    1: class  921, prob  13; label: traffic light, traffic signal, stoplight
    2: class  558, prob   7; label: flagpole, flagstaff
    3: class  818, prob   6; label: sports car, sport car
    4: class  408, prob   5; label: ambulance
Decode Result:
    0: class  752, prob 120; label: racer, race car, racing car
    1: class  921, prob  12; label: traffic light, traffic signal, stoplight
    2: class  408, prob   8; label: ambulance
    3: class  451, prob   6; label: bobsled, bobsleigh, bob
    4: class  896, prob   6; label: warplane, military plane
Decode Result:
    0: class  752, prob  95; label: racer, race car, racing car
    1: class  451, prob  11; label: bobsled, bobsleigh, bob
    2: class  921, prob   7; label: traffic light, traffic signal, stoplight
    3: class  408, prob   5; label: ambulance
    4: class  558, prob   5; label: flagpole, flagstaff
Decode Result:
    0: class  752, prob 140; label: racer, race car, racing car
    1: class  408, prob   8; label: ambulance
    2: class  451, prob   4; label: bobsled, bobsleigh, bob
    3: class  818, prob   4; label: sports car, sport car
    4: class  896, prob   3; label: warplane, military plane

存在问题和解决办法

当wifi突然断开或者通信延迟过大时会有概率使开发版卡住,试试检测会瞬间掉帧到4.7fps,并且输出log也会卡住。
QQ图片20210905151442.jpg

建议使用手机热点连接,或者电脑的移动热点连接,能增加稳定性(还可以省去查终端IP步骤)。
image.png

5 阅读 780
推荐阅读
关注数
7381
内容数
80
人工智能边缘计算软硬件解决方案,提供高性能、低成本、低功耗、易使用的硬件选型方案.
目录
极术微信服务号
关注极术微信号
实时接收点赞提醒和评论通知
安谋科技学堂公众号
关注安谋科技学堂
实时获取安谋科技及 Arm 教学资源
安谋科技招聘公众号
关注安谋科技招聘
实时获取安谋科技中国职位信息