Object Detection

You'll need to install AI modules and have a computer with GPU to complete this tutorial. Please refer to the installation guide for further instructions.

Object detection has been a very hot topic in both computer vision and public media. This practice is widely applied to many different industries and has many more potential application areas.

This tutorial will show you how to create a simple collision warning system on a public bus.

Footage

As for any scenario, we'll need front-side footage of a public bus. Go ahead and download the dash-cam video:

4MB
dash_cam_public_bus.mp4

Using Video block, we'll be reading the dash cam results. We'll also need Object Detection block to detect any human, bike or cars that we might come in contact with.

Go ahead and create the scenario below:

Since our collision detection system should only check if there is an object standing in front of our bus, we'll have to use the Check Area block and select the collision warning area:

Check Area block will allow us to assess if there are any objects in our reference bounding box area. Use Not and Led Output blocks to indicate if our collision system works as expected or not:

Last updated