Autonomous vehicles such as self-driving cars and drones can benefit from automated segmentation.
For example, self-driving cars can detect drivable regions.
In this work, we will use CNN (Convolutional Neural Networks) to achieve a semantic segmentation.
The deployment of our model and the built of an application which take an image as input and return its segmentation as output will be done with Flask and deploy with Azure or other free cloud application platform as Heroku .
As we did image classification in our previous project, I'll use its concepts to define the semantic segmentation. The following illustrations are worth....
#bmp or png format (for the stability of pixels). #The size of the input image and the segmentation image should be the same.
To avoid an overfitting of our model (case when our data are not sufficient), we use the data augmentation. It consists of adding more versions oof our pictures by (1) changing the color properties like hue, saturation, brightness, etc of the input images, (2) applying transformations such as rotation, scale, and flipping.
-
Choosing of two models from the list of segmentation models. Training on our preproceed dataset.
-
Pickling the best model and save it
-
Using Flask to build our app (vs code) add our model and the function of prediction
-
Deploy our App using Heroku (The size of our App is not eligible to a deployment for free)