Edge Impulse
Train an AI model
# Remove existing installation (if needed) rm -f /usr/local/bin/node /usr/local/bin/npm # Install Node.js v22 curl -fsSL https://deb.nodesource.com/setup_22.x | sudo -E bash - sudo apt install -y nodejs # Verify installation (might need to open a new terminal window) node -v # ... Should return v22.x.x # Make a place to install global packages w/o needing sudo mkdir -p ~/.npm-global npm config set prefix ~/.npm-global # Add to your PATH echo "" >> ~/.bash_profile echo "# Begin node.js/npm" >> ~/.bash_profile echo "export PATH=\$PATH:$HOME/.npm-global/bin" >> ~/.bash_profile echo "# End node.js/npm" >> ~/.bash_profile echo "" >> ~/.bash_profile # To ensure you have access to the global packages from the current session source ~/.bash_profile# Install the CLI npm install -g edge-impulse-linux # Connect to your project (to switch projects, add --clean) edge-impulse-linux
Qualcomm Dragonwing development board connected to Edge Impulse

An object tracking model running on the NPU of a Qualcomm Dragonwing development board
Bring Your Own Model
Building C++ applications that run on NPU
Tips
Seeing NPU performance
Troubleshooting
Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/edge-impulse-linux'
Last updated