Vision Example
This example illustrates two neuralSPOT features: capturing images from an Arducam Mega SPI camera, and displaying those images on a webpage via WebUSB. This example is a stripped-down version of Ambiq's EdgeImpulse FOMO demo.
Relevant neuralSPOT Library Documents
Running The Demo
The vision example app captures images and sends them over USB to a javascript application. This application then displays the image. The javascript application also has basic controls for camera controls (brightness, etc).
- Connect both USB interfaces on the EVB to a PC
- Connect the camera to the EVB (wiring is describe in Camera doc, linked above)
- Install a browser with WebUSB support (Chrome and Edge are known to work)
- Compile and flash the example
- Click on the browser notification announcing the presence of a WebUSB device - this will load the example's companion website.
Some salient features
- Supports both RGB and JPG image formats
- Uses SPI DMA and background processing to overlap capture and transmit operations
- Illustrates bidirectional communication over WebUSB