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 the client:
$ npm run watch
-
Run a web server:
$ cd public $ python -m SimpleHTTPServer
-
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 8000
Go to the HTTPS URL that ngrok printed to see the client.
The mobile client was built in conjunction with Brian Weeteling.