Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


Sidebar

products:sbc:vim3:npu:npu-prebuilt-demo-usage

This is an old revision of the document!


NPU Prebuilt Demo Usage

  1. Please follow this docs to upgrade the system to latest version before run any NPU demos.
  2. Just support Opencv4

install OpenCV4

Install-OpenCV4.sh
sudo apt install libopencv-dev python3-opencv

Get NPU Demo

  1. NPU Demo is not installed on the board by default. You need to download it from github first
  • Unordered List ItemClone to the board through the git command.
get-npu-demo-from-demo.sh
 cd {workspace}
 git clone --recursive https://github.com/khadas/aml_npu_demo_binaries
  • Unordered List ItemOr download the compressed package directly, and then unzip it to the board.

There are three directories in NPU Demo:

detect_demo

  1. detect_demo: A collection of yolo series models for camera dynamic recognition.

detect_demo_picture

  1. detect_demo_picture: A collection of yolo series models that identify pictures.

inceptionv3

  1. inceptionv3: Identify the inception model of the picture

Inception Model

  1. The inception model does not need to install any libraries into the system. Enter the inceptionv3 directory
 $ cd {workspace}/aml_npu_demo_binaries/inceptionv3
 $ ls
 dog_299x299.jpg  goldfish_299x299.jpg  imagenet_slim_labels.txt  VIM3  VIM3L
Last modified: 2022/09/15 23:55 by ivan