Skip to content

A short Image Processing algorithm for detecting and classifying carrom coins

Notifications You must be signed in to change notification settings

khandelwalbharat/CS1.6_IP

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CS1.6_IP

My Institute Technical Summer Project required Image Processing for detection and classification of coins on a carrom board. It uses the Hough Transform for detecting circles(and provides their radii too).

The Hough Transform:

Thresholding is done first, and then followed by "Edge Detection" as in openCV. Using the obtained edges, a circle is detected(if it falls within the parameters of the function). The main(important) parameters are Minimum and Maximum circle Radii and the Minimum possible distance between two circles.

Additions to core algorithm:

  1. Auto-Calibration: User is asked to point to as many similar colored pieces as possible(For each:Red, Black and White coins). This allows me to calculate range of values of pixels corresponding to that particular colour. Adds flexibility of environment and lighting condition.(Note: HSV is used for classification/thresholding).

  2. Camera Input: You can take input from the default camera of the computer. This enables you to attach a USB webcam for the purpose of image capture. It was added primarily due to its requirement in my specific application.

Thank you.

About

A short Image Processing algorithm for detecting and classifying carrom coins

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%