Save Lives with Drones / IoT / Visual Recognition - Call for Code Hands on Lab
This hands on lab uses drone aerial images, Watson Studio and Watson Visual Recognition to survey wildfire damaged neighborhoods and identify burned homes and intact homes.
After completing this tutorial you will be able to:
- Create a Visual Recognition model in Watson Studio running in IBM Cloud
- Capture images from a drone and zip them into a class
- Train a model to identify objects in the images
- Score and count the identified objects
This tutorial can be completed using an IBM Cloud Lite account.
- Create an IBM Cloud account
- Log into IBM Cloud
You can complete this task in no more than 15 minutes.
The outline below provides a high level overview of the steps included in the lab instructions.
There are many types of drones available that range from toys to industrial use cases. Many of the drones now include a camera that can store or stream aerial video to the ground. Using the livestream video frames, we can sample frames and send the images to Watson Visual Recognition for classification.
- Pocket toy drones
- Tello - Control a Tello Drone using Node-RED
- Hobbyist drones
- Commercial drones
For this lab, we are not flying the drone indoors or venturing out into a field. If you are interested in purchasing a drone, the instructors can share some of their drone experiences and recommendations.
One of the fun experiences of flying a drone is capturing video or pictures from a unique aerial perspective. You can use your drone to capture images of interesting objects that you want to train a visual recognition model to autonomously identify.
In this lab, we have created three zip files of pictures recorded by drones. The lab will use these images to identify neighborhoods affected by the devastating 2018 West Coast wildfires. These images will be used as our training set.
- Aerial drone images of burned homes - BurnedHomes.zip
- Aerial drone images of intact homes - AerialHomes.zip
- Aerial drone images of forests, roads, rivers to be used for the negative class. NotHomes.zip
Source attribution: USA Today article, various internet sources
In this section, we will create a Watson Studio account, create a Project and Watson Visual Recognition model to identify images in several classes.
- Create a Watson Studio account - follow these instructions
- Create a Project
- Create a Visual Recognition model - follow these instructions
- Upload three zips to Cloud Storage
- Create a class Burned Home - drag a zipfile
- Create another class Intact Home - drag a zipfile
- Create a negative class Not Homes - drag a zipfile
- Train your model - wait a few minutes
In this section you will use sample images to confirm your model.
- Test your model - follow these instructions
- Embed your model into an application using these code snippets
Let's get started - Set up Watson Studio
Quick links : Home - Watson Studio - Visual Recognition Model - Test and Deploy