Command-line interface tools for Edge Impulse. We make things smarter by enabling developers to create the next generation of intelligent device solutions with embedded Machine Learning.
This package consists of four tools (click to see their respective documentation):
- edge-impulse-daemon - configures devices over serial, and acts as a proxy for devices that do not have an IP connection.
- edge-impulse-uploader - allows uploading and signing local files.
- edge-impulse-data-forwarder - a very easy way to collect data from any device over a serial connection, and forward the data to Edge Impulse.
- edge-impulse-run-impulse - show the impulse running on your device.
- edge-impulse-blocks - create organizational transformation blocks.
- eta-flash-tool - to flash the Eta Compute ECM3532 AI Sensor.
- himax-flash-tool - to flash the Himax WE-I Plus development board.
-
Install Node.js v16.1 or higher on your host computer.
-
Install the CLI tools via:
$ npm install -g edge-impulse-cli
Afterwards you should have the tools available in your PATH.
If you're making changes to the CLI you can build from source.
-
Clone this repository:
git clone https://github.com/hasanabs/edge-impulse-cli.git
-
Open its directory:
cd edge-impulse-cli
-
Install the dependencies:
npm install
-
Build and link the application:
npm run build npm link
If you receive the following error: The tools version "2.0" is unrecognized. Available tools versions are "4.0"
, launch a new command window as administrator and run:
$ npm install --global --production windows-build-tools
$ npm config set msvs_version 2015 --global
This is indication that the node_modules
is not owned by you, but rather by root. This is probably not what you want. To fix this, run:
$ sudo chown -R $USER /usr/local/lib/node_modules