
Train an AI model
To start building with Edge Impulse:- Make sure you’ve followed the device setup for your development board.
- Sign up for a free developer account at studio.edgeimpulse.com.
-
From the terminal or ssh session on your development board, install Node.js 22 from the Nodesource PPA:
If you run these commands from a non-interactive SSH command or a shell that does not load
~/.bash_profile, export the path in the current shell too:export PATH="$PATH:$HOME/.npm-global/bin". -
Then, install Edge Impulse for Linux, and connect your development board to Edge Impulse:

- Follow one of the end-to-end tutorials to build your first AI model.
-
To run your model, from the terminal or ssh session on your development board:
This will automatically build and download your model, and run it on the NPU (quantized models only). Or, to manually download the EIM file, search for “Linux (AARCH64 with Qualcomm QNN)” in the Deployment page in your Edge Impulse project.

Bring Your Own Model
Edge Impulse also lets you bring your own model (BYOM) in SavedModel, ONNX, TFLite, LiteRT or scikit-learn format. Models deployed through BYOM are fully supported on Dragonwing platforms, NPU acceleration (for quantized models). See Edge Impulse docs > Bring Your Own Model.Building C++ applications that run on NPU
To build C++ applications with Edge Impulse models that use the NPU on your Dragonwing development board, first install the AI Runtime SDK - Community Edition by opening a terminal on your development board and running:Tips
Seeing NPU performance
Dragonwing platforms have a powerful NPU (neural processing unit) which can drastically speed up AI inference. To see the effect that an NPU has on performance, you can run your model on the CPU via:Troubleshooting
Error: EACCES: permission denied, mkdir ‘/usr/lib/node_modules/edge-impulse-linux’
By defaultnpm install -g edge-impulse-linux tries writing to /usr/lib/node_modules which requires sudo permissions on Ubuntu. The easiest fix is to create a new folder for global packages, and add it to your PATH via:

