Method and device for generating two-dimension code image

A two-dimensional code and image technology, applied in the field of two-dimensional code image generation, can solve the problems that the content of the background image cannot be fully highlighted, the environmental color integrity of the background image is destroyed, and the background image information is lost, so as to enhance the display effect and reduce the Covering and ensuring the effect of screen harmony

Active Publication Date: 2014-06-25
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF4 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, no matter how the basic style of the two-dimensional code changes, when the two-dimensional code is fused with the background image, the basic style of the two-dimensional code will cause a certain loss of information to the background image, so that the content of the background image cannot be fully highlighted, destroying the background The integrity of the image environment color makes it difficult to convey complete visual information

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
  • Method and device for generating two-dimension code image
  • Method and device for generating two-dimension code image
  • Method and device for generating two-dimension code image

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

[0022] A method and device for generating a two-dimensional code image according to an embodiment of the present invention will be described below with reference to the accompanying drawings.

[0023] In order to reduce the information loss caused by the basic style of the two-dimensional code to the background image when the two-dimensional code is fused with the background image, part of the basic style can be omitted to reduce the damage to the integrity of the environment color of the background image by the basic style. For this rea...

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 provides a method and device for generating a two-dimension code image. The method includes the steps that the information to be encoded and a background image are obtained, and a two-dimensional distribution matrix is generated according to the information to be encoded; the two-dimensional distribution matrix and the background image are fused to obtain a pre-generated two-dimension code image; the pre-generated two-dimension code image is decoded and grayed so as to omit at least one basic style, and the two-dimensional distribution matrix is updated according to the at least one omitted basic style; the updated two-dimensional distribution matrix and the background image are fused, so that the two-dimension code image is generated. According to the method for generating the two-dimension code image, coverage of the background image is reduced, so that the immersion degree of a two-dimension code in the background image is improved, the background image is highlighted, the completeness of the environmental color of the background image and the sense of harmony of pictures are guaranteed to the maximum degree, and therefore the display effect of the two-dimension code image is enhanced.

Description

technical field [0001] The invention relates to the field of computer application technology, in particular to a method and device for generating a two-dimensional code image. Background technique [0002] The pattern of the traditional two-dimensional code is mainly black and white or black and white interlaced, and the pattern style is relatively monotonous. Therefore, there is currently an immersive two-dimensional code, which is to fuse the two-dimensional code with the background image or change the pattern of the two-dimensional code, so as to diversify the style of the two-dimensional code and improve the interest of the two-dimensional code. At present, the immersive two-dimensional code is mainly to integrate the two-dimensional code with the background image whose content can be customized, such as combining the two-dimensional code with the user avatar, the merchant logo image or the product image, so that the two-dimensional code and the image coexist, The obtai...

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/06G06T11/00
Inventor 夏群齐伟李靖
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products