Giter VIP home page Giter VIP logo

water-meters's Introduction

Water-Meters

Link to Notebook: https://www.kaggle.com/merrickolivier/water-meters

The aim of this project was to develop a program that provides meter readings from photos. As part of the pipeline, I carried out various preprocessing steps on the images. I then put the images through a UNet model with their masks; the goal was to obtain mask predictions for reading locations on meters. With the predictions masks, I cropped the images of meters to extract only the reading portion. I then manually placed bounding boxes and labels around each digit in 200+ cropped meters. Using the segmented images, I trained a Faster RCNN model to recognize digits. Next, I parsed the predictions from the Faster RCNN model and organized the labels (digits) based on the x-coordinate from each bounding box from left to right. This provided me with the detected digits in proper order. Based on the types of meters included in the training set, I set the decimal point based on the number of digits recognized. On the testing dataset, the Faster RCNN model's mAP was around 96%.

Once the models were trained and preprocessing steps outlined, I created an application that allows a user to upload and image and obtain a reading. This application was dockerized and tested locally, and was found to function well. I tried pushing the application to Heroku, but it consumes too much memory for it to run without a decent subscription. Nonetheless, that the container functions as expected demonstrates that one could productize this application if one has an appropriate server.

water-meters's People

Contributors

k-merrick 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.