[1]陈 钧,周井泉,程家文,等.水果分类的多模板匹配算法及其 FPGA 实现[J].计算机技术与发展,2023,33(04):34-39.[doi:10. 3969 / j. issn. 1673-629X. 2023. 04. 005]
 CHEN Jun,ZHOU Jing-quan,CHENG Jia-wen,et al.FPGA Implementation of Multi-template Matching Algorithm for Fruit Classification[J].,2023,33(04):34-39.[doi:10. 3969 / j. issn. 1673-629X. 2023. 04. 005]
点击复制

水果分类的多模板匹配算法及其 FPGA 实现()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
33
期数:
2023年04期
页码:
34-39
栏目:
嵌入式计算
出版日期:
2023-04-10

文章信息/Info

Title:
FPGA Implementation of Multi-template Matching Algorithm for Fruit Classification
文章编号:
1673-629X(2023)04-0034-06
作者:
陈 钧周井泉程家文谷文成
南京邮电大学 电子与光学工程学院、柔性电子学院,江苏 南京 210023
Author(s):
CHEN JunZHOU Jing-quanCHENG Jia-wenGU Wen-cheng
School of Electronic and Optical Engineering,School of Flexible Electronics,NanjingUniversity of Posts and Telecommunications,Nanjing 210023,China
关键词:
实时识别与分类多模板匹配算法流水线稳定性
Keywords:
real-timerecognition and classificationmulti-template matching algorithmpipeliningstability
分类号:
TP391;TN911;TP332
DOI:
10. 3969 / j. issn. 1673-629X. 2023. 04. 005
摘要:
为了能够达到实时、高效,并且同时对多种水果进行识别与分类,设计了一种多模板匹配算法。 该算法的设计主要包括了形状特征提取、特征与模板数据库的匹配、识别与分类。 特征提取的过程包括了图像处理的灰度化、均值滤波、Sobel 边缘检测、梯度统计、归一化等一系列模块。 以水果的形状特征来构建一个多模板数据库,将所需识别的水果与模板数据库进行匹配与分类。 以紫光同创的 PGL22G-6MBG324 产品搭建的实时图像处理平台,利用现场可编程逻辑门阵列(field programmable gate array,FPGA) 的流水线以及并行处理结构的优点,实现了多模板匹配算法。对 FPGA 实现的算法选取了芒果、香蕉、苹果、猕猴桃四种水果进行了测试。识别与分类的时间在 12.10 ms 内,在固定位置的识别准确率可达98% 以上。 与一些神经网络的算法进行对比,具有较高的实时性。 并且测试了该算法受光照、平移、缩放、微旋的影响较小。 结果表明该算法具有实时性、有效性、稳定性。
Abstract:
In order to achieve real - time and efficient recognition and classification of a variety of fruits, a multi - template matchingalgorithm is designed. The design of the algorithm mainly includes shape feature extraction,feature matching with template database,recognition and classification. The process of feature extraction includes a series of modules of image processing such as gray-scale,meanfiltering,Sobel edge detection,gradient statistics, normalization and so on. A multi-template database is constructed based on the shapefeature of fruits,and the fruits to be recognized are matched and classified with the template database. Based on the real-time image processing platform of PGL22G-6MBG324 created by Unigroup,the multi-template matching algorithm is realized by using the pipeline offield programmable gate array ( FPGA) and the advantages of parallel processing structure. Mango, banana, apple and kiwifruit areselected for the test of algorithm implemented by FPGA. The recognition and classification time is within 12. 10 ms,and the recognitionaccuracy can reach more than 98% at fixed positions. Compared with some neural network algorithms, it has higher real - timeperformance and is less affected by illumination,translation,scaling and micro-rotation. The results show that the proposed algorithm isreal-time,effective and stable.

相似文献/References:

[1]张炯 吕紫旭 刘栋 金惠华.实时操作系统ThreadX剖析[J].计算机技术与发展,2008,(01):22.
 ZHANG Jiong,LU Zi-xu,LIU Dong,et al.Analysis of Real Time Operating System: ThreadX[J].,2008,(04):22.
[2]唐纲 高裴裴 朱耀庭.多媒体教学实时录播系统的设计及其实现方法[J].计算机技术与发展,2008,(05):176.
 TANG Gang,GAO Pei-pei,ZHU Yao-ting.Design and Implementation Method of Real - Time Multimedia Teaching Recording and Playing System[J].,2008,(04):176.
[3]马溪骏 陈宜义 杨善林.基于实时嵌入式Linux的金属液智能检测仪设计[J].计算机技术与发展,2007,(01):206.
 MA Xi-jun,CHEN Yi-yi,YANG Shan-lin.Design of Intelligent Tester for Comprehensive Performance of Melting Based on Embedded Real - Time Linux[J].,2007,(04):206.
[4]田斌 阎毓杰.基于Web的实时远程DSP实验系统[J].计算机技术与发展,2006,(06):98.
 TIAN Bin,YAN Yu-jie.A Web- Based Real Time Remote DSP Experiment System[J].,2006,(04):98.
[5]赵素林.利用多线程实现串口数据的实时图形化显示[J].计算机技术与发展,2006,(06):124.
 ZHAO Su-lin.Utilizing Multithread to Realize Real - time Graphical Display of Data Transferred by Serial Port[J].,2006,(04):124.
[6]洪艳伟 赖娟 杨斌.基于EDF算法的可行性判定及实现[J].计算机技术与发展,2006,(11):97.
 HONG Yan-wei,LAI Juan,YANG Bin.Feasibility Test and Realization Based on EDF Algorithm[J].,2006,(04):97.
[7]钱小红 李小艳.基于DirectShow实现局域网实时视频传输[J].计算机技术与发展,2011,(10):218.
 QIAN Xiao-hong,LI Xiao-yan.Realization of LAN Real-Time Video Transmission Based on DirectShow[J].,2011,(04):218.
[8]王玉辉 郭刚[] 徐锡山.多分辨率点状地标实时渲染研究[J].计算机技术与发展,2012,(02):209.
 WANG Yu-hui,GUO Gang,XU Xi-shan.Research on Real Time Rendering of Multi-Resolution Point Features[J].,2012,(04):209.
[9]黄雅峥 魏国华 刘娟.一种实时射频半实物仿真技术设计与实现[J].计算机技术与发展,2012,(05):212.
 HUANG Ya-zheng,WEI Guo-hua,LIU Juan.Design and Implementation of Real-Time RF Hardware-in-the-Loop Simulation Technology[J].,2012,(04):212.
[10]田冲,周井泉.一种基于加权公平队列调度的改进型算法[J].计算机技术与发展,2013,(06):71.
 TIAN Chong,ZHOU Jing-quan.An Improved Scheduling Algorithm Based on Weighted Fair Queue[J].,2013,(04):71.

更新日期/Last Update: 2023-04-10