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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


