Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Template Matching for Coins

Hi,

I am undertaking a project that will automatically count values of coins from an input image. So far I have segmented the coins using some pre-processing with edge detection and using the Hough-Transform.

My question is how do I proceed from here? I need to do some template matching on the segmented images based on some previously stored features. How can I go about doing this.

I have also read about something called K-Nearest Neighbours and I feel it is something I should be using. But I am not too sure how to go about using it.

Research articles I have followed:

Template Matching for Coins

Hi,

I am undertaking a project that will automatically count values of coins from an input image. So far I have segmented the coins using some pre-processing with edge detection and using the Hough-Transform.

My question is how do I proceed from here? I need to do some template matching on the segmented images based on some previously stored features. How can I go about doing this.

I have also read about something called K-Nearest Neighbours and I feel it is something I should be using. But I am not too sure how to go about using it.

Research articles I have followed:

EDIT: Example I am going to have templates for each of the coins. Here are just 2 coin templates, namely R5 and 50c

50c Coin R5 Coin

I want to compare those 2 template coins with an input image. For this example I have only uploaded 2 coin templates. However I am going to include all denominations for my currency (8 coins). Input Image

I expect an output similar to the one below: enter image description here

Template Matching for Coins

I am undertaking a project that will automatically count values of coins from an input image. So far I have segmented the coins using some pre-processing with edge detection and using the Hough-Transform.

My question is how do I proceed from here? I need to do some template matching on the segmented images based on some previously stored features. How can I go about doing this.

I have also read about something called K-Nearest Neighbours and I feel it is something I should be using. But I am not too sure how to go about using it.

Research articles I have followed:

EDIT: Example I am going to have templates for each of the coins. Here are just 2 coin templates, namely R5 and 50c

50c Coin R5 Coin

I want to compare those 2 template coins with an input image. For this example I have only uploaded 2 coin templates. However I am going to include all denominations for my currency (8 coins). Input Image

I expect an output similar to the one below: enter image description here