Edge Impulse Docs

Edge Impulse Documentation

Welcome to the Edge Impulse documentation. You'll find comprehensive guides and documentation to help you start working with Edge Impulse as quickly as possible, as well as support if you get stuck. Let's jump right in!

Collecting image data with your mobile phone

This page is part of Adding sight to your sensors and describes how you can use your mobile phone to import image data into Edge Impulse.

To add your phone to your project, go to the Devices page, select Connect a new device and select Use your mobile phone. A QR code will pop up. Scan this code with your phone and your phone will pop up on the devices screen.

Mobile phone connected to Edge Impulse

1. Collecting images

With your phone connected to your project, it's time to start capturing some images and build our dataset. Go to the Data acquisition page, and under 'Record new data' select your phone, set 'lamp' as the label, and select 'Camera' as the sensor. Then click Start sampling.

Instructing your phone to take a photo.

On your phone a permission prompt will show up, and then the viewfinder will be displayed. Point your camera at your lamp and press Capture.

Taking a photo with your phone.

Afterwards the photo shows up in the studio on the Data acquisition page.

Photo shows up in the studio.

Do this until you have captured 30 images per class from a variety of angles. Also make sure to vary the things you capture for the unknown class.

2. Alternative: upload data directly

Alternatively you can also capture your dataset directly through a different app, and then upload the data directly to Edge Impulse There are both options to do this visually (click the 'Upload' icon on the data acquisition screen), or via the CLI. You can find instructions here: Uploader. In this case it's highly recommended to you use square images, as the transfer learning model expects these; and you probably want to resize these images before uploading them to make sure training remains fast.

Updated 2 months ago

Collecting image data with your mobile phone

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.