Code scanning method, code scanning device and mobile terminal

A mobile terminal and code scanning technology, applied in the field of two-dimensional code scanning, can solve the problems of difficulty in popularization, high price, and uneven illumination of two-dimensional code images.

Inactive Publication Date: 2021-01-01
汪金玲
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in industrial production, in order to ensure the clarity and stability of the two-dimensional code images collected by the equipment, high-speed cameras are often used as the image acquisition module of the equipment. High price, difficult to popularize
[0004] At the same time, in the actual use process, the collected two-dimensional code images often have problems such as uneven illumination, tilt, distortion and distortion, which bring great challenges to the recognition of two-dimensional codes

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Code scanning method, code scanning device and mobile terminal
  • Code scanning method, code scanning device and mobile terminal
  • Code scanning method, code scanning device and mobile terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0074] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0075] By improving the traditional image binarization processing method, the detailed information of the two-dimensional code image after binarization processing is guaranteed, and a dynamic two-dimensional code positioning method is used to locate the dynamic two-dimensional code, so that according to the two-dimensional The positioning result of the code is used to decode the two-dimensional code. refer to figure 1 As shown, it is a schematic diagram of a code scanning method provided by an embodiment of the present invention.

[0076] In this embodiment, the code scanning method includes:

[0077] S1. Acquire a two-dimensional code image including a two-dimensional code, and use a weighted average method to grayscale the two-dimensional code image to obtain a grayscale image of the two-dimensional code.

[0078...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to the technical field of two-dimensional code scanning, and discloses a code scanning method. The method comprises the following steps: acquiring a two-dimensional code image containing a two-dimensional code, and graying the two-dimensional code image by using a weighted average method to obtain a two-dimensional code grayscale image; performing noise reduction processing on the two-dimensional code grayscale image by using a bilateral filtering algorithm to obtain a denoised two-dimensional code grayscale image; performing binarization processing on the denoised two-dimensional code grayscale image by using an improved binarization algorithm to obtain a binarized image of the two-dimensional code; positioning the two-dimensional code by using a dynamic two-dimensional code positioning algorithm to obtain an area where the two-dimensional code is located; according to the area where the two-dimensional code is located, decoding the two-dimensional code by usinga two-dimensional code decoding method to obtain a code scanning result of the two-dimensional code. The invention further provides a code scanning device and a mobile terminal. According to the invention, the scanning of the two-dimensional code is realized.

Description

technical field [0001] The invention relates to the technical field of two-dimensional code scanning, in particular to a code scanning method, a code scanning device and a mobile terminal. Background technique [0002] With the vigorous development of computer technology and the gradual popularization of smart devices, two-dimensional code recognition technology has emerged as the times require. As a medium for information transmission, two-dimensional codes have been used in all aspects of production and life such as shopping malls, supermarkets, industrial production lines, and postal express delivery. The scanning and recognition of two-dimensional codes has become a hot topic in the current research field. [0003] For the recognition of two-dimensional codes, an image recognition device equipped with a camera is often used, which is matched with a suitable recognition software to recognize it. In daily life, this kind of equipment has a simple structure and low price, ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06K7/14
CPCG06K7/1443G06K7/146
Inventor 汪金玲
Owner 汪金玲
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products