Coder Social home page Coder Social logo

coin-counter's Introduction

Coin-Counter

Welcome to the Coin Counter project! This computer vision-based system is designed to analyze live video input for the detection and identification of various coins, along with their respective values. The project uses openCV, cvzone, and numpy libraries to preprocess the images for accurate analysis. Importantly, the system achieves these objectives without the use of any machine learning or deep learning algorithms.


Files:

main.py

This file contains the main code for the project, focusing on live video processing. It fetches data from a specified URL (replace with your own) and applies various image processing techniques to identify and evaluate coins in the video feed. The script uses the cvzone library for contour detection and color analysis.

gui_main.py

For a more interactive experience, gui_main.py offers a graphical user interface (GUI). Users can upload an image for analysis using the "Upload File" button. The GUI is built using the customtkinter library and incorporates the functionalities from main.py.

requirements.txt

To ensure a smooth run of the project, make sure to install the necessary dependencies listed in this file. You can install them using the command:

pip install -r requirements.txt

How to Use:

  • Ensure you have the required dependencies installed.

  • Replace the URL in main.py with IP address of the live video feed fetched from your phone camera to your system's browser on the same local network using IP Webcam (A thrid party app).

  • You can also replace the url with a link to an image on the internet.

  • Make sure to maintain a distance of 20 cms or around 8 inches between the camera and the coins.

  • Run main.py to start the coin counting process.

  • Optionally, you can use the GUI provided in gui_main.py for a more interactive experience. Run gui_main.py to launch the GUI, and use the "Upload File" button to analyze a specific image.

Credits: This project was developed by the following contributors:

  • Aayush Vishnoi
  • Anirudha Upadhyay
  • Aditya Kudikala
  • Ankna Litoriya

coin-counter's People

Contributors

justa3dobject avatar anirudhupadhyay avatar ankna-litoriya 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.