Easy Coin Detection with Python and OpenCV

Are you interested in learning how to detect and count coins in an image using Python and OpenCV?

In this tutorial, we’ll walk you through the step-by-step process of using image processing techniques to identify coins in an image, sort them by size, and mark each coin with a corresponding number.

We’ll start by converting the image to grayscale and applying a blur to help filter out noise. Then, we’ll use the Canny function to detect edges and find contours around each of the coins.

After sorting the detected areas, we’ll loop through each one and display a circle around or inside it.

This tutorial is perfect for beginners looking to learn more about image processing with Python and OpenCV.

If you are interested in learning modern Computer Vision course with deep dive with TensorFlow , Keras and Pytorch , you can find it here  : http://bit.ly/3HeDy1V

Before we continue, I actually recommend this book for deep learning based on Tensorflow and Keras : https://amzn.to/3STWZ2N

You can find more similar tutorials in my blog posts page here : https://eranfeit.net/blog/

check out our video here : https://youtu.be/_Coth4YESzk&list=UULFTiWJJhaH6BviSWKLJUM9sg

Code for this video: https://ko-fi.com/s/856c283e25

Enjoy,

Eran

#Python #OpenCV #ObjectDetection #ComputerVision #findcontours

Eran Feit