| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| model/ | H | 05-Jun-2025 | - | |||
| src/ | H | 05-Jun-2025 | - | 240 | 175 | |
| CMakeLists.txt | H A D | 05-Jun-2025 | 1.8 KiB | 59 | 48 | |
| README.md | H A D | 05-Jun-2025 | 1.3 KiB | 70 | 45 | |
| build-android_RK3562.sh | H A D | 05-Jun-2025 | 739 | 36 | 25 | |
| build-android_RK3566_RK3568.sh | H A D | 05-Jun-2025 | 739 | 36 | 25 | |
| build-android_RK3588.sh | H A D | 05-Jun-2025 | 739 | 36 | 25 | |
| build-linux_RK3562.sh | H A D | 05-Jun-2025 | 464 | 26 | 16 | |
| build-linux_RK3566_RK3568.sh | H A D | 05-Jun-2025 | 464 | 26 | 16 | |
| build-linux_RK3588.sh | H A D | 05-Jun-2025 | 464 | 26 | 16 |
README.md
1The following <TARGET_PLATFORM> represents RK356X or RK3588. 2 3# Aarch64 Linux Demo 4 5## Build 6 7modify `GCC_COMPILER` on `build-linux_<TARGET_PLATFORM>.sh` for target platform, 8 9then execute 10 11``` 12./build-linux_<TARGET_PLATFORM>.sh 13``` 14 15## *Install* 16 17Copy install/rknn_mobilenet_demo_Linux to the devices under /userdata/. 18 19- If you use rockchip's evb board, you can use the following way: 20 21Connect device and push the program and rknn model to `/userdata` 22 23``` 24adb push install/rknn_mobilenet_demo_Linux /userdata/ 25``` 26 27- If your board has sshd service, you can use scp or other methods to copy the program and rknn model to the board. 28 29## Run 30 31``` 32adb shell 33cd /userdata/rknn_mobilenet_demo_Linux/ 34``` 35 36``` 37export LD_LIBRARY_PATH=./lib 38./rknn_mobilenet_demo model/<TARGET_PLATFORM>/mobilenet_v1.rknn model/dog_224x224.jpg 39``` 40 41# Android Demo 42 43## Build 44 45modify `ANDROID_NDK_PATH` on `build-android_<TARGET_PLATFORM>.sh` for target platform, then execute 46 47``` 48./build-android_<TARGET_PLATFORM>.sh 49``` 50 51## Install 52 53connect device and push build output into `/data` 54 55``` 56adb push install/rknn_mobilenet_demo_Android /data/ 57``` 58 59## Run 60 61``` 62adb shell 63cd /data/rknn_mobilenet_demo_Android/ 64``` 65 66``` 67export LD_LIBRARY_PATH=./lib 68./rknn_mobilenet_demo model/<TARGET_PLATFORM>/mobilenet_v1.rknn model/dog_224x224.jpg 69``` 70