diff --git a/buildroot/dl/chrony-3.2.tar.gz b/buildroot/dl/chrony-3.2.tar.gz new file mode 100644 index 0000000000..07335ba034 Binary files /dev/null and b/buildroot/dl/chrony-3.2.tar.gz differ diff --git a/buildroot/dl/hostapd-2.10.tar.gz b/buildroot/dl/hostapd-2.10.tar.gz new file mode 100644 index 0000000000..3d06e505fc Binary files /dev/null and b/buildroot/dl/hostapd-2.10.tar.gz differ diff --git a/buildroot/dl/iptables-1.6.1.tar.bz2 b/buildroot/dl/iptables-1.6.1.tar.bz2 new file mode 100644 index 0000000000..7d4dbed7c1 Binary files /dev/null and b/buildroot/dl/iptables-1.6.1.tar.bz2 differ diff --git a/buildroot/dl/libmnl-1.0.4.tar.bz2 b/buildroot/dl/libmnl-1.0.4.tar.bz2 new file mode 100644 index 0000000000..84f48fe258 Binary files /dev/null and b/buildroot/dl/libmnl-1.0.4.tar.bz2 differ diff --git a/buildroot/dl/libnftnl-1.0.9.tar.bz2 b/buildroot/dl/libnftnl-1.0.9.tar.bz2 new file mode 100644 index 0000000000..1b3ba0df60 Binary files /dev/null and b/buildroot/dl/libnftnl-1.0.9.tar.bz2 differ diff --git a/buildroot/dl/libzip-1.4.0.tar.xz b/buildroot/dl/libzip-1.4.0.tar.xz new file mode 100644 index 0000000000..e09a06b175 Binary files /dev/null and b/buildroot/dl/libzip-1.4.0.tar.xz differ diff --git a/yocto/poky/meta-qti-ubuntu/recipes-products/images/files/RKNNModel/rk3568V5_Linux/README.md b/yocto/poky/meta-qti-ubuntu/recipes-products/images/files/RKNNModel/rk3568V5_Linux/README.md new file mode 100755 index 0000000000..4536dda4e2 --- /dev/null +++ b/yocto/poky/meta-qti-ubuntu/recipes-products/images/files/RKNNModel/rk3568V5_Linux/README.md @@ -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) diff --git a/yocto/poky/meta-qti-ubuntu/recipes-products/images/files/RKNNModel/rk3568V5_Linux/image/README/1693464256562.jpg b/yocto/poky/meta-qti-ubuntu/recipes-products/images/files/RKNNModel/rk3568V5_Linux/image/README/1693464256562.jpg new file mode 100755 index 0000000000..c34d4852a4 Binary files /dev/null and b/yocto/poky/meta-qti-ubuntu/recipes-products/images/files/RKNNModel/rk3568V5_Linux/image/README/1693464256562.jpg differ diff --git a/yocto/poky/meta-qti-ubuntu/recipes-products/images/files/RKNNModel/rk3568V5_Linux/image/README/1693464350527.jpg b/yocto/poky/meta-qti-ubuntu/recipes-products/images/files/RKNNModel/rk3568V5_Linux/image/README/1693464350527.jpg new file mode 100755 index 0000000000..d4dfc33f8d Binary files /dev/null and b/yocto/poky/meta-qti-ubuntu/recipes-products/images/files/RKNNModel/rk3568V5_Linux/image/README/1693464350527.jpg differ diff --git a/yocto/poky/meta-qti-ubuntu/recipes-products/images/files/RKNNModel/rk3568V5_Linux/lib/librga.so b/yocto/poky/meta-qti-ubuntu/recipes-products/images/files/RKNNModel/rk3568V5_Linux/lib/librga.so new file mode 100755 index 0000000000..3bc73d765c Binary files /dev/null and b/yocto/poky/meta-qti-ubuntu/recipes-products/images/files/RKNNModel/rk3568V5_Linux/lib/librga.so differ diff --git a/yocto/poky/meta-qti-ubuntu/recipes-products/images/files/RKNNModel/rk3568V5_Linux/lib/librknnrt.so b/yocto/poky/meta-qti-ubuntu/recipes-products/images/files/RKNNModel/rk3568V5_Linux/lib/librknnrt.so new file mode 100755 index 0000000000..5c886a0267 Binary files /dev/null and b/yocto/poky/meta-qti-ubuntu/recipes-products/images/files/RKNNModel/rk3568V5_Linux/lib/librknnrt.so differ diff --git a/yocto/poky/meta-qti-ubuntu/recipes-products/images/files/RKNNModel/rk3568V5_Linux/model/RK356X/yolov5s-640-640.rknn b/yocto/poky/meta-qti-ubuntu/recipes-products/images/files/RKNNModel/rk3568V5_Linux/model/RK356X/yolov5s-640-640.rknn new file mode 100755 index 0000000000..c0ace29c7c Binary files /dev/null and b/yocto/poky/meta-qti-ubuntu/recipes-products/images/files/RKNNModel/rk3568V5_Linux/model/RK356X/yolov5s-640-640.rknn differ diff --git a/yocto/poky/meta-qti-ubuntu/recipes-products/images/files/RKNNModel/rk3568V5_Linux/model/bus.jpg b/yocto/poky/meta-qti-ubuntu/recipes-products/images/files/RKNNModel/rk3568V5_Linux/model/bus.jpg new file mode 100755 index 0000000000..d8ef30bd2f Binary files /dev/null and b/yocto/poky/meta-qti-ubuntu/recipes-products/images/files/RKNNModel/rk3568V5_Linux/model/bus.jpg differ diff --git a/yocto/poky/meta-qti-ubuntu/recipes-products/images/files/RKNNModel/rk3568V5_Linux/model/coco_80_labels_list.txt b/yocto/poky/meta-qti-ubuntu/recipes-products/images/files/RKNNModel/rk3568V5_Linux/model/coco_80_labels_list.txt new file mode 100755 index 0000000000..941cb4e139 --- /dev/null +++ b/yocto/poky/meta-qti-ubuntu/recipes-products/images/files/RKNNModel/rk3568V5_Linux/model/coco_80_labels_list.txt @@ -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 diff --git a/yocto/poky/meta-qti-ubuntu/recipes-products/images/files/RKNNModel/rk3568V5_Linux/rk3568V5 b/yocto/poky/meta-qti-ubuntu/recipes-products/images/files/RKNNModel/rk3568V5_Linux/rk3568V5 new file mode 100755 index 0000000000..e9b9f290ca Binary files /dev/null and b/yocto/poky/meta-qti-ubuntu/recipes-products/images/files/RKNNModel/rk3568V5_Linux/rk3568V5 differ diff --git a/yocto/poky/meta-qti-ubuntu/recipes-products/images/qti-ubuntu-robotics-image.bb b/yocto/poky/meta-qti-ubuntu/recipes-products/images/qti-ubuntu-robotics-image.bb index 57ba90af26..93eff99aa7 100755 --- a/yocto/poky/meta-qti-ubuntu/recipes-products/images/qti-ubuntu-robotics-image.bb +++ b/yocto/poky/meta-qti-ubuntu/recipes-products/images/qti-ubuntu-robotics-image.bb @@ -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() {