CN105022746B - A kind of method, server and system that character library generates - Google Patents

A kind of method, server and system that character library generates Download PDF

Info

Publication number
CN105022746B
CN105022746B CN201410172506.0A CN201410172506A CN105022746B CN 105022746 B CN105022746 B CN 105022746B CN 201410172506 A CN201410172506 A CN 201410172506A CN 105022746 B CN105022746 B CN 105022746B
Authority
CN
China
Prior art keywords
character
picture
mark
primitive data
library
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410172506.0A
Other languages
Chinese (zh)
Other versions
CN105022746A (en
Inventor
刘金星
孙淑芹
张彦玲
王玉叶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410172506.0A priority Critical patent/CN105022746B/en
Publication of CN105022746A publication Critical patent/CN105022746A/en
Application granted granted Critical
Publication of CN105022746B publication Critical patent/CN105022746B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a kind of methods that character library generates, it include: the character picture for being used to generate identifying code character library for obtaining terminal and sending, the character picture is acquired by the terminal, the character picture is standardized according to preset process, obtain character figure, it only include a character on the character figure, the corresponding character primitive data of the character figure is referred under the character primitive data collection of corresponding character, identifying code character library character primitive data collection corresponding to every kind of character for generating identifying code forms.The embodiment of the present invention also provides corresponding server and system.The method that character library provided in an embodiment of the present invention generates can generate identifying code character library by the character picture of acquisition, very convenient and quick.

Description

A kind of method, server and system that character library generates
Technical field
The present invention relates to image processing technologies, and in particular to a kind of method, server and system that character library generates.
Background technique
It is computer and the public full auto-programs of people that identifying code, which is a kind of differentiation user,.People can be effectively prevented in identifying code Brute Force password is carried out using automated procedures, the malicious acts such as brush ticket, forum pour water.
In recent years, due to identifying code identification technology make rapid progress, identifying code automatic identification technology no matter from cost also Be seen in difficulty it is all lower and lower.For confrontation identifying code identification, increase interference is used, has increased distortion, using diversified The means such as font are fought.It thus needs constantly to generate character library.
Character library generating process is to be generally divided into three steps: (1) designing type matrix;(2) vectorized process is carried out to type matrix; (3) font data after vectorized process is compiled as font file.
It is very long that this character library generates scheme production process time-consuming, and expends very much energy, a kind of every word for making font Library will at least expend for 1~2 week.And the anti-demand cracked of identifying code is to need to replace immediately if certain character library is cracked New font.According to confrontation experience, a kind of time that character library is cracked most can achieve 2 hours fastly at present.Therefore, above-mentioned traditional Character library generates scheme and is obviously unable to satisfy the anti-demand cracked of identifying code.
Summary of the invention
The embodiment of the present invention provides a kind of method that character library generates, can fast and convenient generation identifying code character library.This hair Bright embodiment additionally provides corresponding server and system.
First aspect present invention provides a kind of method that character library generates, comprising:
The character picture for being used to generate identifying code character library that terminal is sent is obtained, the character picture is adopted by the terminal Collection;
The character picture is standardized according to preset process, character figure is obtained, is only wrapped on the character figure Contain a character;
The corresponding character primitive data of the character figure is referred under the character primitive data collection of corresponding character, it is described to test Card code word library character primitive data collection corresponding to every kind of character for generating identifying code forms.
Second aspect of the present invention provides a kind of server, comprising:
Acquiring unit, for obtaining the character picture for being used to generate identifying code character library of terminal transmission, the character picture It is acquired by the terminal;
Processing unit, for being standardized place according to preset process to the character picture that the acquiring unit obtains Reason, obtains character figure, only includes a character on the character figure;
Sort out unit, the corresponding character primitive data of the character figure for obtaining the processing unit processes is sorted out To under the character primitive data collection of corresponding character, the identifying code character library is as corresponding to every kind of character for generating identifying code Character primitive data collection composition.
Third aspect present invention provides a kind of system that character library generates, comprising: terminal and server,
The terminal, for acquiring the character picture for generating identifying code character library;
The server, for obtaining the character picture for being used to generate identifying code character library of terminal transmission, the character figure Piece is acquired by the terminal, is standardized to the character picture according to preset process, is obtained character figure, the character Only include a character on figure, the corresponding character primitive data of the character figure is referred to the character pel number of corresponding character According under collection, identifying code character library character primitive data collection corresponding to every kind of character for generating identifying code is formed.
The character picture for being used to generate identifying code character library that the embodiment of the present invention is sent using terminal is obtained, the character figure Piece is acquired by the terminal, is standardized to the character picture according to preset process, is obtained character figure, the character Only include a character on figure, the corresponding character primitive data of the character figure is referred to the character pel number of corresponding character According under collection, identifying code character library character primitive data collection corresponding to every kind of character for generating identifying code is formed.With The mode that identifying code character library is generated by way of three steps such as design type matrix in the prior art is compared, and the embodiment of the present invention mentions The method that the character library of confession generates can generate identifying code character library by the character picture of acquisition, very convenient and quick.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 is an embodiment schematic diagram of the method that character library generates in the embodiment of the present invention;
Fig. 2 is another embodiment schematic diagram for the method that character library generates in the embodiment of the present invention;
Fig. 3 is another embodiment schematic diagram for the method that character library generates in the embodiment of the present invention;
Fig. 4 is another embodiment schematic diagram for the method that character library generates in the embodiment of the present invention;
Fig. 5 is an embodiment schematic diagram of server in the embodiment of the present invention;
Fig. 6 is another embodiment schematic diagram of server in the embodiment of the present invention;
Fig. 7 is another embodiment schematic diagram of server in the embodiment of the present invention;
Fig. 8 is another embodiment schematic diagram of server in the embodiment of the present invention;
Fig. 9 is another embodiment schematic diagram of server in the embodiment of the present invention;
Figure 10 is an embodiment schematic diagram of the system that character library generates in the embodiment of the present invention.
Specific embodiment
The embodiment of the present invention provides a kind of method that character library generates, can fast and convenient generation identifying code character library.This hair Bright embodiment additionally provides corresponding server and system.It is described in detail separately below.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those skilled in the art's every other implementation obtained without creative efforts Example, shall fall within the protection scope of the present invention.
Refering to fig. 1, an embodiment of the method for character library generation provided in an embodiment of the present invention includes:
101, the character picture for being used to generate identifying code character library that terminal is sent is obtained, the character picture is by the terminal Acquisition.
Terminal in the embodiment of the present invention can be the mobile phone with camera, the apparatus such as computer with screenshot function.
After user sees the character to come in every shape, character picture can be taken by mobile phone, it can also be from computer screen Directly intercept character picture.
102, the character picture is standardized according to preset process, obtains character figure, on the character figure It only include a character.
Because terminal acquisition character picture may excessive, pixel is excessively high or character picture on character surrounding interference information Too much, so first to handle character picture after server gets the character picture of terminal, can first be cropped to character The interference information of character surrounding on picture, according still further to the pixel of pre-set criteria pixel adjustment character picture, according still further to preset size Scale the character picture.Certain processing sequence is without limitation.
It only can include a character on the character figure obtained after final process, the background of character can protect on certain character figure It stays.
Character in the embodiment of the present invention refer to from a~z, A~Z, 0~9 62 different characters.
103, the corresponding character primitive data of the character figure is referred under the character primitive data collection of corresponding character, institute Identifying code character library character primitive data collection corresponding to every kind of character for generating identifying code is stated to form.
The classification of character primitive data, which refers to, is all placed on a character pel for all character primitive datas of identical characters In data set, in this way when generating identifying code, convenient for searching.
Identifying code character library in the embodiment of the present invention include from a~z, A~Z, 0~9 62 different character pel numbers According to collection, each character primitive data, which is concentrated, can thousands of different character primitive datas.
For example: when the character picture that server is got from terminal is as shown in Fig. 2, shown in Fig. 2 is a capitalization Character E further comprises other interference informations on the character picture, and server can be standardized place by preset process Reason, obtains character figure as shown in Figure 3.Then the corresponding character primitive data of character figure shown in Fig. 3 is referred to E pairs of character Under the character primitive data collection answered.
The character picture for being used to generate identifying code character library that the embodiment of the present invention is sent using terminal is obtained, the character figure Piece is acquired by the terminal, is standardized to the character picture according to preset process, is obtained character figure, the character Only include a character on figure, the corresponding character primitive data of the character figure is referred to the character pel number of corresponding character According under collection, identifying code character library character primitive data collection corresponding to every kind of character for generating identifying code is formed.With The mode that identifying code character library is generated by way of three steps such as design type matrix in the prior art is compared, and the embodiment of the present invention mentions The method that the character library of confession generates can generate identifying code character library by the character picture of acquisition, very convenient and quick.
And the present invention is that visible characters all in society are collected based on crowdsourcing thought, realizes magnanimity verifying Code word library.On the basis of not increasing server end operation cost, the formation efficiency of character library is efficiently solved the problems, such as, can be verifying Code system provides timely and effectively diversified word-base data.
Optionally, on the basis of the above embodiments, another reality for the method that character library provided in an embodiment of the present invention generates Apply in example, it is described obtain terminal send for generate identifying code character library character picture when, the method can also include:
The mark for the character picture that the terminal is sent is obtained, the mark of the character picture is for identifying the word Accord with the corresponding character of picture;
It is described that the character picture is standardized according to preset process, character figure is obtained, may include:
According to the mark of the character picture, the character picture is standardized according to preset process, is obtained The corresponding character figure of the mark of the character picture;
It is described that the corresponding character primitive data of the character figure is referred under the character primitive data collection of corresponding character, it can To include:
According to the mark of the character picture, the corresponding character primitive data of the character figure is referred to the character figure Under the character primitive data collection that the mark of piece is identified.
In the embodiment of the present invention, when obtaining the character picture that terminal is sent, the character picture can also be obtained simultaneously Mark, such as: when obtaining character picture as shown in Figure 2, the mark E of character picture is also got, then according to the character The mark E of picture handles to obtain character figure only comprising character E, and includes character by this according to the mark E of the character picture The corresponding character primitive data of the character figure of E is referred under the character primitive data collection of E.
Optionally, on the basis of the above embodiments, another reality for the method that character library provided in an embodiment of the present invention generates It applies in example, the mark according to the character picture, the character picture is standardized according to preset process, is obtained To the corresponding character figure of mark of the character picture, may include:
When containing at least two character in the character picture, according to the mark of the character picture, crop described Other characters outside character corresponding to the mark of character picture, and to the character picture after cutting according to preset size and Preset pixel is zoomed in and out to be adjusted with pixel, obtains the corresponding character figure of mark of the character picture.
When including incessantly a character in a character picture, as shown in figure 4, containing E in character picture shown in Fig. 4 With two characters of A.Then character part A can be reduced, then only include to after cutting again according to the mark E of character picture The character picture of character E is zoomed in and out to be adjusted with pixel, obtains a character primitive data comprising character E as shown in Figure 3.
Optionally, on the basis of the above embodiments, another reality for the method that character library provided in an embodiment of the present invention generates It applies in example, it is described that the corresponding character primitive data of the character figure is referred under the character primitive data collection of corresponding character, it can To include:
Identify the character on the character figure;
According to the character identified, the corresponding character primitive data of the character figure is referred to described in corresponding to Under the character primitive data collection of character.
In the embodiment of the present invention, in the mark of no character picture, can with the character on Direct Recognition character figure, It is character E when identifying, then the corresponding character primitive data of the character figure can be referred to according to character E by the character figure of E Under metadata set.
Optionally, on the basis of the above embodiments, another reality for the method that character library provided in an embodiment of the present invention generates It applies in example, described to be standardized to the character picture according to preset process, before obtaining character figure, the method is also May include:
Determine the quantity on the character picture comprising complete character;
When containing at least two complete character on the character picture, by the character picture segmentation at only comprising one At least two Character segmentation pictures of complete character;
It is described that the character picture is standardized according to preset process, obtain character figure, comprising:
At least two Character segmentations picture is standardized according to preset process, obtains at least two characters Figure.
In the embodiment of the present invention, after obtaining character picture, before processing character picture, the character can also be determined It include the quantity of complete character on picture, if it is determined that include two characters on character picture, as shown in figure 4, including E and A two The character picture segmentation then can be divided into an only Character segmentation picture comprising character E and only comprising character by a character A Character segmentation picture of A.
Then the two Character segmentation pictures are zoomed in and out again and processes pixel, respectively obtain character E character figure and The character figure of character A.Then, the character on the two character figures is being identified, after identifying is A and E, by the character of character A Primitive data and the character primitive data of character E are referred under the character primitive data collection of character A respectively and the character pel number of E According under collection.
Refering to Fig. 5, an embodiment of server 20 provided in an embodiment of the present invention includes:
Acquiring unit 201, for obtaining the character picture for being used to generate identifying code character library of terminal transmission, the character figure Piece is acquired by the terminal;
Processing unit 202, the character picture for obtaining to the acquiring unit 201 are marked according to preset process Quasi-ization processing, obtains character figure, only includes a character on the character figure;
Sort out unit 203, the corresponding character pel number of the character figure for obtaining the processing unit 202 processing According to being referred under the character primitive data collection of corresponding character, the identifying code character library is by every kind of character institute for generating identifying code Corresponding character primitive data collection composition.
In the embodiment of the present invention, acquiring unit 201 obtains the character picture for being used to generate identifying code character library that terminal is sent, The character picture is acquired by the terminal, the character picture that processing unit 202 obtains the acquiring unit 201 according to Preset process is standardized, and obtains character figure, only includes a character on the character figure, and sorting out unit 203 will The processing unit 202 handles the character pel that the obtained corresponding character primitive data of the character figure is referred to corresponding character Under data set, identifying code character library character primitive data collection corresponding to every kind of character for generating identifying code is formed. Compared with generating the mode of identifying code character library by way of three steps such as design type matrix in the prior art, the embodiment of the present invention The server of offer can generate identifying code character library by the character picture of acquisition, very convenient and quick.
Optionally, on the basis of above-mentioned Fig. 5 corresponding embodiment, refering to Fig. 6, server provided in an embodiment of the present invention Another embodiment in,
The acquiring unit 201 is also used to obtain the mark for the character picture that the terminal is sent, the character figure The mark of piece is for identifying the corresponding character of the character picture;
The processing unit 202, the mark of the character picture for being obtained according to the acquiring unit 201, to institute It states character picture to be standardized according to preset process, obtains the corresponding character figure of mark of the character picture;
The classification unit 203, the mark of the character picture for being obtained according to the acquiring unit 201, by institute State the processing of processing unit 202 to the corresponding character primitive data of the character figure be referred to the mark institute of the character picture Under the character primitive data collection of mark.
Optionally, on the basis of above-mentioned Fig. 6 corresponding embodiment, another reality of server provided in an embodiment of the present invention It applies in example,
The processing unit 202, for when containing at least two character in the character picture, according to the character figure The mark of piece crops other characters outside character corresponding to the mark of the character picture, and to the word after cutting Symbol picture is zoomed in and out according to preset size and preset pixel and is adjusted with pixel, obtains the corresponding institute of mark of the character picture State character figure.
Optionally, on the basis of above-mentioned Fig. 5 corresponding embodiment, refering to Fig. 7, server provided in an embodiment of the present invention Another embodiment in, the classification unit 203 includes:
Identify subelement 2031, for identification the character on the character figure;
Sort out subelement 2032, the character for identifying according to the identification subelement 2031, by the character Scheme the corresponding character primitive data to be referred under the character primitive data collection of the corresponding character.
Optionally, on the basis of above-mentioned Fig. 7 corresponding embodiment, refering to Fig. 8, server provided in an embodiment of the present invention Another embodiment in,
Determination unit 204, for being standardized to the character picture according to preset process in the processing unit 203 Processing before obtaining character figure, determines the quantity on the character picture comprising complete character;
Cutting unit 205, for complete when being contained at least two on the character picture that the determination unit 204 determines When character, by the character picture segmentation at at least two Character segmentation pictures for only including a complete character;
The processing unit 203, for dividing the obtained at least two Character segmentations figure to the cutting unit 205 Piece is standardized according to preset process, obtains at least two character figures.
Fig. 9 is the structural schematic diagram of server of the embodiment of the present invention 20.Server 20 may include input equipment 210, output Equipment 220, processor 230 and memory 240.
Memory 240 may include read-only memory and random access memory, and provide instruction sum number to processor 230 According to.The a part of of memory 240 can also include nonvolatile RAM (NVRAM).
Memory 240 stores following element, executable modules or data structures perhaps their subset or Their superset:
Operational order: including various operational orders, for realizing various operations.
Operating system: including various system programs, for realizing various basic businesses and the hardware based task of processing.
In embodiments of the present invention, operational order (operational order that processor 230 is stored by calling memory 240 It is storable in operating system), it performs the following operations:
The character picture for being used to generate identifying code character library that terminal is sent, the character figure are obtained by input equipment 210 Piece is acquired by the terminal, is standardized to the character picture according to preset process, is obtained character figure, the character Only include a character on figure, the corresponding character primitive data of the character figure is referred to the character pel number of corresponding character According under collection, identifying code character library character primitive data collection corresponding to every kind of character for generating identifying code is formed.
The server provided in the embodiment of the present invention can generate identifying code character library by the character picture of acquisition, very just It is prompt quick.
The operation of 230 control server 20 of processor, processor 230 can also be known as CPU (Central Processing Unit, central processing unit).Memory 240 may include read-only memory and random access memory, and to processor 230 Instruction and data is provided.The a part of of memory 240 can also include nonvolatile RAM (NVRAM).Specifically Application in, the various components of server 20 are coupled by bus system 250, and it includes number that wherein bus system 250, which is removed, It can also include power bus, control bus and status signal bus in addition etc. except bus.But for the sake of clear explanation, Various buses are all designated as bus system 250 in figure.
The method that the embodiments of the present invention disclose can be applied in processor 230, or be realized by processor 230. Processor 230 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 230 or the instruction of software form.Above-mentioned processing Device 230 can be general processor, digital signal processor (DSP), specific integrated circuit (ASIC), ready-made programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hardware components.May be implemented or Person executes disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor can be microprocessor or Person's processor is also possible to any conventional processor etc..The step of method in conjunction with disclosed in the embodiment of the present invention, can be straight Connect and be presented as that hardware decoding processor executes completion, or in decoding processor hardware and software module combination executed At.Software module can be located at random access memory, and flash memory, read-only memory, programmable read only memory or electrically-erasable can In the storage medium of this fields such as programmable memory, register maturation.The storage medium is located at memory 240, and processor 230 is read Information in access to memory 240, in conjunction with the step of its hardware completion above method.
Optionally, the input equipment 210 is also used to obtain the mark for the character picture that the terminal is sent, described The mark of character picture is for identifying the corresponding character of the character picture;
The processor 230 is specifically used for the mark according to the character picture, to the character picture according to preset stream Journey is standardized, and the corresponding character figure of mark of the character picture is obtained, according to the mark of the character picture Know, the corresponding character primitive data of the character figure is referred to the character primitive data that the mark of the character picture is identified Under collection.
Optionally, the processor 230 is specifically used for when containing at least two character in the character picture, according to institute The mark for stating character picture crops other characters outside character corresponding to the mark of the character picture, and to cutting after The character picture according to preset size and preset pixel zoom in and out with pixel adjust, obtain the mark of the character picture The corresponding character figure.
Optionally, the processor 230 is specifically used for identifying the character on the character figure, according to the institute identified Character is stated, the corresponding character primitive data of the character figure is referred to the character primitive data collection of the corresponding character Under.
Optionally, the processor 230 is also used to determine the quantity on the character picture comprising complete character, when described When containing at least two complete character on character picture, by the character picture segmentation at only include a complete character at least Two Character segmentation pictures are standardized at least two Character segmentations picture according to preset process, obtain to Few two character figures.
Refering to fig. 10, an embodiment of the system that character library provided in an embodiment of the present invention generates includes: terminal 10 and service Device 20, only depicts a terminal 10 and a server 20 in figure, and actually terminal can have many, and server can also be with For a server cluster, the function of server described in the embodiment of the present invention is realized by multiple servers.
The terminal 10, for acquiring the character picture for generating identifying code character library;
The server 20, for obtaining the character picture for being used to generate identifying code character library of terminal transmission, the character Picture is acquired by the terminal, is standardized to the character picture according to preset process, is obtained character figure, the word Only include a character on symbol figure, the corresponding character primitive data of the character figure is referred to the character pel of corresponding character Under data set, identifying code character library character primitive data collection corresponding to every kind of character for generating identifying code is formed.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium may include: ROM, RAM, disk or CD etc..
Method, server and the system for being provided for the embodiments of the invention character library generation above have carried out detailed Jie It continues, used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only It is to be used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, according to this hair Bright thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not manage Solution is limitation of the present invention.

Claims (9)

1. a kind of method that character library generates characterized by comprising
The character picture for being used to generate identifying code character library that terminal is sent is obtained, the character picture is acquired by the terminal;
The character picture is standardized according to preset process, character figure is obtained, only includes on the character figure One character, the background of character on reserved character figure;
Identify the character on the character figure;
According to the character identified, the corresponding character primitive data of the character figure is referred to the corresponding character Character primitive data collection under so that all character primitive datas of identical characters are all placed on a character primitive data collection In, identifying code character library character primitive data collection corresponding to every kind of character for generating identifying code forms.
2. the method according to claim 1, wherein the acquisition terminal transmission is used to generate identifying code character library Character picture when, the method also includes:
The mark for the character picture that the terminal is sent is obtained, the mark of the character picture is for identifying the character figure The corresponding character of piece;
It is described that the character picture is standardized according to preset process, obtain character figure, comprising:
According to the mark of the character picture, the character picture is standardized according to preset process, is obtained described The corresponding character figure of the mark of character picture;
It is described that the corresponding character primitive data of the character figure is referred under the character primitive data collection of corresponding character, comprising:
According to the mark of the character picture, the corresponding character primitive data of the character figure is referred to the character picture It identifies under identified character primitive data collection.
3. according to the method described in claim 2, it is characterized in that, the mark according to the character picture, to the word Symbol picture is standardized according to preset process, obtains the corresponding character figure of mark of the character picture, comprising:
When containing at least two character in the character picture, according to the mark of the character picture, the character is cropped Other characters outside character corresponding to the mark of picture, and to the character picture after cutting according to preset size and preset Pixel is zoomed in and out to be adjusted with pixel, obtains the corresponding character figure of mark of the character picture.
4. the method according to claim 1, wherein described mark the character picture according to preset process Quasi-ization processing, before obtaining character figure, the method also includes:
Determine the quantity on the character picture comprising complete character;
When containing at least two complete character on the character picture, by the character picture segmentation at only complete comprising one At least two Character segmentation pictures of character;
It is described that the character picture is standardized according to preset process, obtain character figure, comprising:
At least two Character segmentations picture is standardized according to preset process, obtains at least two character figures.
5. a kind of server characterized by comprising
Acquiring unit, for obtaining the character picture for being used to generate identifying code character library of terminal transmission, the character picture is by institute State terminal acquisition;
Processing unit, for being standardized to the character picture that the acquiring unit obtains according to preset process, Character figure is obtained, only includes a character on the character figure, the background of character on reserved character figure;
Sort out unit, for identification the character on the character figure;According to the character identified, by the character figure The corresponding character primitive data is referred under the character primitive data collection of the corresponding character, so that identical characters is all Character primitive data is all placed on a character primitive data and concentrates, and the identifying code character library is by every kind for generating identifying code The composition of character primitive data collection corresponding to character.
6. server according to claim 5, which is characterized in that
The acquiring unit is also used to obtain the mark for the character picture that the terminal is sent, the mark of the character picture Know for identifying the corresponding character of the character picture;
The processing unit, the mark of the character picture for being obtained according to the acquiring unit, to the character picture It is standardized according to preset process, obtains the corresponding character figure of mark of the character picture;
The classification unit, the mark of the character picture for being obtained according to the acquiring unit, by the character figure pair Under the character primitive data collection that the mark that the character primitive data answered is referred to the character picture is identified.
7. server according to claim 6, which is characterized in that
The processing unit, for when containing at least two character in the character picture, according to the mark of the character picture Know, crops other characters outside character corresponding to the mark of the character picture, and to the character picture after cutting It zooms in and out according to preset size and preset pixel and is adjusted with pixel, obtain the corresponding character of mark of the character picture Figure.
8. server according to claim 5, which is characterized in that the server further include:
Determination unit is obtained for being standardized to the character picture according to preset process in the processing unit Before character figure, the quantity on the character picture comprising complete character is determined;
Cutting unit, for inciting somebody to action when containing at least two complete character on the character picture of determination unit determination The character picture segmentation is at at least two Character segmentation pictures for only including a complete character;
The processing unit, at least two Character segmentations picture for dividing to the cutting unit is according to preset Process is standardized, and obtains at least two character figures.
9. the system that a kind of character library generates characterized by comprising terminal and server,
The terminal, for acquiring the character picture for generating identifying code character library;
The server, for obtain terminal transmission for generating the character picture of identifying code character library, the character picture by Terminal acquisition, the character picture is standardized according to preset process, obtains character figure, on the character figure It only include a character, the background of character on reserved character figure identifies the character on the character figure;
According to the character identified, the corresponding character primitive data of the character figure is referred to the corresponding character Character primitive data collection under so that all character primitive datas of identical characters are all placed on a character primitive data collection In, identifying code character library character primitive data collection corresponding to every kind of character for generating identifying code forms.
CN201410172506.0A 2014-04-25 2014-04-25 A kind of method, server and system that character library generates Active CN105022746B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410172506.0A CN105022746B (en) 2014-04-25 2014-04-25 A kind of method, server and system that character library generates

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410172506.0A CN105022746B (en) 2014-04-25 2014-04-25 A kind of method, server and system that character library generates

Publications (2)

Publication Number Publication Date
CN105022746A CN105022746A (en) 2015-11-04
CN105022746B true CN105022746B (en) 2019-08-06

Family

ID=54412728

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410172506.0A Active CN105022746B (en) 2014-04-25 2014-04-25 A kind of method, server and system that character library generates

Country Status (1)

Country Link
CN (1) CN105022746B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106249910B (en) * 2016-07-15 2019-01-04 广东小天才科技有限公司 Character processing method and device based on word stock and user terminal
CN107959657A (en) * 2016-10-14 2018-04-24 腾讯科技(深圳)有限公司 A kind of method, server and the system of identifying code management
CN110246198B (en) * 2019-05-21 2023-05-02 北京奇艺世纪科技有限公司 Method and device for generating character selection verification code, electronic equipment and storage medium
CN110222617A (en) * 2019-05-29 2019-09-10 四川译讯信息科技有限公司 A kind of pdf document restorative procedure and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845489A (en) * 2005-04-06 2006-10-11 腾讯科技(深圳)有限公司 Authentication information generating device and its method, inverse automata checking device and its method
CN102143161A (en) * 2011-01-21 2011-08-03 杭州乐港科技有限公司 Web game cheating program recognition method based on handwritten character pictures
CN102467653A (en) * 2010-10-29 2012-05-23 方正国际软件(北京)有限公司 Image-text recognition method and system thereof
CN102768754A (en) * 2012-08-03 2012-11-07 网易(杭州)网络有限公司 Method and device for implementation of picture verification code
CN103677305A (en) * 2013-12-25 2014-03-26 昆明理工大学 Implementation method of Naxi language-Naxi phonetic alphabet, Naxi language-Chinese and Naxi language-English input method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845489A (en) * 2005-04-06 2006-10-11 腾讯科技(深圳)有限公司 Authentication information generating device and its method, inverse automata checking device and its method
CN102467653A (en) * 2010-10-29 2012-05-23 方正国际软件(北京)有限公司 Image-text recognition method and system thereof
CN102143161A (en) * 2011-01-21 2011-08-03 杭州乐港科技有限公司 Web game cheating program recognition method based on handwritten character pictures
CN102768754A (en) * 2012-08-03 2012-11-07 网易(杭州)网络有限公司 Method and device for implementation of picture verification code
CN103677305A (en) * 2013-12-25 2014-03-26 昆明理工大学 Implementation method of Naxi language-Naxi phonetic alphabet, Naxi language-Chinese and Naxi language-English input method

Also Published As

Publication number Publication date
CN105022746A (en) 2015-11-04

Similar Documents

Publication Publication Date Title
CN105022746B (en) A kind of method, server and system that character library generates
CN109255390B (en) Training image preprocessing method and module, discriminator and readable storage medium
CN108762740B (en) Page data generation method and device and electronic equipment
DE202014011491U1 (en) Mobile device with improved user interface for reading code symbols
CN107728892B (en) Picture display method, device, terminal and storage medium
CN108776800B (en) Image processing method, mobile terminal and computer readable storage medium
CN109918984A (en) Insurance policy number identification method, device, electronic equipment and storage medium
CN108009147B (en) Electronic book cover generation method, electronic device and computer storage medium
CN110245573A (en) A kind of register method, apparatus and terminal device based on recognition of face
CN105979283A (en) Video transcoding method and device
CN111797642B (en) Bar code identification method and terminal
CN109068150A (en) A kind of excellent picture extracting method, terminal and the computer-readable medium of video
CN107977437B (en) Image processing method, image processing apparatus, storage medium, and electronic device
CN114758145B (en) Image desensitizing method and device, electronic equipment and storage medium
CN113010736B (en) Video classification method and device, electronic equipment and storage medium
CN110222547B (en) Bar code identification method and device
CN111598176A (en) Image matching processing method and device
CN108921138B (en) Method and apparatus for generating information
CN112102205B (en) Image deblurring method and device, electronic equipment and storage medium
CN109447621A (en) Method of payment and equipment
CN112132563B (en) Block chain based fee collection method and platform
WO2018077059A1 (en) Barcode identification method and apparatus
CN104700305A (en) Method for acquiring two-dimensional code from optional input frame of Android platform
CN114302050A (en) Image processing method and apparatus, and non-volatile storage medium
CN113128244A (en) Scanning method and device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant