Counting Turkish Coins with a Calibrated Camera

  • Burak BenligirayEmail author
  • Halil Ibrahim Cakir
  • Cihan Topal
  • Cuneyt Akinlar
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 9280)


We present a computer vision application that detects all coins in a test image, classifies each detected coin and computes the total amount. Coins to be counted are assumed to be lying on a flat surface. The application starts by estimating the extrinsic parameters of the input camera relative to this flat surface (\([\mathbf R \,|\,t]\)), whose intrinsic parameters (\(\mathbf K \)) are assumed to be known beforehand. Then, a bilateral filter is applied to the image to remove textural details and noisy artifacts. Circles in the filtered image are detected and smaller concentric circles are eliminated. Finally, the geometric parameters (the center and the diameter) of the remaining circles are computed by back-projecting the reciprocal points from the circle contours using the estimated camera parameters. Having thus computed the diameter of each detected coin, the classification is performed by comparing the computed diameter with the actual coin diameters. The experiments performed with a dataset consisting of 50 images containing different combinations of Turkish coins show that the proposed method achieves 98% accuracy rate and works even when some coins are partially occluded, as the method does not use any texture information.


Coin detection Circle detection Bilateral filtering Pose estimation Camera calibration 


  1. 1.
    Reisert, M., Ronneberger, O., Burkhardt, H.: An efficient gradient based registration technique for coin recognition. In: Proc. of the Muscle CIS Coin Competetion Workshop (2006)Google Scholar
  2. 2.
    Fuerst, M., Woegerer, C., Kronreif, G., Hollaender, I., Penz, H.: Intelligent high-speed, high-variant automation of universal coin sorting for charity organizations. In: ICRA (2006)Google Scholar
  3. 3.
    Zaharieva, M., Kampel, M., Zambanini, S.: Image based recognition of ancient coins. In: Kropatsch, W.G., Kampel, M., Hanbury, A. (eds.) CAIP 2007. LNCS, vol. 4673, pp. 547–554. Springer, Heidelberg (2007) CrossRefGoogle Scholar
  4. 4.
    Modi, S., Bawa, S.: Automated Coin Recognition System using ANN. Int’l. Journal of Computer Applications 26(4), July 2011Google Scholar
  5. 5.
    Shen, L., Jia, J., Ji, Z., Chen, W.S.: Extracting Local Texture Features for Image-Based Coin Recognition. IET Image Process. 5(5), 394–401 (2011)CrossRefGoogle Scholar
  6. 6.
    Kim, J., Pavlovic, V.: Ancient coin recognition based on spatial coding. In: Int’l. Conf. Pattern Recognition (ICPR), Stockholm, Sweden (2014)Google Scholar
  7. 7.
    Pendse, M., Wang, Y.: Automated Coin Recognition with Android Phone, Term Project, Dept. of Electrical Engineering, Stanford UniversityGoogle Scholar
  8. 8.
    Online link: (last accessed: February 15, 2015)
  9. 9.
    Tomasi, C., Manduchi, R.: Bilateral filtering for gray and color images. In: IEEE Int. Conf. on Computer Vision, pp. 839–846 (1998)Google Scholar
  10. 10.
    Akinlar, C., Topal, C.: EDCircles: A real-time circle detector with a false detection control. Pattern Recognition 46(3), 725–740 (2013)CrossRefGoogle Scholar
  11. 11.
    Hartley, R., Zisserman, A.: Multiple View Geometry in Computer Vision, 2nd edn. Cambridge Univ. Press (2004)Google Scholar
  12. 12.
    Online link: (last accessed: February 15, 2015)

Copyright information

© Springer International Publishing Switzerland 2015

Authors and Affiliations

  • Burak Benligiray
    • 1
    Email author
  • Halil Ibrahim Cakir
    • 2
  • Cihan Topal
    • 1
  • Cuneyt Akinlar
    • 3
  1. 1.Department of Electrical and Electronics EngineeringAnadolu UniversityEskisehirTurkey
  2. 2.Department of Computer EngineeringDumlupinar UniversityKutahyaTurkey
  3. 3.Department of Computer EngineeringAnadolu UniversityEskisehirTurkey

Personalised recommendations