由于条码载体非平面,导致PDF417条码弯曲,发生非线性畸变,传统的定位和校正的方法已经不适用,本文提出一种非线性畸变PDF417条码的识别方法。使用沈俊边缘检测,基于链码的直线检测、矩形块检测及聚类的方法进行条码定位,然后针对不同的畸变类型采用不同的分块校正的方法对整个条码完成校正。该定位方法不仅适用于非线性畸变的PDF417条码,同样适用于线性畸变的PDF417条码。实验结果表明该方法具有良好的性能,能够满足实际使用的要求。
For crooked PDF417 bar code,it's hard to locate and correct nonlinear distortion PDF417 bar code using traditional method,so a new recognition method of nonlinear distortion PDF417 barcode is proposed. Shenjun edge detection,line detection based on chain code and line clustering are used to locate bar code. For different types of distortion,we use different types of block correction ideas to correct the total bar code. This location method not only applies to nonlinear distortion PDF417 bar code,but also applies to linear distortion PDF417 bar code. Experimental results show that the proposed method has good performances and can meet the requirements of practical application.