NPU Demo and source code

is this VIM3 pro or VIM3L…?

VIM3 Pro , memory fill up then crash

can someone teach please how to output X-server on x11vnc or MobaXterm app after excuting ./detect_demo 2 1080p.bmp i want to show on VNC

how to forward display X11

It seems the new AML-NPU sdk is not working with this code

When I run it with old sdk and old aml-npu package (version 6.3.3.4) there is no problem…

When running with new aml-npu package (version 6.4.0.3) for some reason the inference is not running properly and it consumes a lot of ram and crashes the program…

@Frank Can you please help us with this ?

1 Like

@AKBAAR for now if you want to run larrylart code u can follow these steps

  1. Uninstall current version of aml-npu “sudo apt remove aml-npu”
  2. Download old version “wget https://dl.khadas.com/repos/debs/vim3-edu/aml-npu_6.3.3.4_arm64.deb
  3. Install old version “sudo dpkg -i aml-npu_6.3.3.4_arm64.deb”

Do let me know if this works

1 Like

will try soon! today is Muslim day celebration , Happy Eid to Everyone! may God give you all blessings and prosper better health and wealth!

peace be upon you all

3 Likes

Happy Eid to you to !!! :slight_smile:

2 Likes

Eid mubarak! :slight_smile:

2 Likes

@Archangel1235 Do you need me now ?

Is the problem still there ?

1 Like

@Frank Yes the problem is still there. If use the aml-npu Package version 6.4.0.2 it just uses a lot of ram and the program fails

But if I install version 6.3.3.4 the code works fine…

Can you tell what were the changes made from 6.3.3.4 to 6.4.0.2

1 Like

@Archangel1235 If you use 6.4.0.3 . You need to use SDK 6.4.0.10 to convert you code . The version of SDK and driver can only be used if they are corresponding .

2 Likes

thanks will try that

1 Like

I also get the same conditon, how do you solve it

I also get the same display problem, how to swith framebuffer console .I alse press Ctrl + Alt +F1 ,it still get error : can’t open the device

yes same, video file feed is still a hassle for me

How do you get the detection speed?thanks

try this:

./detect_demo_ucv /dev/video1 0 > /dev/null

also try with /dev/video0 does it work? If not try sudo

can put image what ls /dev prints… ?

The camera is / dev / Video1, and the model is Logitech HD webcam C310