Giter Club home page Giter Club logo

drone_image_seg's Introduction

Project’s title: Semantic Segmentation of Drone Aerial images

Project objective:

Classify pixels of drone images into one of 23 classes


The original dataset(http://dronedataset.icg.tugraz.at) consists of 400 images and their RGB and labeled masks with sizes of 6000X4000 px

The project consists of 4 parts:

     1- Library Importing 
     2- Data Preprocessing
     3- Model compilation and training
     4- Results

The Data Preprocessing step:

     1- Image (orginal and labled masks) Resizing to 400X300 px
     
     2- Resized images path Globbing
     
     3- Image augmentaion
     
     4- Creating dataframe from orginal and mask path
     
     5- Create tensorflow's Batch_dataset or keras' custom generator 

Data Augmentaion step:

     - Used imgaug library
     - The augmentation pipeline consists of 5 steps:
                            * rotation by 90,180 and 270 degree
                            * flipping vertically and horizontally
                            
     - The result of the augmentation brought the number from 400 to 2400

Keras Model:

     - Used mobileUnet with total of 1,941,479 parameters
     - The images were resized again to 320x400 because the network has 4 (2,2) max-pooling in the Contraction path
     - Used ReduceLROnPlateau and Early stoping callbacks during training

Results:

    - At the end of 200 epochs:
                                - validation loss and accuracy were 0.3651 and 84.49%
                                - training   loss and accuracy were 0.3681 and 84.47%
    - Using 125 images that were not used for training nor validation the accuracy was 83.93%
       

Result examples

drone_image_seg's People

Watchers

O. Gharbia avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.