添加NPU驱动
This commit is contained in:
parent
980e12a4e5
commit
ed064d9481
BIN
buildroot/dl/chrony-3.2.tar.gz
Normal file
BIN
buildroot/dl/chrony-3.2.tar.gz
Normal file
Binary file not shown.
BIN
buildroot/dl/hostapd-2.10.tar.gz
Normal file
BIN
buildroot/dl/hostapd-2.10.tar.gz
Normal file
Binary file not shown.
BIN
buildroot/dl/iptables-1.6.1.tar.bz2
Normal file
BIN
buildroot/dl/iptables-1.6.1.tar.bz2
Normal file
Binary file not shown.
BIN
buildroot/dl/libmnl-1.0.4.tar.bz2
Normal file
BIN
buildroot/dl/libmnl-1.0.4.tar.bz2
Normal file
Binary file not shown.
BIN
buildroot/dl/libnftnl-1.0.9.tar.bz2
Normal file
BIN
buildroot/dl/libnftnl-1.0.9.tar.bz2
Normal file
Binary file not shown.
BIN
buildroot/dl/libzip-1.4.0.tar.xz
Normal file
BIN
buildroot/dl/libzip-1.4.0.tar.xz
Normal file
Binary file not shown.
|
@ -0,0 +1,20 @@
|
|||
# 基于RKNN3568的YoloV5模型检测
|
||||
|
||||
```
|
||||
cd RKNNModel
|
||||
adb push RK3568V5_LINUX /home
|
||||
adb shell
|
||||
cd /home/RK3568V5_LINUX
|
||||
export LD_LIBRARY_PATH=./lib
|
||||
./rk3568V5 model/RK356X/yolov5s-640-640.rknn model/bus.jpg
|
||||
|
||||
# 查看检测结果
|
||||
adb pull adb pull /home/rk3568V5_Linux/outv5.jpg .
|
||||
|
||||
```
|
||||
|
||||
|
||||
![1693464256562](image/README/1693464256562.jpg)
|
||||
|
||||
|
||||
![1693464350527](image/README/1693464350527.jpg)
|
Binary file not shown.
After Width: | Height: | Size: 58 KiB |
Binary file not shown.
After Width: | Height: | Size: 183 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
After Width: | Height: | Size: 177 KiB |
|
@ -0,0 +1,80 @@
|
|||
person
|
||||
bicycle
|
||||
car
|
||||
motorcycle
|
||||
airplane
|
||||
bus
|
||||
train
|
||||
truck
|
||||
boat
|
||||
traffic light
|
||||
fire hydrant
|
||||
stop sign
|
||||
parking meter
|
||||
bench
|
||||
bird
|
||||
cat
|
||||
dog
|
||||
horse
|
||||
sheep
|
||||
cow
|
||||
elephant
|
||||
bear
|
||||
zebra
|
||||
giraffe
|
||||
backpack
|
||||
umbrella
|
||||
handbag
|
||||
tie
|
||||
suitcase
|
||||
frisbee
|
||||
skis
|
||||
snowboard
|
||||
sports ball
|
||||
kite
|
||||
baseball bat
|
||||
baseball glove
|
||||
skateboard
|
||||
surfboard
|
||||
tennis racket
|
||||
bottle
|
||||
wine glass
|
||||
cup
|
||||
fork
|
||||
knife
|
||||
spoon
|
||||
bowl
|
||||
banana
|
||||
apple
|
||||
sandwich
|
||||
orange
|
||||
broccoli
|
||||
carrot
|
||||
hot dog
|
||||
pizza
|
||||
donut
|
||||
cake
|
||||
chair
|
||||
couch
|
||||
potted plant
|
||||
bed
|
||||
dining table
|
||||
toilet
|
||||
tv
|
||||
laptop
|
||||
mouse
|
||||
remote
|
||||
keyboard
|
||||
cell phone
|
||||
microwave
|
||||
oven
|
||||
toaster
|
||||
sink
|
||||
refrigerator
|
||||
book
|
||||
clock
|
||||
vase
|
||||
scissors
|
||||
teddy bear
|
||||
hair drier
|
||||
toothbrush
|
Binary file not shown.
|
@ -328,6 +328,11 @@ EOF
|
|||
|
||||
do_post_install() {
|
||||
sed -i "/Config-Version/d" ${IMAGE_ROOTFS}/var/lib/dpkg/status
|
||||
cp -rf ${THISDIR}/files/RKNNModel/rk3568V5_Linux ${IMAGE_ROOTFS}/home/
|
||||
cp -rf ${THISDIR}/files/RKNNModel/rk3568V5_Linux/lib/librga.so ${IMAGE_ROOTFS}/usr/lib/librga.so
|
||||
cp -rf ${THISDIR}/files/RKNNModel/rk3568V5_Linux/lib/librknnrt.so ${IMAGE_ROOTFS}/usr/lib/librknnrt.so
|
||||
chmod +x ${IMAGE_ROOTFS}/usr/lib/librga.so
|
||||
chmod +x ${IMAGE_ROOTFS}/usr/lib/librknnrt.so
|
||||
}
|
||||
|
||||
do_enable_coredump() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user