NPU Demo and source code

@leemgs Please follow the first post to install the packages

hello,how to compile the demo in aml_npu_app,I want to change the camera,but I can’t compile the source code success。that shows:“aarch64-linux-gnu/bin/ld: can not find -lnn_detect”,how can I install the nn_detect lib.

1 Like

@sharbob Did you download the fenix and build it ?

thank you for your reply,I have compiled it success

Yup, that is also my question?
How to build khadas / aml_npu_app ?

1 Like

Of course you can. About the source code, please check my first post carefully.

I run the binery directly using usb camera,but there is always something wrong with the display,as the picture shows,i don’t know the reason.

Please switch to framebuffer console, Ctrl+Alt+F1 and try again.

is there a way to run NPU on a camera in the network with ip ?

the camera is far out of reach but accessable through network router and has an ip… can i run the npu on that camera over IP

i keep getting this error !!! i have ubuntu 18.04 on sdcard


I follow this WIKI step by step
https://docs.khadas.com/vim3/HowToUseNpu.html and still get errors
how come ??

even Torch dont work ?? is my hardware faulty or something ? i duno ?!



please help been on this for a week now with no luck ?? why

i also tried other ways to install TensorFlow from this Khadas official wiki

and i get even more errors???

in case someone asks am using this firmware
VIM3_Ubuntu-xfce-bionic_Linux-4.9_arm64_SD-USB_V20191231.7z
and yes updated everything so please help me

use this demo by larrylart https://github.com/larrylart/codrive/tree/master/hw_sampling/vim3_npu

you can change the source to a rtsp stream and recompile

1 Like

I dont understand, why would i go to some outside sources while there is a an official wiki for this device, isnt that what i paid for ?

if I cant use the official Khadas wiki this renders the wiki useless to everyone ? or is it useless to me only ? i dont understand, i am sorry but this dont make any sense and i refuse to use outside sources than the wiki provided by Khadas itself… please help with the official wiki from Khadas. thank you for your reply regardless…

thanks for the rtsp camera solution ,

you can do the same for the demo given by khadas

just change the source to rtsp stream from your ip camera

1 Like

i still get error even with the one u gave me

is there something wrong?

@AKBAAR The Docs was use for PC . Not use in VIM3 . You need to convert with PC .

1 Like

@AKBAAR If you want to try with demo . You should try with this .

1 Like

Hmm what encoding were these videos using
try h264 videos

1 Like

i am using https://docs.khadas.com/vim3/HowToUseNpu.html
and i get errors