Font Size: a A A

Barcode Localization Under Complex Backgrou Nds And Non-uniform Illumination

Posted on:2024-02-01Degree:MasterType:Thesis
Country:ChinaCandidate:M X SangFull Text:PDF
GTID:2568307106468674Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
At present,barcode technology is more and more widely used in all aspects of people’s production and life,such as commodity circulation,express logistics,etc.With the wide use of bar code technology,automatic bar code recognition technology has attracted more and more attention.In bar code recognition technology,bar code positioning is the key problem to be solved.With the increasing use of barcode,the barcode positioning process is also facing more complex environments,and many new challenges have emerged.Among them,the complex background and the influence of non-uniform illumination are the main difficulties faced by the current barcode positioning problem.For the above barcode application scenario,this paper proposes a new barcode location algorithm.The positioning problem of barcode is easily affected by factors such as uneven illumination and complex background.Based on EDLines line detection algorithm,a positioning algorithm that can deal with the barcode positioning problem under non-uniform lighting conditions is proposed.First,the EDLines algorithm is used to detect the straight line segment of the image,and the midpoint coordinates of all line segments are extracted.Since the midpoint coordinates near the barcode are relatively densely distributed,the density-based HDBSCAN point clustering algorithm is used for all midpoint coordinates for density clustering.Then a filtering strategy based on the consistency of line segment direction is proposed to preliminarily filter the clustering results,and one or more point clustering results that may belong to the barcode area are obtained,and then use the RANSAC algorithm to perform line fitting on the point clustering results.The accuracy of the straight line fitting results is judged by direction consistency screening,and the intersection of the fitted straight line and the straight line segment to which the centroid belongs is calculated for the results that meet the expectations,and the width of the barcode area is obtained.Finally,the straight line segment obtained by screening is calculated.Average length,get the height of the barcode area,so as to accurately locate the barcode position.Compared with the previous algorithms on the public barcode dataset and the self-made barcode dataset,the algorithm has good positioning accuracy and running speed.
Keywords/Search Tags:barcode localization, complex background, nonuniform illumination, linear detection, point clustering
PDF Full Text Request
Related items