Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Decoding method and terminal for one-dimensional code CMOS camera engine

A decoding method and a decoding terminal technology, which are applied to the decoding method of a one-dimensional code CMOS camera engine and the terminal field, can solve problems such as inability to decode and slow decoding speed, and achieve the effect of ensuring the yield rate and improving the decoding rate

Active Publication Date: 2018-01-30
FUJIAN LANDI COMML EQUIP CO LTD
View PDF16 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is: the present invention provides a decoding method and a terminal of a one-dimensional code CMOS camera engine, which solves the problem that the decoding speed is slow or cannot be decoded in the prior art

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
  • Decoding method and terminal for one-dimensional code CMOS camera engine
  • Decoding method and terminal for one-dimensional code CMOS camera engine
  • Decoding method and terminal for one-dimensional code CMOS camera engine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0102] Please refer to figure 2 , Embodiment 1 of the present invention is:

[0103] The invention provides a decoding method of a one-dimensional code CMOS camera engine, comprising the following steps:

[0104] S1: controlling the CMOS camera engine to take a picture, the picture includes a one-dimensional code and a red cross;

[0105] S2: Calculate the position of the red cross in the picture, and obtain the offset of the red cross relative to the center of the picture according to the calculation result;

[0106] S3: According to the offset, adjust the priority decoding area of ​​the picture by the CPU in the next decoding.

[0107] The S3 is specifically:

[0108] The CMOS camera engine includes a preset memory;

[0109] storing the offset in the memory;

[0110] In the next decoding, after the CPU reads the offset in the memory, it adjusts the priority decoding area of ​​the picture according to the read result.

Embodiment 2

[0112] The invention provides a decoding method of a one-dimensional code CMOS camera engine, comprising the following steps:

[0113] S1: controlling the CMOS camera engine to take a picture, the picture includes a one-dimensional code and a red cross;

[0114] S2: Calculate the position of the red cross in the picture, and obtain the offset of the red cross relative to the center of the picture according to the calculation result;

[0115] Processing the picture to obtain a plurality of coordinate points whose pixel color is red;

[0116] Obtaining position information of the red cross line according to the plurality of coordinate points;

[0117] According to the position information, the offset of the red cross line relative to the center of the picture is calculated.

[0118] "Process the image to obtain a plurality of coordinate points whose pixel color is red" is specifically:

[0119] Acquire the RGB value of each pixel of the picture, and obtain multiple coordinate...

Embodiment 3

[0143] Please refer to image 3 , Embodiment three of the present invention is:

[0144] The invention provides a decoding terminal of a one-dimensional code CMOS camera engine, comprising a memory, a processor and a computer program stored on the memory and operable on the processor, and the processor implements the following steps when executing the program:

[0145] S1: controlling the CMOS camera engine to take a picture, the picture includes a one-dimensional code and a red cross;

[0146] S2: Calculate the position of the red cross in the picture, and obtain the offset of the red cross relative to the center of the picture according to the calculation result;

[0147] S3: According to the offset, adjust the priority decoding area of ​​the picture by the CPU in the next decoding.

[0148] The S3 is specifically:

[0149] The CMOS camera engine includes a preset memory;

[0150] storing the offset in the memory;

[0151] In the next decoding, after the CPU reads the o...

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 codes and in particular to a decoding method and terminal for a one-dimensional code CMOS camera engine. The method includes: controlling a CMOS cameraengine to take a picture including a one-dimensional code and a red cross line; calculating the position of the red cross line in the picture and obtaining the offset of the red cross line relative toa picture center according to a calculation result; and adjusting the preferential decoding area of the picture by a CPU during the decoding next time. The method adjusts the preferential decoding area during the decoding next time by calculating the offset of the red cross line relative to the picture center, so as to increase a decoding rate and to solve a problem that installation errors in the manufacturing process of the CMOS camera engine module may cause that a barcode in not located in the center of a positioning frame so as to lead to an over slow decoding rate or a decoding incapability, thereby ensuring a CMOS camera engine product yield.

Description

technical field [0001] The invention relates to the technical field of code scanning, in particular to a decoding method and a terminal of a one-dimensional code CMOS camera engine. Background technique [0002] During the decoding process, the CMOS camera engine of the one-dimensional code decodes the obtained one-dimensional barcode image. like figure 1 , the positioning frame includes red rectangular lines 3 around and red cross lines 4 in the middle. The user aligns the red crosshair with the barcode, and the CMOS camera captures the barcode image, which contains the red crosshair. During the decoding process, the software will preferentially select a certain proportion of the decoding area 5 near the middle of the barcode image for decoding. [0003] During the production process of the one-dimensional code CMOS camera engine module, due to installation errors, the barcode will not be located in the center of the positioning frame. After the user aligns the red cros...

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
IPC IPC(8): G06K7/10
Inventor 叶芳耀吴立强
Owner FUJIAN LANDI COMML EQUIP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products