Code Monkey home page Code Monkey logo

simontamayo / demo_using_mask_rcnn Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 24.32 MB

This tutorial is one of the demos used in the course “Introduction to Machine Learning” at MINES ParisTech - PSL Research University, lectured by Simon Tamayo. Acknowledgement: This demo was adapted from the Matterport tutorial on Mask_RCNN which implements Mask R-CNN. Mask R-CNN efficiently detects objects in an image while simultaneously generating a high-quality segmentation mask for each instance (developed by K. He, G, Gkioxari, P. Dollár & R. Girshick from Facebook AI Research).

Jupyter Notebook 100.00%

demo_using_mask_rcnn's Introduction

Image detection and classification using Mask R-CNN

This tutorial is one of the demos used in the course “Introduction to Machine Learning” at MINES ParisTech - PSL Research University, lectured by Simon Tamayo.

This code uses a deep convolutional neural network, and more precisely Mask R-CNN to detect and classify the objects present in an input image. Mask R-CNN does the following:

mask_rcnn_overview *image borrowed from the original paper presenting mask rcnn

Here is what Mask R-CNN does:

  1. From an input_image:

input_image_ex

  1. You can identify the objects in the image, classify them and also obtain their masks:

input_style_ex

Acknowledgement

This demo was adapted from the Matterport tutorial on Mask_RCNN which implements Mask R-CNN. Mask R-CNN efficiently detects objects in an image while simultaneously generating a high-quality segmentation mask for each instance (developed by Kaiming He, Georgia Gkioxari, Piotr Dollár, Ross Girshick).

Getting Started

Before running this code make sure you have Python3 and the packages: numpy, scipy, Pillow, cython, matplotlib, scikit-image, tensorflow>=1.3.0, keras>=2.0.8, opencv-python, h5py, imgaug.

Please note that in order to run this code you also need to download the pre-trained COCO weights (mask_rcnn_coco.h5) from here, and place it in the root directory of this code.

MASK R-CNN

This tutorial uses the deep neural network MASK R-CNN developed by K. He, G. Gkioxar, P. Dollar and R. Girshick from Facebook AI Research (FAIR). Mask R-CNN is an instance segmentation model that can identify pixel by pixel location of any object, returning a classification result and a mask for the location of the instance in the image.

Built With

  • Mask R-CNN - Deep neural network
  • COCO - Image data set used to train Mask R-CNN

This project is licensed under the MIT License - see the LICENSE.md file for details

demo_using_mask_rcnn's People

Stargazers

Massi Meniche avatar

Watchers

James Cloos avatar paper2code - bot avatar

Forkers

massymeniche

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.