Git Product home page Git Product logo

docker-app-for-fake-bank-note-detection's Introduction

Docker container for Streamlit Web App of Fake Bank Note Detection

Contributor(s): Shubham, Yash Sethia, Ritesh Kumar

Picture


Demo (Staging)

https://fake-note-detector.herokuapp.com

Production (Live)

https://production-fake-note-detector.herokuapp.com

Docker Hub Repository

https://hub.docker.com/r/tiwarishubham635/banknotedetector

About

Docker is a platform that allows users to easily pack, distribute, and manage applications within containers. It's an open-source project that automates the deployment of applications inside software containers. Gone are the days of an IT professional saying "Well, it worked on my machine." Not it works on all of our machines.

App.py contains the code which creates a streamlit UI and takes the image of a Bank Note as input and calculates its variance, skewness, kurtosis and entropy of the image after transforming it into wavelets. Further, these attributes are used to classify the image as a Real note or a Fake one.

Data were extracted from images that were taken from genuine and forged banknote-like specimens. For digitization, an industrial camera usually used for print inspection was used. The final images have 400x 400 pixels. Due to the object lens and distance to the investigated object gray-scale pictures with a resolution of about 660 dpi were gained. Wavelet Transform tool was used to extract features from images.

Build the image & run it locally

In a terminal, navigate to the folder containing the .dockerfile. This will create a new docker image and tag it with the name of your repository, name of the image, and the version It will take a few minutes to download & install all of the required files

docker build -t money_api . 

Run the image locally in debug mode and expose ports 8501

docker run -p 8501:8501 money_api

Push to docker hub account name/repository. This may take a few minutes

docker push tiwarishubham635/banknotedetector

The user can pull the docker image from the docker hub on their system using:

docker pull tiwarishubham635/banknotedetector

Then using build and run, the docker image can be run locally. Further we have deployed this docker image on Heroku.

docker-app-for-fake-bank-note-detection's People

Contributors

tiwarishubham635 avatar

Watchers

 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.