Skip to content

In this program to detect coins in an image using Hough Circle Transform and note that the parameters like minDist, minradius, maxRadius can vary from image to image.

Notifications You must be signed in to change notification settings

Naveen-2506/Coin-Detection-using-OpenCV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Coin Detection using OpenCV

In this program to detect coins in an image using Hough Circle Transform and note that the parameters like minDist, minRadius, maxRadius can vary from image to image.

Algorithm for finding the coins that fall under the same st.line (Vertical)

  1. I have devised my own algorithm for finding the coins that fall under the same st.line (Vertical).
  2. We find all the circles(coins) whose x-coordinates of the centres have difference less than 40(say).
  3. If the difference in x-coordinates of the centres of the circles are more than 40, we say that circles are not aligned i.e, they are not along same st.line. Note that the number '40' may change from image to image.

About

In this program to detect coins in an image using Hough Circle Transform and note that the parameters like minDist, minradius, maxRadius can vary from image to image.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published