电子科技 ›› 2020, Vol. 33 ›› Issue (2): 43-47.doi: 10.16180/j.cnki.issn1007-7820.2020.02.008

• • 上一篇    下一篇

基于图像检测的硬币面值识别方法

马旭东,袁锐波   

  1. 昆明理工大学 机电工程学院,云南 昆明 650500
  • 收稿日期:2019-01-13 出版日期:2020-02-15 发布日期:2020-03-12
  • 作者简介:马旭东(1995-),男,硕士研究生。研究方向:流体传动与控制。|袁锐波(1968-),男,博士,教授。研究方向:流体传动与控制。
  • 基金资助:
    国家自然科学基金(51605294)

An Identification Method of Coins Denomination Based on Image Detection

MA Xudong,YUAN Ruibo   

  1. School of Mechanical & Electrical Engineering,Kunming University of Science and Technology,Kunming 650500,China
  • Received:2019-01-13 Online:2020-02-15 Published:2020-03-12
  • Supported by:
    National Nature Science Foundation of China(51605294)

摘要:

为了实现同时对多个硬币面值的准确识别,文中提出一种基于图像检测的硬币面值识别方法。首先逐步采用中值滤波、阈值分割以及形态学操作对灰度图像中的硬币进行ROI提取,实现硬币的粗定位;然后以ROI的外接最小矩形作为研究区域从原图提取图像,并由RGB颜色空间转化到HSV颜色空间,通过颜色特征的不同识别出5角硬币;最后采用SSIM图像质量评价的方法将剩余ROI中的1角硬币与1元硬币检测识别。结果表明,该硬币面值识别方法在不需要精确获得硬币大小尺寸的情况下,可以同时对多个硬币进行准确识别。

关键词: 硬币识别, 中值滤波, 阈值分割, ROI提取, HSV, SSIM

Abstract:

In order to realize accurate recognition of multiple coin denominations at the same time, a recognition method of coins denomination based on image detection was proposed in this paper. Firstly, median filtering, threshold segmentation and morphological operations were gradually used to extract ROI of coins in grayscale image to realize rough coins positioning. Then, the smallest rectangles outside ROI were taken as the research area to extract the images from the original image. The extracted images were transformed from RGB color space to HSV color space, so the 5-dime coins could be identified through the difference of color features. Finally,SSIM image quality evaluation method was used to detect and identify the 1-dime coins and 1-yuan coins in the remaining ROI. The result showed that the identification method of coins denomination could accurately identify multiple coins at the same time without accurately obtaining the coin size.

Key words: coin identification, median filtering, threshold segmentation, ROI extraction, HSV, SSIM

中图分类号: 

  • TP391.41