VIM3&VIM3L Android NPU APP Initial Version Release

Here we release Android NPU APP
You can download NPU APK to install on VIM3 or VIM3L

The NPU APP is developed based on 6.4.4.3 NPU SDK, so the firmware of VIM3 and VIM3L needs to be updated to the latest version before running the APP

Check Firmware Page to download the latest ROM

Please refer to the following documents if you want to know more the development details
How To Download NPU APP Code
How To Download NPU JNI Code
How To Run Android NPU Demo
How To Use Android NPU JNI

6 Likes

D/detect: Leave, dlopen so:libnn_yolo_v3.so, ret=0
D/v_gal: HAL user version 6.4.4.3.310723
HAL kernel version 6.4.4.3.310723
D/detect: Model_create fail, file_path=/data/nn_data, dev_type=1
Leave, modeltype:2
D/khadas_npu_det: npu_det_set_model fail
det_get_model_size fail
D/CameraActivity: ------npu_det_set_model setmoderesult -1

@Aruen nb file exsits under /data/nn_data ?

@jasonl
root@3da29a584f8f:/test# adb install khadas_npu_release.apk
adb: failed to install khadas_npu_release.apk: Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI]

root@3da29a584f8f:/test# adb install -t khadas_npu_release.apk
Success

报错:
5872): HAL user version 6.4.4.3.310723
07-14 10:29:43.413 D/v_gal ( 5872): HAL kernel version 6.4.4.3.310723
07-14 10:29:43.413 D/detect ( 5872): Model_create fail, file_path=/data/nn_data, dev_type=1
07-14 10:29:43.413 D/detect ( 5872): Leave, modeltype:2
07-14 10:29:43.413 D/khadas_npu_det( 5872): npu_det_set_model fail
07-14 10:29:43.413 D/khadas_npu_det( 5872): det_get_model_size fail
07-14 10:29:43.413 D/CameraActivity( 5872): ------npu_det_set_model setmoderesult -1

kvim3:/data/nn_data # ls -la
total 60636
drwxrwxrwx 2 system system 4096 2021-07-14 08:38 .
drwxrwxrwx 45 system system 4096 2021-07-13 11:32 …
-rwxrwxrwx 1 system system 62071982 2021-07-14 08:39 yolov3_88.nb

内部版本号
VIM3_Pie_V210128

@Aruen
The NPU APP is developed based on 6.4.4.3 NPU SDK, so the firmware of VIM3 and VIM3L needs to be updated to the latest version before running the APP

the latest version is VIM3_Pie_V210527

1 Like

@jasonl
I update the firmware to VIM3_Pie_V210527, the app can work well.

2 Likes