Skip to content

This repository is about an implementation of SegNet a Convolution-Deconvolution neural network for semantic segmentation trained from scratch with synthetic data.

Notifications You must be signed in to change notification settings

Alpharouk/Semantic-segmentation-RGBD-SegNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Semantic segmentation of plant organs using SegNet network and RGB-D images

This project is about semantic segmentation of 4 classes of plant organs (stem, petiole, leaf and fruit) from RGB-D images using Pyhton 3, Tensorflow 2.0 and Keras. I worked with synthetic data, randomly generated and annotated with Blender and used a SegNet architecture trained from Scratch with 10000 images.

Capture d’écran 2020-07-19 à 11 33 46

Dataset

The dataset is now available in Kaggle : https://www.kaggle.com/harlequeen/synthetic-rgbd-images-of-plants

1.Training & Evaluation

The model was trained on 10000 images ( 8000 images for training, 1000 images for validation and 1000 for test ) of size 224x224 on 4x12Go GPU, the curves of accuracy and loss were as follows :

Training accuracy = 99%

Validation accuracy = 98%

The curves of accuracy and loss are shown below :

Capture d’écran 2020-07-20 à 23 05 22

2.Inference

The model was tested on 1000 RGBD images and with a test accuracy = 97,8% , here is some results:

Capture d’écran 2020-07-21 à 16 59 19

3.Architecture

Here is a screenshot of one bloc of SegNet visualised in Tensorboard :

Capture d’écran 2020-07-21 à 17 57 34

Conclusion

This project is about semantic segmentation of plant organs into 4 classes + Background using synthetic RGB-D images.

References

  • SegNet: A Deep Convolutional Encoder-Decoder Architecture for Image Segmentation by Vijay Badrinarayanan, Alex Kendall, Roberto Cipolla, Senior Member, IEEE

Contact

Farouk EL BAHA

Junior ML & DL Engineer

e-mail: alfarouk.elbaha@gmail.com

linkedin: www.linkedin.com/in/farouk-el-baha-74803b188

About

This repository is about an implementation of SegNet a Convolution-Deconvolution neural network for semantic segmentation trained from scratch with synthetic data.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages