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

An automatic induction trigger method and system based on hash algorithm

A technology of automatic induction and hash algorithm, applied in the direction of inductive record carrier, electromagnetic radiation induction, calculation, etc., can solve the problem of inability to reduce the light interference of the external environment, and achieve the guarantee of constant processing accuracy, fast processing speed, and improved impact. Effect

Active Publication Date: 2021-09-24
福州图腾易讯信息技术有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] For this reason, the technical problem to be solved by the present invention is that the calculation of the average gray value in the prior art cannot reduce the interference of external ambient light

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
  • An automatic induction trigger method and system based on hash algorithm
  • An automatic induction trigger method and system based on hash algorithm
  • An automatic induction trigger method and system based on hash algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0043] see figure 2 , an automatic induction triggering method based on a hash algorithm, comprising the following steps:

[0044] S1: Obtain a frame of barcode image and convert it into YUV color coding mode, wherein the value of Y channel is taken as the gray value of the barcode image.

[0045] YUV is a color encoding method that is often used in various video processing components. YUV takes human perception into account when encoding photos or videos, allowing bandwidth reduction for chroma. "Y" means brightness (Luminance, Luma), "U" and "V" are chroma and density (Chrominance, Chroma). Generally, the images captured by camera equipment are in RGB mode, and RGB to YUV mode can be converted directly through commonly used algorithm templates.

[0046] S2: Reduce the size of the barcode image to an image with a size of a by b pixels, and calculate the average value of the Y channel values ​​of all pixels as the average gray value g of the barcode image of one frame, whe...

Embodiment 2

[0067] An automatic induction trigger system based on a hash algorithm, comprising a camera, a memory and a processor, the camera is used to capture images, the memory stores instructions, and the instructions are adapted to be loaded by the processor and perform the following steps:

[0068] The camera acquires a frame of barcode image and converts it into YUV color coding mode, where the value of the Y channel is taken as the gray value of the barcode image.

[0069] The size of the barcode image is reduced to an image of a by b pixel size, and the average value of the Y channel values ​​of all pixels is calculated as the average gray value g of the barcode image of one frame, where a and b are integers. a and b can be the same.

[0070] In this embodiment, the pixel level of the camera equipment is 640x480. According to the calculation of multiple tests in the early stage, the value of the best template a and b corresponding to this level is 8, so the image is reduced to an...

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 present invention relates to an automatic induction triggering method based on a hash algorithm and its system, which obtains a frame of barcode image in YUV encoding mode, reduces the image to an image with a multiplied by b pixels, obtains its average gray value, calculates and The difference between the average gray value of a frame of a decoded image is compared with the first preset threshold T1. If the difference does not exceed the first preset threshold T1, automatic sensing will not be triggered, otherwise the hash of the image will be further calculated. Hash value, by comparing the Hamming distance between the hash values ​​of two images, that is, the number of different characters in the same position of the hash values ​​​​of the two images, to judge the similarity of the two images, the less the number of different characters, that is The smaller the Hamming distance, the higher the similarity between the two images. The Hamming distance is compared with the second preset threshold T2, and whether to trigger decoding is determined according to the comparison result.

Description

technical field [0001] The present invention relates to an image automatic induction triggering method and its system, in particular to an automatic induction triggering method based on hash algorithm and its system. Background technique [0002] A barcode is composed of bars and spaces with different widths and different reflectivities, compiled according to certain coding rules (code system), and is used to express a set of graphic identifiers of numeric or alphabetic symbol information. In order to read the information represented by the barcode, a barcode recognition system is required, which consists of a barcode scanner, an amplifying and shaping circuit, a decoding interface circuit, and a computer system. gun or barcode reader) to scan to obtain a set of reflected light signals, which are transformed into a set of electronic signals corresponding to lines and blanks after photoelectric conversion, and are restored to corresponding alphanumeric numbers after decoding,...

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 Patents(China)
IPC IPC(8): G06K7/14
CPCG06K7/1408G06K7/146
Inventor 上官文娟
Owner 福州图腾易讯信息技术有限公司
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