Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

If your images are all like the ones you showed us, meaning no scale or illumination change and nice background, then you could either use:

  1. Template matching using matchTemplate and select the sample that gives the best result.
  2. Binarize, get blobs and sort the coins based on shape or area.

That's what I would try first, but maybe you have some other constraints?