Image verification code generation method utilizing human eye vision compensation principle

A technology of picture verification code and compensation principle, applied in digital data authentication, electronic digital data processing, instruments, etc., can solve the problems of no spamming by robots, low recognition rate of machines, and difficulty in human recognition

Active Publication Date: 2015-05-27
HOHAI UNIV
View PDF8 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But in recent years, the development of image verification code recognition technology is also very fast. Most of the simple verification codes have a very high recognition rate, and many even reach 100% recognition rate, which makes these verification codes become decorations. Other than real humans causing trouble, nothing has been done to stop bots from spamming
On the other hand, represented by Google, although the verification code generated by the distortion and deformation technology has achieved the effect of a very low machine recognition rate, it is also very difficult for humans to recognize it, which has a negative impact on the application of image verification codes.

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
  • Image verification code generation method utilizing human eye vision compensation principle
  • Image verification code generation method utilizing human eye vision compensation principle
  • Image verification code generation method utilizing human eye vision compensation principle

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The process of generating the picture verification code of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0025] The method for generating a picture verification code using the principle of human vision compensation of the present invention comprises the following steps:

[0026] Step 1: Generate a random string of random length, the length of which is controlled within a certain set range, and the characters are not limited to English numbers; if it is an English number, characters that are difficult for humans to recognize should be excluded;

[0027] Step 2: Choose a unequal-width font, write the random character string in the image canvas with a non-background color; choose the bold and italic font of this font first, and control the font size within a random range; the size of each character can be the same or different;

[0028] Step 3: Write the above random character string into the image canvas ...

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 an image verification code generation method utilizing a human eye vision compensation principle. The image verification code generation method comprises the following steps: 1, generating a random character string with a random length, wherein the length of the random character string is controlled in a certain set range; 2, selecting an unequal-width typeface and writing the random character string into image canvas with a non background color; 3, rewriting the random character string into the image canvas with a background color and moving the position in the image canvas towards the top left corner by one pixel, wherein a typeface form of each character is totally the same with that of each character in the step 2; 4, carrying out stroke random erasing processing on a verification code image generated in the step 3, wherein an erasing ratio is a set value. People can reduce the image verification code generated by the image verification code generation method into stereoscopic words by utilizing the human eye vision compensation principle, so that identification is easily carried out; strokes of verification code words or characters are very slim, discontinuous and incomplete so as to cause difficulty of a machine in identification.

Description

technical field [0001] The invention discloses a method for generating a picture verification code using the principle of human vision compensation, which can be easily recognized by human beings but difficult for machines to restore, and belongs to the field of computer information technology. Background technique [0002] With the rapid development of the Internet, spam information on the Internet is also flooding, especially the spam information generated by robots is the most serious, so the CAPTCHA technology emerges as the times require. CAPTCHA is the English abbreviation of the fully automatic Turing Test for Distinguishing Computers and Humans. The picture verification code is a technology that uses the technology that it is difficult for computers to effectively recognize certain picture characters but humans can recognize them, so as to distinguish machines from humans. But in recent years, the development of image verification code recognition technology is a...

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
IPC IPC(8): G06F21/36
CPCG06F21/36G06F2221/2133
Inventor 许军才张卫东任青文沈振中
Owner HOHAI UNIV
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