Unlock instant, AI-driven research and patent intelligence for your innovation.

Rapid three-dimensional code generation method and device and storage medium

A three-dimensional code, fast technology, applied to the recording carrier used by the machine, equipment, computer parts, etc., can solve the problems that cannot meet the needs of fast code production, cannot be accurately read, difficult to read and decode, etc. Strong configurability, reduce the amount of calculation, and ensure the effect of visual effects

Pending Publication Date: 2022-03-25
CN3WM XIAMEN NETWORK TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] These methods are too pursuing visual effects that are more suitable for human eyes, and require a large amount of calculations, which cannot meet the needs of fast coding in low-configuration or embedded devices; in addition, these methods usually set the central area to a narrow range, As a result, it is easy to make mistakes when making 0 and 1 judgments and cannot read accurately
In the existing method, it is necessary to calculate the edge feature of the base map or the average brightness threshold of the base map, and adjust the color and brightness of each module according to the feature or threshold, which requires a large amount of calculation. The image usually takes more than 1 second, so it cannot well meet the coding application scenarios with high real-time requirements; at the same time, the completed code is too pursuit of visual effects (such as attached Figure 10 ), the reading efficiency is low, and it is difficult to meet the scene that requires fast reading and decoding

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
  • Rapid three-dimensional code generation method and device and storage medium
  • Rapid three-dimensional code generation method and device and storage medium
  • Rapid three-dimensional code generation method and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] see image 3 and Figure 4 , the present embodiment provides a method for quickly generating a three-dimensional code, comprising the following steps:

[0054] Input a background picture P1, and determine the size information of the background picture P1.

[0055] The coded information I is imported / input manually or automatically by a computer.

[0056] The size information of the target three-dimensional code image that is finally expected to be generated is manually imported / input or automatically imported / input by a computer.

[0057] Calculate the size deviation between the background picture P1 and the target three-dimensional code picture, and adjust the size of the background picture P1 according to the deviation to generate a background base picture P2 with the same size as the target three-dimensional code picture.

[0058] According to the coding requirements, select the mature QR code, DataMatrix code and other principles to generate the coding matrix M o...

Embodiment 2

[0096] The difference between this embodiment and Embodiment 1 is that in the step of generating a corresponding module image in the mask image according to the size of the module, a step of setting the shape of the module image is also included, Specifically:

[0097] Input the shape S of the module image to be displayed and the zoom ratio β; the shape of the module refers to the shape of the code point in the code map generated finally.

[0098] A module image of a corresponding shape is generated in the mask image, and the size of the module image is determined according to the size NW of the module and the scaling ratio β.

[0099] As a preferred implementation of this embodiment, the shape S of the module image is a square or a circle.

[0100] If the shape S of the input module image is a square, the size of the module image to be determined is the number of pixels of the side length; if the shape S of the module image is a circle, the size of the module image to be det...

Embodiment 3

[0118] This embodiment provides an electronic device, including a memory, a processor, and a computer program stored on the memory and operable on the processor. It is characterized in that, when the processor executes the program, any implementation of the present invention The rapid generation method of the three-dimensional code described in the example.

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 a quick three-dimensional code generation method, which comprises the following steps of: inputting a background picture, and determining size information of the background picture; inputting information needing to be coded; inputting size information of a target three-dimensional code picture expected to be generated; the deviation between the size of the background picture and the size of the target three-dimensional code picture is calculated, size adjustment processing is carried out on the background picture according to the deviation, and a background base picture with the same size as the target three-dimensional code picture is generated; generating a two-dimensional code coding matrix by using the coding information, and determining the size of each module in the coding matrix according to the size of the target three-dimensional code picture; generating a mask image which has the same size as the target three-dimensional code picture and is transparent, mapping the position of each module in the coding matrix into the mask image, and generating a corresponding module image in the mask image according to the size of the module; and fusing the mask image and the background base image to obtain a final three-dimensional code picture.

Description

technical field [0001] The invention relates to a rapid generation method, device and storage medium of a three-dimensional code, and belongs to the technical fields of generation and processing of coding symbols and image processing. Background technique [0002] The three-dimensional code in the present invention refers to a dot-matrix code that produces a certain visual effect and records data information after the fusion of images and code-making information. In addition to being recognized by machines, this kind of code also provides third-dimensional visual image information that can be quickly identified for natural people, and has the characteristics of high recognition and aesthetics. [0003] The fusion processing of the base map and data is a time-consuming process. It is necessary to calculate the color and range size of each module, especially in the case of both artistry and readability, which usually requires a large amount of calculation. At present, in orde...

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): G06K19/06
CPCG06K19/06037
Inventor 陈绳旭马吉良何荣茂王秋婉
Owner CN3WM XIAMEN NETWORK TECH CO LTD