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

Portrait image two-dimensional code generation method

A technology of two-dimensional code and image, applied in the field of image two-dimensional code generation, can solve the problems of poor portability, high cost, regular maintenance of the database, etc., and achieve the effect of reducing cost and good portability

Active Publication Date: 2019-12-24
ZHEJIANG WANLI UNIV
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the data size of conventional portrait images definitely exceeds the storage capacity of QR codes. If you want to make portrait images exist in the form of QR codes, according to the above method, you must rely on the support of the database, which is poor in portability, and the database needs to be stored regularly. maintenance, making the cost higher

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
  • Portrait image two-dimensional code generation method
  • Portrait image two-dimensional code generation method
  • Portrait image two-dimensional code generation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

[0030] As shown in the figure, a method for generating a portrait image two-dimensional code includes the following steps:

[0031] Step 1: Take a portrait image A, compress it, and obtain a compressed image whose pixel data size meets the storage capacity of the QR code;

[0032] Step 1-1: Preprocessing the portrait image A, the specific process of preprocessing is as follows:

[0033] Step 1-1-1: Set the size of the portrait image A as m*n, define the filter value corresponding to each pixel on the portrait image A as f(i, j), and filter the portrait image A to obtain The filter value f(i,j) corresponding to each pixel on the portrait image A, where,

[0034]

[0035] m represents the width value of the portrait image A, n represents the length value of the image A, i represents the horizontal direction of the portrait image A, j repres...

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 discloses a portrait image two-dimensional code generation method, which is characterized by comprising the following steps of 1, taking a portrait image A, and performing compression processing on the portrait image A to obtain a compressed image of which the pixel data size meets the storage capacity of a QR code; 2, extracting the pixel data of the compressed image obtained in thestep 1 to obtain a pixel data set; and 3, performing encoding processing on the pixel data set obtained in the previous step to generate a QR code. The method has the advantages that the portrait image is compressed, so that the compressed image obtained after compression can be directly converted into the QR code in a coding mode, offline storage of the portrait image is realized. The portability is good. The support of a database is not needed, and the cost is greatly reduced.

Description

technical field [0001] The invention relates to a method for generating a two-dimensional code for an image, in particular to a method for generating a two-dimensional code for a portrait image. Background technique [0002] Internationally, after more than ten years of hard work, QR codes (a type of two-dimensional code) have now been widely used in various industries, including finance, industry and commerce, national defense, customs, transportation, medical care and government. Compared with developed countries, although my country's two-dimensional code industry started late, with the popularization of mobile Internet and smart terminals, my country's two-dimensional code industry has shown explosive growth, especially QR code technology has been widely used in item identification Signs, leaflets, advertising billboards, products, outdoor, digital media warehousing and logistics, product traceability, mobile payment and many other aspects, these fields have in common tha...

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/06103G06K19/06037
Inventor 朱仲杰何立平白永强
Owner ZHEJIANG WANLI UNIV
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