You don't need this repository. Just go to the Devices tab in Edge Impulse, click Add a new device and select Mobile phone. This pops up a QR code that you can scan with your phone. That's it!
Turns your mobile phone into a fully-supported client for Edge Impulse. You can capture data from the accelerometer and microphone, verify your machine learning model, and run classification without leaving your browser. The easiest way to use this application is to head to the Edge Impulse documentation: Mobile phone.
To build:
-
Install dependencies:
$ npm install
-
Build and serve the application:
$ npm run start
This automatically watches for changes in the code, and rebuilds the application.
-
You'll need to be connected over HTTPS to access sensors (at least on iPhone), use ngrok to open up your web browser to the world via:
$ ngrok http 4820
Go to the HTTPS URL that ngrok printed to see the client.
The mobile client was built in conjunction with Brian Weeteling.