首页>
外国专利>
TWO-DIMENSIONAL CODE PRELIMINARY POSITIONING METHOD AND SYSTEM
TWO-DIMENSIONAL CODE PRELIMINARY POSITIONING METHOD AND SYSTEM
展开▼
机译:二维码的初步定位方法和系统
展开▼
页面导航
摘要
著录项
相似文献
摘要
The invention provides a primary localization method and system for QR codes. The primary localization method for QR codes comprises the steps: S1, binarizing pixel points of a received image containing a QR code; S2, partitioning the image containing the QR code into at least one mesh region including m*n pixel points; S3, recording the number of black pixel points in each mesh region, assigning the value 1 to mesh regions including black points, and assigning the value 0 to mesh regions not including black points; S4, marking the image containing the QR code as a non-object region after values are assigned to the mesh regions; S5, scanning the non-object region line-by-line and column by column and marking the union of the mesh regions continuously with the value 1 for the first time in each line and the mesh regions continuously with the value 1 for the first time in each column as an object region; S6, judging whether the object region is the QR code region or not, if not, returning to step S5 to perform corresponding operation again, and if yes, outputting the line numbers and the column numbers of the pixel points corresponding to the boundaries of the object region. The method is rapid and accurate.
展开▼