Research on Accurate QR Two-Dimensional Code Localization Method with Improved SSD Algorithm
In order to solve the inspection problem brought about by the closure of wastewater treatment plants with cover plate,inspection robots can be utilized to accurately locate the inspection cover plate marked with characteristic two-dimensional codes,and open the cover plate in order to obtain the key information in the inspected area.Since the traditional two-dimensional code detection technology can not meet the demand for high-precision localization,an improved single shot multibox detector (SSD) algorithm is proposed.On the basis of the SSD algorithm's coarse positioning of the quick response(QR) two-dimensional code area,the median filtering and adaptive binarization are used to correct the deformed image by using the perspective transformation method,and the accurate positioning of the QR two-dimensional code is realized by using the edge extraction and positioning code screening method.The QR two-dimensional code dataset of wastewater treatment plant inspection cover plate is constructed,and five common working conditions in image acquisition are selected for testing.The experimental results show that compared with the open-source computer vision library (OpenCV) algorithm,the improved SSD algorithm increases the recognition rate by about 5% on average,and the cover opening rate by about 32% on average,which significantly improves the efficiency of intelligent inspection.The algorithm effectively solves the problem of two-dimensional code image localization in complex industrial scenarios.