通过对计算机视觉模板匹配基本算法的研究,改进了基本的模板匹配算法.基于OpenCV开源平台,在VC++6.0的开发环境中设计了一套智能电表检测系统,该系统采用了改进的模板匹配算法,可在线有效检测电能表的多处信息,并对缺陷进行统计,有助于厂商改善产品质量,保证了电能表出厂的可靠性.实验表明系统检测速度快、实时性好.
This paper improved the template matching algorithm through the study of the basic algorithm of template matching on computer vision. Based on OpenCV open-source platform, a smart meter detection system is designed by VC++6.0. The system utilizes the improved template matching algorithm and detects multiple information of the power meter in effect and calculates defects. It's very helpful to improve the quality of the power meter and ensure the reliability of the power meter. The experiments show that the system detects fast and real-time.