This Python project uses OpenCV and CVZone libraries to detect coins from a live video feed, calculate their total value in rupees, and display the result on-screen.
- Captures video from a camera and applies image processing techniques to detect coins.
- Uses contour detection to identify different coin sizes and calculate their value based on predefined criteria.
- Displays the total value of detected coins in rupees on the screen.
- Python 3.x
- OpenCV
- CVZone
-
Clone the repository:
git clone https://github.com/your_username/your_repository.git cd your_repository
-
Install dependencies:
pip install -r requirements.txt
Connect a camera or webcam to your computer.
Run the script:
python coin_detection.py
Adjust the trackbars in the settings window to optimize coin detection based on lighting conditions.
I'm a full stack Web & App Developer and an undergrad Data Science Student 👨💻🙌