Giter Site home page Giter Site logo

scaleai's Introduction

ScaleAI-Challenge

A problem to detect circles and its parameters from a noisy image

Problem:

The problem is to architect and train a model which is able to output the parameters of the circle present inside of a given image under the presence of noise. The model should output a circle parameterized by (row, column, radius) which specifies the center coordinates of the circle in the image and the radius of the circle.

Deliverables: (All 3 required)

  • Trained model and working find_circle method
  • The standard output of the model training in a file called training output.txt make sure that the training loss is visible in the output logs.
  • The code used to define & train the model

Approach:

  • The problem is broken down into two-stage detection using supervised learning and traditional computer vision algorothm.

  • The stage 1 involves training a Convolutional-AutoEncoder network with noisy images as the input and the original image as the label. The loss function is a binary cross-entropy loss.

  • The noisy images are normalized prior to training by normalizing using the largest pixel value. Hence pixel values lie in [0, 1]

  • The network has a total of ~70k parameters (~6Mb). There are three encoder conv layers and two decoder Conv layers. The final layer output is a pixel-wise sigmoid.

  • The second stage of the detection invovles using traditional Computer Vision algorithm - Canny Edge Detector and Hough Transform (in scikit-learn) for detecting the circles in the denoised image.

  • The Result obtained is 0.97 iou precision at AP=0.7 (result checked on 100 images)

Requirements:

  • Tensorflow 2.0
  • scikit-learn
  • matplotlib
  • Shapely
  • numpy

Output of Training:

  • TensorBoard Callback added for Tensorboard Event file generation.

scaleai's People

Contributors

prateethvnayak avatar

Watchers

James Cloos 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.