AI-Coin-Counter is a Python-based web application that automatically detects and counts Indian coins from an image and calculates the total accumulated amount. It utilizes OpenCV for image processing and coin detection, providing an efficient and user-friendly interface.
- ✅ Automatic Coin Detection – Identifies and counts coins from an uploaded image.
- ✅ Indian Currency Support – Recognizes various Indian coin denominations.
- ✅ Amount Calculation – Computes the total value of detected coins.
- ✅ Web-Based Interface – Uses Flask/Streamlit for user interaction.
- ✅ OpenCV-Powered Processing – Implements image processing techniques for accurate detection.
- Python – Core programming language
- OpenCV – For image processing and coin detection
- Flask/Streamlit – For web-based interface
- NumPy – For mathematical operations
- Matplotlib – For visualization (if needed)
- Upload an Image – Users provide an image of coins.
- Preprocessing – Converts image to grayscale and applies noise reduction.
- Edge Detection – Uses Canny Edge Detection and contour detection to identify coins.
- Coin Identification – Detects different coins based on size and shape.
- Amount Calculation – Computes the total value of all detected coins.
- Result Display – Displays the counted coins and the accumulated amount.
Make sure you have Python installed (>= 3.7) and install the required dependencies:
pip install opencv-python numpy matplotlib flask streamlitpython coin_counter.pyFor Streamlit-based UI, run:
streamlit run coin_counter.py- Open the web application.
- Upload an image of coins.
- Click "Detect Coins" to process the image.
- View the detected coins and the total amount.
- 🔥 Deep Learning Integration – Enhance accuracy using TensorFlow/Keras.
- 📱 Mobile Support – Convert into a mobile-friendly application.
- 🎥 Real-Time Detection – Enable live video coin detection.
- 🌍 Multi-Currency Support – Extend detection for other currencies.
Contributions are welcome! Feel free to submit issues or pull requests.
This project is licensed under the MIT License.
🚀 AI-Coin-Counter – Automate Coin Counting with AI!