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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com