CN102063660B - Acquisition method for electronic photograph, client, server and system - Google Patents
Acquisition method for electronic photograph, client, server and system Download PDFInfo
- Publication number
- CN102063660B CN102063660B CN201010608548A CN201010608548A CN102063660B CN 102063660 B CN102063660 B CN 102063660B CN 201010608548 A CN201010608548 A CN 201010608548A CN 201010608548 A CN201010608548 A CN 201010608548A CN 102063660 B CN102063660 B CN 102063660B
- Authority
- CN
- China
- Prior art keywords
- photograph
- electronics photograph
- electronics
- client
- module
- 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
Links
Images
Landscapes
- Collating Specific Patterns (AREA)
- Studio Devices (AREA)
Abstract
The invention provides an acquisition method for an electronic photograph, a client, a server and a system. The method comprises the following steps of: identifying whether the electronic photograph is an original photograph which is shot within set time or not by the client; and when the electronic photograph is the original photograph which is shot within the set time in an identifying result, cutting the electronic photograph which meets the requirement automatically by a 'three-point' positioning method according to a photograph specification parameter which corresponds to an electronic photograph type and is preset in the client. In the technical scheme, the acquisition service of the electronic photograph is advanced by the client, so the problem that the original image is difficult to identify is solved technically, and the authenticity and timeliness of the acquired portrait characteristic information are ensured. In addition, the client also has functions of automatic cutting, intelligent screening optimization and the like on the photographs, improves the efficiency of processing the electronic photograph, simplifies the process of processing electronic photograph in photograph places or personally, reduces the threshold of industry, is favorable for popularizing socialized acquisition of the photographs, and realizes the 'coordinated-process' service for the convenience of customers really.
Description
Technical field
The present invention relates to technical field of image processing, relate in particular to a kind of electronics photograph acquiring and processing method, electronics photograph acquisition process client, electronics photograph acquisition process server, electronics photograph acquisition processing system.
Background technology
Along with the development of society, the sector application that need submit the electronics photograph is more and more, as hunting for a job, advertise for a friend, enter oneself for the examination and handling various certificates my electronics photograph need be provided all; Along with the development of image processing techniques, the electronics photograph may be beautified, modification etc., thereby loses the original information characteristics of photograph, is difficult to guarantee the authenticity of its collection and ageing, and the various convenience that influences its collection of kind.Be that example describes only below with the certificate photo in the electronics photograph.
When bidding to host certificate such as legal certificate such as passport, visa, the pass, driving license, I.D.; Certificates handling office all can require the applicant in the material that sends in one's application; Send in one's application people, recent electronics photograph without a hat on, and strict technical requirement is all arranged at aspects such as pixel, specification, color, expression, attitude, clothing.The authenticity of photograph people face biological characteristic and the ageing important assessment foundation that becomes the verification of certificate identity in the certificate; So biological characteristic of its collection; Like the important step that figure information, pupil, iris, fingerprint etc. have become the visual making of certificate and discerned the false from the genuine, be common mode especially to gather figure information (claiming digital the photograph or the electronics picture again).So; How to guarantee that applicant's electronics photograph that certificates handling point is gathered is the recent original bare-headed photo of he or she; Thereby guarantee the authenticity of its portrait biological characteristic and ageing, and the various convenience that influences its collection of certificate kind, these have all become to perplex the difficult problem of relevant certificates handling department.
China's certificate mainly is divided into fixed point collection and two kinds of patterns of socialization collection with the collection of electronics photograph at present.
The fixed point drainage pattern is meant photograph point or the safety-ensuring service company collection through professional training of certificates handling department through appointment, and most social photo studio then can not participate in gathering; Though this pattern can effectively prevent the portrait biological characteristic and arbitrarily altered its authenticity of assurance; But because non market-oriented operation, service quality is uneven, and the covert monopolization charge of part collection point becomes society and complains the focus of paying close attention to; The masses more can't select the photograph point to take nearby, very inconvenience.According to investigations; National most of provinces and cities China second-generation identity card all adopts local police station's certificates handling to put direct shooting, collecting at present; Provinces and cities' exit and entry certificates such as Beijing, Shanghai, Zhejiang are also put direct shooting, collecting by the public security certificates handling mutually; Therefore the whole society all can reduce the non-police work of public security at a kind of innovation drainage pattern of expectation, increases the convenience of community service.
The socialization drainage pattern; Be meant that any photo studio or individual can participate in certificate with the collection of electronics photograph; Like the patent No.: 200410015214.2; Denomination of invention is for described in the patent document of " based on network picture quality authentication method) ": the image transmit leg uploads to the quality authentication website with the image of making through first network, by the quality authentication website digital image data of uploading is judged whether it meets the requirements.This method has solved the accreditation quality and the transmission problem of capturing digital image to a certain extent, lets the social photo studio of few part have an opportunity to participate in digital image acquisition.But because digital map similarly is after making, to upload to the quality authentication website again in this drainage pattern; The shooting and producing process of license is physically separated with the picture quality testing process of quality authentication website, just is difficult to the authenticity of the portrait biological characteristic of its collection of assurance.
Analysis can be known, but there are improvements in two kinds of drainage patterns of tradition.At first; Certificate photograph has the strict requirement as biological characteristic except the primitive man to the electronics photograph; Also the specification to different certificate photos has different requirement, and like China second-generation identity card, the wide height of photograph is the 358*441 pixel; The portrait head width is 207 ± 14 pixels, and crown distance is that 7~21 pixels, eyes position are not less than aspects such as 207 pixels apart from the distance of photograph lower edge.Above-mentioned drainage pattern requires the practitioner must possess the higher professional technique and the knowledge of Flame Image Process; The on top of technical standard of each license and shooting skill; It is not high to deal with efficient; Be difficult to popularize the socialization acquisition range of certificate, can't satisfy the demand for services that the masses take certificate photo nearby, also can't realize the convenience-for-people purpose of broad masses of the people's " license of oneself oneself shines " because of there being certain technical threshold with the electronics photograph.Secondly; How to solve the puzzlement certificates handling for a long time of relevant certificates handling department with a portrait physical characteristics collecting authenticity difficult problem, not dark to the understanding of license quality requirements like the socialization collection point part staff that takes a picture with the individual, in order to satisfy the psychology that client likes to be beautiful; Using image processing software that important biomolecule characteristics such as the scar of people's face, mole are made amendment (is commonly called as: PS); Cause the portrait biological characteristic distortion of being gathered, even have the people deliberately to revise the image making false evidence, the digital image that also has personnel to upload in order to save trouble to surpass the term of validity is to the quality authentication website; If the quality authentication website can't accurately be discerned and revise image; As satisfactory Flame Image Process, the image that causes being gathered has lost authenticity and validity with it, for certificate making, false proof discriminating hide some dangers for.
On the whole, need the electronics photograph drainage pattern of a kind of innovation of invention to guarantee convenience, the authenticity, ageing that the electronics photograph is gathered.
Summary of the invention
Electronics photograph acquiring and processing method provided by the invention, client, server and system; Can realize the socialization collection of electronics photograph; And can guarantee to gather the real effectiveness of electronics photograph, and the electronics photograph of real effectiveness is carried out automatic cutting, obtain satisfactory electronics photograph; Really realize the handy service for the people of " one continuous line ", improved the efficient that the electronics photograph is handled.
In order to reach the foregoing invention purpose, the invention provides a kind of electronics photograph acquiring and processing method, said method comprises:
Electronics photograph acquisition process client receives the electronics photograph additional information that the user selects or imports, and includes the type of said electronics photograph in this additional information;
Said client reads through the electronics photograph of gathering, and differentiates whether said electronics photograph is the original photograph of taking at the appointed time;
When identification result when being said electronics photograph for the original photograph taken at the appointed time; According to the corresponding photograph specifications parameter of this electronics photograph type that is provided with in advance in the said client; Said photograph specifications parameter comprises that clipping region width and height value, the wide empirical value of face, the crown are apart from empirical value; Adopt " 3 points " localization method, cut out satisfactory electronics photograph automatically, specifically comprise:
Said client is obtained the portrait crown in the electronics photograph, left pupil and 3 position coordinateses in the electronics photograph before cutting of right pupil;
Apart from empirical value, calculate clipping region start-stop position coordinates in the electronics photograph before cutting according to the corresponding clipping region width of this electronics photograph type that is provided with in advance in the position coordinates of 3 in the said portrait crown, left pupil and right pupil and the said client and height value, the wide empirical value of face, the crown;
According to the start-stop position coordinates of said clipping region, adopt the base image Processing Algorithm, cut out satisfactory electronics photograph automatically.
Particularly, said client differentiates that whether said electronics photograph is that the step of the original photograph taken at the appointed time comprises:
Client said electronics photograph is carried out that PCA analyzes or/and ELA analyzes or/and wavelet transformation analysis or/and quantize fingerprint detection or/and the quantization table quality testing differentiates whether said electronics photograph is original photograph;
When identification result is that said electronics photograph is when being original photograph; According to the regulation shooting time parameter that is provided with in advance in shooting time parameter of carrying in the said electronics photograph and the said client, whether the shooting time of judging said electronics photograph is in the effective time of said client regulation.
Particularly, after said client cut out satisfactory electronics photograph automatically, said method also comprised:
Client is according to the said electronics photograph type characteristic of correspondence parameter empirical value that is provided with in advance; Said electronics photograph made public, and discriminating, sharpness are differentiated, color is differentiated, noise is differentiated and background is differentiated and corresponding optimization process, thereby filter out satisfactory electronics photograph.
Particularly, after the said step that filters out satisfactory electronics photograph, said method also further comprises:
The electronics photograph acquisition server that communicates with said client receives the satisfactory electronics photograph after ciphered compressed that this client is sent, and said electronics photograph is deciphered and decompressed;
Server is showed through said deciphering and the electronics photograph after decompressing, and checks so that said electronics photograph is carried out manual work;
After said electronics photograph was checked through manual work, said server generated corresponding electronics photograph and gathers receipt;
The electronics photograph that server is checked through manual work after with ciphered compressed is distributed to accreditation division data server in real time; Send said electronics photograph and said electronics photograph collection receipt to client simultaneously, gather receipt with corresponding electronics photograph so that the user derives said electronics photograph from said client.
The invention also discloses a kind of electronics photograph acquisition process client, said client comprises:
Information receiving module is used to receive the electronics photograph additional information that the user selects or imports, and includes the type of said electronics photograph in this additional information;
Identification module is used for differentiating when reading behind the electronics photograph of gathering whether said electronics photograph is the original photograph of taking at the appointed time;
The cutting module; When being used for identification result when said identification module and being said electronics photograph for the original photograph taken at the appointed time; According to the corresponding photograph specifications parameter of storing in the memory module of electronics photograph type that receives with said information receiving module; Adopt " 3 points " localization method, cut out satisfactory electronics photograph automatically;
Memory module is used for storing the electronics photograph type of the said additional information that said information receiving module receives, and be provided with in advance with the corresponding photograph specifications parameter of said electronics photograph type.
Particularly, said memory module is also preserved the regulation shooting time parameter that is provided with in advance, and said identification module comprises:
Original photograph discriminating unit; Be used for when reading behind the electronics photograph of gathering; To said electronics photograph carry out that PCA analyzes or/and ELA analyzes or/and wavelet transformation analysis or/and quantize fingerprint detection or/and the quantization table quality testing differentiates whether said electronics photograph is original photograph;
The shooting time judging unit; When being used for identification result when said original photograph discriminating unit and being said electronics photograph and being original photograph; According to the regulation shooting time parameter that is provided with in advance in shooting time parameter of carrying in the said electronics photograph and the said memory module, whether the shooting time of judging said electronics photograph is in the effective time of regulation.
Particularly, the photograph specifications parameter of said memory module storage comprises clipping region width and height value, the wide empirical value of face, the crown apart from empirical value, and said cutting module comprises:
Three point coordinate acquiring units when being used for identification result when identification module and being said electronics photograph for the original photograph taken at the appointed time, obtain the portrait crown in the electronics photograph, left pupil and 3 position coordinateses in the electronics photograph before cutting of right pupil;
Computing unit; Be used for corresponding clipping region width of the position coordinates of 3 in the portrait crown that obtains according to said three point coordinate acquiring units, left pupil and right pupil and this electronics photograph type that said memory module is stored and height value, the wide empirical value of face, the crown apart from empirical value, calculate clipping region start-stop position coordinates in the electronics photograph before cutting;
The cutting unit, the start-stop position coordinates of the clipping region that is used for calculating according to said computing unit adopts the base image Processing Algorithm, cuts out satisfactory electronics photograph.
Particularly, also preserve in the said memory module in advance be provided with electronics photograph type characteristic of correspondence parameter empirical value, said client also comprises:
Filtering module; Be used for after cutting module or cutting unit cut out satisfactory electronics photograph; According to said electronics photograph type characteristic of correspondence parameter empirical value; Electronics photograph after the cutting of said cutting module made public, and discriminating, sharpness are differentiated, color is differentiated, noise is differentiated and background is differentiated and corresponding optimization process, thereby filter out satisfactory electronics photograph.
The present invention also further discloses a kind of electronics photograph acquisition process server, comprising:
The deciphering decompression module is used to receive the satisfactory electronics photograph after ciphered compressed that electronics photograph acquisition process client is sent, and said electronics photograph is deciphered and decompressed;
The photograph display module is used to show through said deciphering decompression module deciphering and the electronics photograph after decompressing, and checks so that said electronics photograph is carried out manual work;
The receipt generation module is used for after the electronics photograph that said photograph display module is showed is checked through manual work, generates corresponding electronics photograph and gathers receipt;
Sending module; Be used for after the ciphered compressed and be distributed to accreditation division data server in real time through the electronics photograph that manual work is checked; Send said electronics photograph and gather receipt to client simultaneously, gather receipt with corresponding electronics photograph so that the user derives said electronics photograph from said client by the electronics photograph that said receipt generation module generates;
Memory module, be used to store in advance be provided with electronics photograph type characteristic of correspondence parameter empirical value, said electronics photograph that showed by the photograph display module and that check through manual work, and gather receipt by the electronics photograph that said receipt generation module generates.
The present invention also further discloses a kind of electronics photograph acquisition processing system, and said system comprises electronics photograph acquisition server and at least one electronics photograph collection client, wherein:
Electronics photograph acquisition process client comprises information receiving module, identification module, cutting module, filtering module, first sending module and first memory module,
Information receiving module is used to receive the electronics photograph additional information that the user selects or imports, and includes the type of said electronics photograph in this additional information;
Identification module is used to read the electronics photograph through gathering, and differentiates whether said electronics photograph is the original photograph of taking at the appointed time;
The cutting module; When being used for identification result when said identification module and being said electronics photograph for the original photograph taken at the appointed time; According to the corresponding photograph specifications parameter of storing in first memory module of electronics photograph type that receives with said information receiving module; Adopt " 3 points " localization method, cut out satisfactory electronics photograph automatically;
Filtering module; Be used for after the cutting module cuts out satisfactory electronics photograph; According to said electronics photograph type characteristic of correspondence parameter empirical value; Electronics photograph after the cutting of said cutting module made public, and discriminating, sharpness are differentiated, color is differentiated, noise is differentiated and background is differentiated and corresponding optimization process, thereby filter out satisfactory electronics photograph;
First sending module is used for sending the said satisfactory electronics photograph after ciphered compressed to electronics photograph acquisition process server;
First memory module; Be used for storing the electronics photograph type of the said additional information that said information receiving module receives; Be provided with in advance with the corresponding photograph specifications parameter of said electronics photograph type, and setting in advance with electronics photograph type characteristic of correspondence parameter empirical value;
Electronics photograph acquisition process server comprises deciphering decompression module, photograph display module, receipt generation module, second sending module and second memory module,
The deciphering decompression module is used to receive the satisfactory electronics photograph after ciphered compressed that said electronics photograph acquisition process client is sent, and said electronics photograph is deciphered and decompressed;
The photograph display module is used to show through said deciphering decompression module deciphering and the electronics photograph after decompressing, and checks so that said electronics photograph is carried out manual work;
The receipt generation module is used for after the electronics photograph that said photograph display module is showed is checked through manual work, generates corresponding electronics photograph and gathers receipt;
Second sending module; Be used for the electronics photograph of checking through manual work after the ciphered compressed is distributed to accreditation division data server in real time; Send said electronics photograph and gather receipt to client simultaneously, gather receipt with corresponding electronics photograph so that the user derives said electronics photograph from said client by the electronics photograph that said receipt generation module generates;
Second memory module; Be used to store in advance be provided with electronics photograph type characteristic of correspondence parameter empirical value; Said electronics photograph that showed by the photograph display module and that check through manual work, and gather receipt by the electronics photograph that said receipt generation module generates.
The beneficial effect that the present invention realizes is following:
The embodiment of the invention differentiates through client whether said electronics photograph is the original photograph of taking at the appointed time; When identification result when being said electronics photograph for the original photograph taken at the appointed time; According to the corresponding photograph specifications parameter of this electronics photograph type that is provided with in advance in the said client; Adopt " 3 points " localization method, cut out satisfactory electronics photograph automatically.Because of technical scheme of the present invention through client with the collection of electronics photograph service reach, solved former figure technically and differentiated a difficult problem, the authenticity of the portrait characteristic information of guaranteeing to gather and ageing; Client also has and photograph is carried out functions such as automatic cutting and intelligently filters in addition; Improve the treatment effeciency of electronics photograph, simplified the flow process of take a picture point or individual's processing electronics photograph, reduced the industry entry threshold; Help popularizing the socialization collection of photograph; Let masses individual also can oneself take pictures, break traditions and take the certificate photo limitation a little of must going to take a picture, really realized the handy service for the people of " one continuous line " for oneself.
Description of drawings
Fig. 1 is embodiment of the invention electronics photograph acquisition process client is carried out acquisition process to the electronics photograph a method flow synoptic diagram;
Fig. 2 is the automatic cutting coordinate vector of an electronics photograph spirogram in the embodiment of the invention;
Fig. 3 is embodiment of the invention electronics photograph acquisition process server carries out acquisition process to the electronics photograph a method flow synoptic diagram;
Fig. 4 is embodiment of the invention electronics photograph acquisition processing system carries out acquisition process to the electronics photograph a method flow synoptic diagram;
Fig. 5 is the electronics photograph acquisition process client terminal structure framework synoptic diagram that the embodiment of the invention provides;
Fig. 6 is the structural representation of embodiment of the invention cutting module;
Fig. 7 is the electronics photograph acquisition process server architecture framework synoptic diagram that the embodiment of the invention provides;
Fig. 8 is the electronics photograph acquisition processing system structural framing synoptic diagram that the embodiment of the invention provides.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
The electronics photograph that the present invention relates to comprise certificate photo, job hunting according to, enter oneself for the examination photograph, the photograph of advertising for a friend, works shine according to, qualification etc.Following examples will be that example is set forth with the certificate photograph.For the ease of understanding technical scheme of the present invention, at first on the whole the flow process of electronics photograph collection is introduced:
The electronics photograph is gathered service centre and is formulated unified certificate with the requirement of electronics photograph technique for taking; Through to multiple certificate; Like the technical standard analysis of Certification of Second Generation, residence permit, exit and entry certificates, driver's license, social security card etc., sum up the universal law of certificate with the electronics photograph, make of the unified technical requirement of suitable all indentations with the electronics photograph; The specifications parameter that comprises technique for taking requirement, all kinds of certificate photographs requires, the photograph characteristic parameter, requirements such as photograph shooting time.
Photograph point attendant or individual take the electronics photograph according to unified technical requirement for the applicant, multiple modes such as photograph is taken and can be taken in photo store, the shooting of certificates handling point, Possum shooting, applicant oneself shooting.After taking completion; Client through downloading the embodiment of the invention is carried out pre-service to photograph, preprocessing process comprise select type of credential and certificates handling place, read photograph, former figure differentiates, cutting automatically, intelligently filters, ciphered compressed, be submitted to process such as collection service centre in real time.
The background server of gathering service centre is deciphered and decompress(ion) after receiving the electronics photograph that client submits; And the corresponding picture number of smart allocation; Identity photographs characteristic parameter according to correspondence requires to carry out the intelligently filters processing; And through backstage specialty contact staff expression, attitude, the clothing of image are checked, to guarantee that photograph all meets the requirements; Satisfactory photograph will carry out ciphered compressed by the collection center; Be distributed to the accreditation division data server of appointment in real time through designated lane; Call when supplying certificates handling, accreditation; Export satisfactory electronics photograph and generate electronics photograph collection receipt in client simultaneously, use when supplying the applicant to go to the application certificates handling of certificates handling department; In this this process, the part photograph possibly cause undesirablely being return client because the point of taking a picture is held inaccurately to expression, attitude, clothing.
Photograph point attendant or applicant can derive satisfactory certificate and gather receipt with electronics photograph and photograph from client; The applicant holds photograph, gather receipt and other data is gone to corresponding certificates handling department application certificate, and certificates handling point staff uses when photograph is gathered certificate that bar code image on the receipt number just can call photograph database correspondence with electronics photograph confession certificates handling, accreditation through reading.
After having understood the overall flow of above certificate with the collection of electronics photograph.Below the core technology in the embodiment of the invention is set forth in detail.
Referring to Fig. 1, being embodiment of the invention electronics photograph acquisition process client carries out the method flow synoptic diagram of acquisition process to the electronics photograph, and as shown in the figure, said method comprises:
S101, electronics photograph acquisition process client receive the electronics photograph additional information that the user selects or imports, and include the type of said electronics photograph in this additional information; Here, as required, the user also can select or import other information of electronics photograph, like applicant's registered permanent residence location message etc.
S102, said client read the electronics photograph through gathering;
Whether S103, the said electronics photograph of discriminating are the original photograph of taking at the appointed time; Said original photograph is a digital camera electronics photograph directly that take, that do not pass through any modification.In practical implementation, client is analyzed the wavelet transformation analysis or/and ELA analyzes according to PCA or/and quantize fingerprint detection or/and the quantization table quality testing differentiates whether said electronics photograph is original photograph; When identification result is that said electronics photograph is when being original photograph; According to the regulation shooting time parameter that is provided with in advance in shooting time parameter of carrying in the said electronics photograph and the said client, whether the shooting time of judging said electronics photograph is in the effective time of said client regulation.
S104, when identification result when being said electronics photograph for the original photograph taken at the appointed time; According to the corresponding photograph specifications parameter of this electronics photograph type that is provided with in advance in the said client; Adopt " 3 points " localization method, cut out satisfactory electronics photograph automatically.In useful application,, turn back to the step that reads among the step S102 through the electronics photograph of gathering when identification result is a said electronics photograph when being non-original photograph.In practical implementation; Said photograph specifications parameter comprises that clipping region width and height value, the wide empirical value of face, the crown are apart from empirical value; Said " three-point fix " be method of cutting out automatically, is exactly the specifications parameter requirement according to the electronics photograph, and position, the crown (a bit); Left and right sides pupil position (2 points) can cut out the identity photographs of standard specification automatically.
Preferential, said method also comprises step:
S105, client are according to the electronics photograph type characteristic of correspondence parameter empirical value that is provided with in advance; Said electronics photograph made public, and discriminating, sharpness are differentiated, color is differentiated, noise is differentiated and background is differentiated and corresponding optimization process, thereby filter out satisfactory electronics photograph.Wherein, said characteristic parameter empirical value is characteristic parameters such as exposure, sharpness, color, noise.In filter process,, then turn back to the step that reads among the step S102 through the electronics photograph of gathering if the electronics photograph is undesirable.
After this step, client can be handled the electronics photograph acquisition process server that satisfactory electronics photograph carries out ciphered compressed and is real-time transmitted to the backstage, transmit successfully after, client can obtain the picture number of an electronics photograph.Please refer to hereinafter electronics photograph processing server carries out acquisition process to the electronics photograph method in detail.
In practical application, behind step S104 or S105, can add the step of artificial judgment, specifically be according to the electronics photograph of showing on the client, the user checks the people's in the electronics photograph expression, attitude, clothing etc.
To set forth in detail above-mentioned steps S103, S104 and S105 below.
For above-mentioned steps S103:
In practical implementation, client is analyzed the wavelet transformation analysis or/and ELA analyzes according to PCA or/and quantize fingerprint detection or/and the quantization table quality testing differentiates whether said electronics photograph is original photograph, and concrete steps are following:
(1), JPEG electronics photograph is carried out that PCA analyzes is principal component analysis (PCA), is modified if identify the electronics photograph, then directly finishes discrimination process; Otherwise get into step (2);
Whether the lossy compression method algorithm that the JPEG compress technique is used if photograph is modified or deposited in addition, though human eye is not seen its variation, can identify these photographs through the PCA analysis and forge.
(2), JPEG electronics photograph is carried out that ELA analyzes is the error level analysis, is modified if identify the electronics photograph, then directly finishes discrimination process; Otherwise get into step (3);
(3), JPEG electronics photograph is carried out wavelet transformation analysis, be modified, then directly finished discrimination process if identify the electronics photograph; Otherwise get into step (4);
(4), the metadata of JPEG electronics photograph is quantized fingerprint detection, be modified, then directly finished discrimination process if identify former figure; Otherwise get into step (5);
Quantize the principle of fingerprint detection method: most JPEG electronics photograph all contains some important metadata describes image; Whether whether quantizing fingerprint or ballistics provides a kind of method to come detected image to be complementary with the metadata of appointment, be modified thereby detect photograph.Concrete detection method is: most digital cameras use jpeg format output picture, and the lossy compression method algorithm of JPEG picture is to use a quantization table to control the compression situation, and different cameral is used own specific table.The quantization table of a photograph bring with database in the table that provides of known camera contrast, thereby whether the fileinfo of judging this photograph was modified.
(5), JPEG electronics photograph quantization table is carried out quality testing, comprising:, calculate the mean value of AC value each quantization table; The average compressed value of all tables of calculated crosswise.Can identify the electronics photograph according to the matching relationship between the quantization table like this and whether be modified or deposited in addition,, then directly finish discrimination process if revise or deposited in addition; Otherwise get into step (6).
(6), JPEG electronics photograph shooting time is detected, extract the metadata of electronics photograph, through the regulation shooting time parameter of setting in advance in the shooting time parameter of carrying in the metadata relatively and the client; If the photograph shooting time surpassed the term of validity of regulation as 3 months; Then undesirable, return information to client, if before the deadline; Then meet the requirements, can carry out next step operation.
Need to prove, more than the first five step sequencing can change, can select the combination of one or more steps to realize discriminating arbitrarily to the electronics photograph, if five steps all use, can reach better detection effect; The 6th step can be carried out in the complete back of the first five step, also can before the first five step is carried out, carry out.
For above-mentioned steps S104:
When identification result when being said electronics photograph for the original photograph taken at the appointed time; According to the corresponding photograph specifications parameter of this electronics photograph type that is provided with in advance in the client; Adopt " 3 points " localization method, cut out satisfactory electronics photograph automatically, specifically may further comprise the steps:
Step 1, said client are obtained the portrait crown in the electronics photograph, left pupil and 3 position coordinateses in the electronics photograph before cutting of right pupil;
Step 2, according to the corresponding clipping region width of this electronics photograph type that is provided with in advance in the position coordinates of 3 in the said portrait crown, left pupil and right pupil and the said client and height value, the wide empirical value of face, the crown apart from empirical value, calculate clipping region start-stop position coordinates in the electronics photograph before cutting;
Concrete computing method are following:
Please combine Fig. 2, be the automatic cutting coordinate vector of electronics photograph spirogram in the embodiment of the invention, the origin coordinates of establishing the photograph clipping region for (x1, y1), the termination coordinate of photograph cutting be (x2, y2);
Pupil of left eye x coordinate is leftp.x, and pupil of right eye x coordinate is rightp.x, and position, crown y coordinate is top.y;
The clipping region width is ww, and the clipping region height is hh, in client, sets in advance according to different certificate specification requirements;
The wide empirical value of face is faceWidth, in client, sets in advance according to different certificate specification requirements;
The crown is Headline apart from empirical value, in client, sets in advance according to different certificate specification requirements.
Then:
Picture traverse ratio: rate=(rightp.x-leftP.x)/faceWidth;
The initial x coordinate in clipping region is: x1=(leftp.x-rate* ((ww-faceWidth)/2));
The initial y coordinate in clipping region is: y1=(top.y-(rate*Headline));
The clipping region stops the x coordinate: x2=(leftp.x-rate* ((ww-faceWidth)/2)+(rate*ww));
The clipping region stops the y coordinate: y2=(top.y-(rate*Headline)+(rate*hh)).
Step 3, according to the start-stop position coordinates of said clipping region, adopt the base image Processing Algorithm, cut out satisfactory electronics photograph automatically.
Above method of cutting out can be described as " 3 points " localization method.Adopt this method, in the client preprocessing process, as long as unified collection standard is set; Promptly give ww, hh, faceWidth and Headline parameter fixing empirical value,, get final product the standard photograph that automatic cutting generates corresponding certificate according to three localization methods; Because of it is the process of automatic cutting; Do not need operating personnel to possess the professional knowledge of Flame Image Process, do not need operating personnel to participate in the operation of each step yet, very convenient, efficient.
For above-mentioned steps S105:
Client is according to the electronics photograph type characteristic of correspondence parameter empirical value that is provided with in advance; Said electronics photograph made public, and discriminating, sharpness are differentiated, color is differentiated, noise is differentiated and background is differentiated and corresponding optimization process, thereby the detailed step that filters out satisfactory electronics photograph comprises:
Step 1, sharpness detect:
A), the face area that will locate carries out color space transformation, is converted into gray-scale map to it;
B), pass through to the gray scale between each pixel and the neighbor relatively to define the Grad of each pixel:
C), set the filtration bound of Grad, preserving edge information, the average gradient value and the variance of edge calculation information then;
D), decision method: if gradient mean is bigger, variance is bigger, then is picture rich in detail; If Grad is less, and variance is less, then is blurred picture;
Step 2, blur level detect, and confirm the fuzzy value of image with the Robert gradient under 5% threshold value of maximum.
A), the face area that will locate carries out color space transformation, is converted into gray-scale map to it;
B), define the Robert gradient of each pixel;
C), statistics edge gradient histogram, be normalized to 100, maximum 5%Rober Grad reservation, other square is changed to 0, and is normalized to 1 once again.
D), the blur level of calculating and definite image;
The values of ambiguity of image is at 0 to 1, and values of ambiguity is big more, and image is fuzzy more.
Need to prove, can integrating step one sharpness detect and the next common sharpness of judging image of step 2 blur level detection, to reach determine effect more accurately.
Step 3, exposure, brightness, color detection step:
A), extract the facial skin color, use fill method, extract all skin areas of face.
B), obtain R, G, the B mean value of skin area.
C), obtain P value and skin R ', G ', B ' empirical value P ', can judge whether colour cast of picture according to P and P ' comparison according to the group chromogen of R, G, B reason.Such as yellow partially, various colour casts such as indigo plant partially.
D), brightness judges: P=0.3*R+0.59*G+0.11*B, according to P and P1 (empirical value), P2 (also being empirical value) is if P<p1 figure kine bias is dark, if P>P2 schemes the bright (P2>P1) of kine bias.
E), exposure is judged: be converted into the Lab color space to the color space in facial skin zone; Obtain counting of L value L1 (empirical value), counting accounts for the ratio M that a face area is counted, if M is value>m (empirical value); Just be judged as over-exposed, otherwise be exactly under-exposed.
Step 4, noise authentication step:
A), carry out color space to image and transform, be converted into gray-scale map;
B), use the Sobel algorithm to carry out rim detection;
C), calculate the dynamic threshold value G1 of G value, through the histogram of statistics outline map, the G value in whole histogram when ratio reaches P% (P is an empirical value) is G1.
D), calculate Gaussian convolution;
E), calculating average noise value.
F), whether the evaluation noise meets the requirements, and when noise figure reaches empirical value T, is that noise is serious just.
Client is according to the electronics photograph type characteristic of correspondence parameter empirical value that is provided with in advance, and through above filter method, will filter and get nowhere for unintelligible, exposure, bright partially, dark partially, colour cast, the serious electronics photograph of noise, otherwise, then filter successfully.
Step 5, background authentication step:
If photograph background and certificate context request are not inconsistent, then search the background area automatically and replace.
Step 6, the electronics photograph is optimized processing:
Specifically carry out color optimization, brightness adjustment, background replacement etc., thereby produce satisfactory standard photograph filtering the undesirable electronics photograph in back.
The embodiment of the invention differentiates through client whether said electronics photograph is the original photograph of taking at the appointed time; When identification result when being said electronics photograph for the original photograph taken at the appointed time; According to the corresponding photograph specifications parameter of this electronics photograph type that is provided with in advance in the said client; Adopt " 3 points " localization method, cut out satisfactory electronics photograph automatically.Because of technical scheme of the present invention through client with the collection of electronics photograph service reach, solved former figure technically and differentiated a difficult problem, the authenticity of the portrait characteristic information of guaranteeing to gather and ageing; Client also has and photograph is carried out functions such as automatic cutting and intelligently filters in addition; Improve the treatment effeciency of electronics photograph, simplified the flow process of take a picture point or individual's processing electronics photograph, reduced the industry entry threshold; Help popularizing the socialization collection of photograph; Let masses individual also can oneself be the own certificate photo of taking, the shooting certificate photo that the breaks traditions limitation a little of must going to take a picture has really realized the handy service for the people of " one continuous line ".
Referring to Fig. 3, being embodiment of the invention electronics photograph acquisition process server carries out the method flow synoptic diagram of acquisition process to the electronics photograph, and as shown in the figure, said method comprises:
S301, the server that communicates with said client receive the satisfactory electronics photograph after ciphered compressed that client is sent, and said electronics photograph is deciphered and decompressed; In practical implementation, this process comprises that also server is the unique picture number of said electronics photograph smart allocation according to rule, and turns back to client.
S302, server are showed through said deciphering and the electronics photograph after decompressing; So that said electronics photograph is carried out manual work to be checked; Also be that the backstage contact staff can check portrait expression, attitude, the clothing of electronics photograph once more at last, guarantee that all photographs all meet the requirements, if there is undesirable photograph will feed back to client; Feedback information comprises problem reason and solution, lets the user understand and how to handle.
Need to prove; Among the embodiment outside present embodiment; Before this step; Can also increase the step of the electronics photograph being carried out intelligently filters, but concrete process reference implementation example electronics photograph acquisition process client of filtering the electronics photograph is carried out describe accordingly among the step S105 in the method flow of acquisition process, repeat no more here.
S303, served as after said electronics photograph checks through manual work, said server generates corresponding electronics photograph and gathers receipt; Here, the photograph of generation is gathered the receipt bar code and mainly is divided into two kinds, and a kind of is that image number is distributed, and another kind is to distribute according to ID card No.;
S304a, server send said electronics photograph and said electronics photograph collection receipt to client simultaneously, gather receipt so that the user derives said electronics photograph from said client with corresponding electronics photograph.Also preserve abundant photograph composing template in the client, convenient photograph point attendant or applicant derive photograph and develop and print or print.
The electronics photograph that S304b, server are checked through manual work after with ciphered compressed is distributed to accreditation division data server in real time; Here, server is main through special-purpose data interchange platform to photograph distribution in real time, inserts through the border access platform like special line, gateway and accreditation department, thereby guarantees accreditation departmental network safety; Network keep 24 hours unobstructed, guarantee real-time and agility that photograph sends, network using double copies circuit, the service of guaranteeing is stable uninterrupted; The transmission of electronics photograph all is through ciphered compressed, can effectively guarantee the accreditation information security and reduce resource occupying.
In the present embodiment; Server distributes unique image number automatically and generates satisfactory electronics photograph gathers receipt; Be with by the applicant and going to certificates handling department application certificate; Very simple and direct practicality not only lets more photo studios can participate in license collection service, more can let masses individual be embodied as the hope of own shooting photograph.In addition; In the Network Transmission mode between the server and client side, between server and the accreditation division data server all is to adopt the designated lane of safety, can slitless connection with existing accreditation network, and existing Accreditation System need not too big change; All electronics photograph data in real time exchange; Guarantee to serve uninterrupted and stable, data all are to carry out photograph transmission through the mode of ciphered compressed, not only can guarantee the safety of photograph; Protection accreditation information security is also practiced thrift accreditation department private network resource.
Referring to Fig. 4, being embodiment of the invention electronics photograph acquisition processing system carries out the method flow synoptic diagram of acquisition process to the electronics photograph, and said system comprises client and server, and is as shown in the figure, said method comprising the steps of:
S401, user open client through PC terminal or mobile phone terminal, and the type of credential that selection need be handled according to the needs of different certificates, can also be selected applicant's registered permanent residence location;
Before this, the user need download and install electronics photograph acquisition process client in advance, guarantees that computer network or mobile phone mobile network environment are good, guarantees that client normally moves.
S402, read the electronics photograph, can read, also can directly from camera or photograph Possum, read from computer hard disc in client;
Whether S403, be that the original photograph of taking is at the appointed time differentiated to the electronics photograph, if not the original photograph of taking at the appointed time, client can be returned information, can not carry out next step operation;
After S404, the discriminating of original photograph and shooting time were differentiated, client can be carried out the portrait crown, left and right sides pupil three-point fix to the electronics photograph, according to the specification requirement of institute's certificates handling part type, automatically the photograph cutting was become the electronics photograph of standard;
After S405, the automatic cutting, get into the photograph intelligently filters, client is according to user's operation indicating; Make public, color, sharpness etc. filter and corresponding optimization process, if filter successfully, then carry out S406; If when finding to have undesirable electronics photograph in the filter process, can return information, can not carry out next step operation; If photograph background and certificate require background not to be inconsistent, then search the background area automatically and replace.
After S406, above preprocessing process accomplished, client can point out the expression of user to people in the photograph, attitude, clothing to carry out artificial judgment, meet basic demand after, click is submitted, if undesirable, then returns information to client;
S407, client carry out the electronics photograph to send to after the ciphered compressed and gather service centre's background server and handle; Before transmission; Need input to gather the number of the account of the unified approval of service centre,, wait the feedback result of service centre to be collected as host-host protocol; Stand-by period, submitting successfully, the back client can show the picture number of gathering service centre's smart allocation generally below 30 seconds.
Above step is mainly the execution flow process of client; Following steps also are the execution flow process of electronics photograph acquisition process server for gathering service centre's background server; Electronics photograph acquisition process server mainly carries out following operation after receiving the electronics photograph that client submits:
S408, server to the electricity that receives photograph decipher and decompress(ion); Distribute unique picture number according to unified rule for the electronics photograph; According to type of credential and certificates handling place photograph is carried out the intelligently filters processing then, comprise parameters such as size, exposure, color, sharpness, background, make it to meet accreditation with the requirement of electronics photograph; If electronics photograph after filtering is undesirable, then return information to client; Need to prove that the step that relates to intelligently filters among the step S408 also can be omitted.
S409, manual work are checked; The backstage contact staff can be according to the prompting of server; Once more portrait expression, attitude, the clothing of electronics photograph are checked at last, guaranteed that all photographs all meet the requirements, if there is undesirable photograph will feed back to client; Feedback information comprises problem reason and solution, lets the user understand and how to handle;
After S410a, photograph meet the requirements, gather the center background server and can export satisfactory photograph and generate photograph collection receipt, use when supplying applicant's certificates handling to client;
S410b, simultaneously, server is distributed to the accreditation department photograph database of appointment with satisfactory photograph through designated lane in real time, calls when supplying certificates handling, accreditation.
After the photograph collection is accomplished; The applicant holds photograph and gathers receipt; Go to card hall application certificates handling together with relevant certificates handling data, certificates handling point staff just calls the electronics photograph by means of reading photograph collection receipt epigraph bar code number, examines and certificate making.
Referring to Fig. 5, be the electronics photograph acquisition process client terminal structure framework synoptic diagram that the embodiment of the invention provides, as shown in the figure, said client comprises:
Cutting module 53; When being used for identification result when identification module 52 and being said electronics photograph for the original photograph taken at the appointed time; The corresponding photograph specifications parameters of electronics photograph type that receive with said information receiving module 51 according to storage in the memory module 54; Adopt " 3 points " localization method, cut out satisfactory electronics photograph automatically;
Particularly; Memory module 54 is also preserved the regulation shooting time parameter that is provided with in advance; Said identification module 52 comprises: original photograph discriminating unit; Be used for when reading behind the electronics photograph of gathering, to the said electronics photograph wavelet transformation analysis of carrying out that PCA analyzes or/and ELA analyzes or/and quantize fingerprint detection or/and the quantization table quality testing differentiates whether said electronics photograph is original photograph; The shooting time judging unit; When being used for identification result when said original photograph discriminating unit and being said electronics photograph and being original photograph; According to the regulation shooting time parameter that is provided with in advance in shooting time parameter of carrying in the said electronics photograph and the said memory module 54, whether the shooting time parameter of judging said electronics photograph is in the effective time of regulation.
Particularly; The photograph specifications parameter of memory module 54 storage comprises clipping region width and height value, the wide empirical value of face, the crown apart from empirical value, please the while with reference to figure 6, be the structural representation of embodiment of the invention cutting module 53; As shown in the figure, said cutting module 53 comprises:
Three point coordinate acquiring units 531; When being used for identification result when identification module 52 and being said electronics photograph, obtain the portrait crown in the electronics photograph, left pupil and 3 position coordinateses in the electronics photograph before cutting of right pupil for the original photograph taken at the appointed time; Computing unit 532; Be used for corresponding clipping region width of this electronics photograph type of position coordinates and memory module 54 storages of 3 in the portrait crown that obtains according to said three point coordinate acquiring units 531, left pupil and right pupil and height value, the wide empirical value of face, the crown apart from empirical value, calculate clipping region start-stop position coordinates in the electronics photograph before cutting; Cutting unit 533, the start-stop position coordinates of the clipping region that is used for calculating according to said computing unit 532 adopts the base image Processing Algorithm, cuts out satisfactory electronics photograph.
Concrete, also preserve in the said memory module 54 be provided with in advance with electronics photograph type characteristic of correspondence parameter empirical value, said client also comprises:
Because of the execution function embodiment corresponding with Fig. 1 of above each module or unit is that the step that electronics photograph acquisition process client is carried out the electronics photograph in the method for acquisition process is to concern one to one; Each module is carried out the detailed description of function; Please refer to client and the electronics photograph is carried out the description of each step in the method for acquisition process, repeat no more here.
The embodiment of the invention differentiates through client whether said electronics photograph is the original photograph of taking at the appointed time; When identification result when being said electronics photograph for the original photograph taken at the appointed time; According to the corresponding photograph specifications parameter of this electronics photograph type that is provided with in advance in the said client; Adopt " 3 points " localization method, cut out satisfactory electronics photograph automatically.Because of technical scheme of the present invention through client with the collection of electronics photograph service reach, solved former figure technically and differentiated a difficult problem, the authenticity of the portrait characteristic information of guaranteeing to gather and ageing; Client also has and photograph is carried out functions such as automatic cutting and intelligently filters in addition; Improve the treatment effeciency of electronics photograph, simplified the flow process of take a picture point or individual's processing electronics photograph, reduced the industry entry threshold; Help popularizing the socialization collection of photograph; Let masses individual also can oneself be the own certificate photo of taking, the shooting certificate photo that the breaks traditions limitation a little of must going to take a picture has really realized the handy service for the people of " one continuous line ".
Referring to Fig. 7, be the electronics photograph acquisition process server architecture framework synoptic diagram that the embodiment of the invention provides, as shown in the figure, said server comprises:
Deciphering decompression module 71 is used to receive the satisfactory electronics photograph after ciphered compressed that electronics photograph acquisition process client is sent, and said electronics photograph is deciphered and decompressed;
Sending module 74; Be used for after the ciphered compressed and be distributed to accreditation division data server in real time through the electronics photograph that manual work is checked; Send said electronics photograph and gather receipt to client simultaneously, gather receipt with corresponding electronics photograph so that the user derives said electronics photograph from said client by the electronics photograph that said receipt generation module 73 generates;
Carrying out the function embodiment corresponding with Fig. 3 because of above each module is that the step that electronics photograph acquisition process server carries out the electronics photograph in the method for acquisition process is to concern one to one; Each module is carried out the detailed description of function; Please refer to the description of each step in server carries out acquisition process to the electronics photograph the method, repeat no more here.
In the present embodiment; Server distributes unique image number automatically and generates satisfactory electronics photograph gathers receipt; Be with by the applicant and going to certificates handling department application certificate; Very simple and direct practicality not only lets more photo studios can participate in license collection service, more can let masses individual be embodied as the hope of own shooting photograph.In addition; In the Network Transmission mode between the server and client side, between server and the accreditation division data server all is to adopt the designated lane of safety, can slitless connection with existing accreditation network, and existing Accreditation System need not too big change; All electronics photograph data in real time exchange; Guarantee to serve uninterrupted and stable, data all are to carry out photograph transmission through the mode of ciphered compressed, not only can guarantee the safety of photograph; Protection accreditation information security is also practiced thrift accreditation department private network resource.
Referring to Fig. 8; It is the electronics photograph acquisition processing system structural framing synoptic diagram that the embodiment of the invention provides; As shown in the figure, said system comprises electronics photograph acquisition server 81 and at least one electronics photograph collection client, like client 82, client 83 etc.; Below be that example is described with server 81 with client 82 communications, wherein:
Electronics photograph acquisition process client 82 is used to receive the electronics photograph additional information that the user selects or imports, and includes the type of said electronics photograph in this additional information; Read electronics photograph, differentiate whether said electronics photograph is the original photograph of taking at the appointed time through gathering; When identification result when being said electronics photograph for the original photograph taken at the appointed time; According to the corresponding photograph specifications parameter of this electronics photograph type that is provided with in advance in the said client 82; Adopt " 3 points " localization method, cut out satisfactory electronics photograph automatically; According to the said electronics photograph type characteristic of correspondence parameter empirical value that is provided with in advance; Said electronics photograph made public, and discriminating, sharpness are differentiated, color is differentiated, noise is differentiated and background is differentiated and corresponding optimization process, thereby filter out satisfactory electronics photograph; To the said satisfactory electronics photograph of electronics photograph acquisition process server 81 transmissions after ciphered compressed;
Electronics photograph acquisition process server 81 is used to receive the satisfactory electronics photograph after ciphered compressed that said electronics photograph acquisition process client 82 is sent, and said electronics photograph is deciphered and decompressed; The electronics photograph of displaying after said deciphering and decompression checked so that said electronics photograph is carried out manual work; After said electronics photograph was checked through manual work, said server 81 generated corresponding electronics photograph and gathers receipt; The electronics photograph of checking through manual work after the ciphered compressed is distributed to accreditation division data server in real time; Send said electronics photograph and said electronics photograph collection receipt to client 82 simultaneously, gather receipt so that the user derives said satisfactory and corresponding electronics photograph from said client 82.In practical application; Said electronics photograph acquisition process server 81 can be the background server of gathering service centre; The client that can carry out communication with said background processor that said electronics photograph acquisition process client 82 can be that take a picture point or individual artificial processing identity photographs use, the client among all embodiment that the present invention relates to can be installed in PC terminal or the mobile phone terminal to be used.
The embodiment of the invention differentiates through client whether said electronics photograph is the original photograph of taking at the appointed time; When identification result when being said electronics photograph for the original photograph taken at the appointed time; According to the corresponding photograph specifications parameter of this electronics photograph type that is provided with in advance in the said client; Adopt " 3 points " localization method, cut out satisfactory electronics photograph automatically.Because of technical scheme of the present invention through client with the collection of electronics photograph service reach, solved former figure technically and differentiated a difficult problem, the authenticity of the portrait characteristic information of guaranteeing to gather and ageing; Client also has and photograph is carried out functions such as automatic cutting and intelligently filters in addition; Improve the treatment effeciency of electronics photograph, simplified the flow process of take a picture point or individual's processing electronics photograph, reduced the industry entry threshold; Help popularizing the socialization collection of photograph; Let masses individual also can oneself be the own certificate photo of taking, the shooting certificate photo that the breaks traditions limitation a little of must going to take a picture has really realized the handy service for the people of " one continuous line ".
In addition; The embodiment of the present invention method has market value basis widely: everybody has digital filming equipment now, all leads to the internet everywhere, can with this method be applied to various need to gather the electronics photographs as the certificate of accreditation photograph with in the digital collection service; For example Certification of Second Generation, exit and entry certificates, residence permit, driver's license, social security card etc.; Also can be extended to relevant qualification authentication applicant's portrait collection apparatus, for example hunt for a job, advertise for a friend, diploma, degree's diploma, college entrance examination; Judicial examination, civil servant examination etc.
The present technique scheme mainly has following characteristics and advantage:
1) former figure identification.Client is when reading the shooting photograph automatically; Whether be former figure, off the docket to treated photograph if can discern photograph automatically, and return information; Thereby the electronics photograph that guarantees all collections is original digital image; Electronics photo files information and time is unmodified all, guarantees that the accreditation portrait biological information of gathering (electronics photograph) is authentic and valid, and the accreditation that has solved puzzlement certificates handling department is with a portrait information authenticity difficult problem.
2) lower the threshold.The present invention sums up the unified technical requirement of suitable all indentations with the electronics photograph according to the universal law of multiple license; Solved and needed to be grasped each certificate loaded down with trivial details with the standard of electronics photograph in the traditional mode; Reduced technical threshold; Letting common personage pass through simple study can both be on top of, and client has carries out functions such as intelligent cutting and filtration to photograph, improves the certificate photo treatment effeciency.Photograph point staff or individual only need be according to unified technical requirement shooting photographs; Other thing is all by client executing; Automatically distribute unique image number and generate the collection receipt for satisfactory electronics photograph, be with by the applicant and going to certificates handling department application certificate, very simple and direct practicality; Not only let more photo studios can participate in license collection service, more can let masses individual be embodied as the hope of own shooting photograph.
3) data security.The inventive method Network Transmission mode all is to adopt the designated lane of safety, can slitless connection with existing accreditation network, and existing Accreditation System need not too big change; All electronics photograph data in real time exchange; Guarantee to serve uninterrupted and stable, data all are to carry out photograph transmission through the mode of ciphered compressed, not only can guarantee the safety of photograph; Protection accreditation information security is also practiced thrift accreditation department private network resource.
4) be widely used.Client of the present invention requires very low to network and computerized environment; Can under the multiple network environment, use; The user can be social photo studio, safety-ensuring service company, certificates handling Room photo service point; Also can be the broad masses of the people individuals, help certificate, also help to promote the socialization collection that more certificate is carried out the electronics photograph with electronics photograph socialization collection; Facilitate with the electronics photograph for the masses select the photo studio to take certificate nearby, more can let masses individual be embodied as the hope of oneself shooting photograph.
5) favorable expandability.Native system can be accepted and functions such as progress queries, certificates checking through the online certificates handling of simple extension realization certificate in advance; Improve the work efficiency of accreditation department; For example when gathering photograph, gather applicant's ID card No., public security certificates handling people's police just can also access photograph to come when accessing the household register data come through input applicant ID card No.; Reduce the work that repeats, improve accreditation efficient.
Above disclosedly be merely preferred embodiment of the present invention, can not limit the present invention's interest field certainly with this, the equivalent variations of therefore doing according to claim of the present invention still belongs to the scope that the present invention is contained.
Claims (9)
1. electronics photograph acquiring and processing method is characterized in that said method comprises:
Electronics photograph acquisition process client receives the electronics photograph additional information that the user selects or imports, and includes the type of said electronics photograph in this additional information;
Said client reads through the electronics photograph of gathering, and differentiates whether said electronics photograph is the original photograph of taking at the appointed time;
When identification result when being said electronics photograph for the original photograph taken at the appointed time; According to the corresponding photograph specifications parameter of this electronics photograph type that is provided with in advance in the said client; Said photograph specifications parameter comprises that clipping region width and height value, the wide empirical value of face, the crown are apart from empirical value; Adopt " 3 points " localization method, cut out satisfactory electronics photograph automatically, specifically comprise;
Said client is obtained the portrait crown in the electronics photograph, left pupil and 3 position coordinateses in the electronics photograph before cutting of right pupil;
Apart from empirical value, calculate clipping region start-stop position coordinates in the electronics photograph before cutting according to the corresponding clipping region width of this electronics photograph type that is provided with in advance in the position coordinates of 3 in the said portrait crown, left pupil and right pupil and the said client and height value, the wide empirical value of face, the crown;
According to the start-stop position coordinates of said clipping region, adopt the base image Processing Algorithm, cut out satisfactory electronics photograph automatically.
2. electronics photograph acquiring and processing method according to claim 1 is characterized in that, said client differentiates that whether said electronics photograph is that the step of the original photograph taken at the appointed time comprises:
Client said electronics photograph is carried out that PCA analyzes or/and ELA analyzes or/and wavelet transformation analysis or/and quantize fingerprint detection or/and the quantization table quality testing differentiates whether said electronics photograph is original photograph;
When identification result is that said electronics photograph is when being original photograph; According to the regulation shooting time parameter that is provided with in advance in shooting time parameter of carrying in the said electronics photograph and the said client, whether the shooting time of judging said electronics photograph is in the effective time of said client regulation.
3. electronics photograph acquiring and processing method according to claim 1 and 2 is characterized in that, after said client cut out satisfactory electronics photograph automatically, said method also comprised:
Client is according to the said electronics photograph type characteristic of correspondence parameter empirical value that is provided with in advance; Said electronics photograph made public, and discriminating, sharpness are differentiated, color is differentiated, noise is differentiated and background is differentiated and corresponding optimization process, thereby filter out satisfactory electronics photograph.
4. electronics photograph acquiring and processing method according to claim 3 is characterized in that, after the said step that filters out satisfactory electronics photograph, said method also further comprises:
The electronics photograph acquisition server that communicates with said client receives the satisfactory electronics photograph after ciphered compressed that this client is sent, and said electronics photograph is deciphered and decompressed;
Server is showed through said deciphering and the electronics photograph after decompressing, and checks so that said electronics photograph is carried out manual work;
After said electronics photograph was checked through manual work, said server generated corresponding electronics photograph and gathers receipt;
The electronics photograph that server is checked through manual work after with ciphered compressed is distributed to accreditation division data server in real time; Send said electronics photograph and said electronics photograph collection receipt to client simultaneously, gather receipt with corresponding electronics photograph so that the user derives said electronics photograph from said client.
5. electronics photograph acquisition process client is characterized in that said client comprises:
Information receiving module is used to receive the electronics photograph additional information that the user selects or imports, and includes the type of said electronics photograph in this additional information;
Identification module is used for differentiating when reading behind the electronics photograph of gathering whether said electronics photograph is the original photograph of taking at the appointed time;
The cutting module; When being used for identification result when said identification module and being said electronics photograph for the original photograph taken at the appointed time; According to the corresponding photograph specifications parameter of storing in the memory module of electronics photograph type that receives with said information receiving module; Adopt " 3 points " localization method, cut out satisfactory electronics photograph automatically;
Memory module is used for storing the electronics photograph type of the said additional information that said information receiving module receives, and be provided with in advance with the corresponding photograph specifications parameter of said electronics photograph type;
The photograph specifications parameter of said memory module storage comprises clipping region width and height value, the wide empirical value of face, the crown apart from empirical value, and said cutting module comprises:
Three point coordinate acquiring units when being used for identification result when identification module and being said electronics photograph for the original photograph taken at the appointed time, obtain the portrait crown in the electronics photograph, left pupil and 3 position coordinateses in the electronics photograph before cutting of right pupil;
Computing unit; Be used for corresponding clipping region width of the position coordinates of 3 in the portrait crown that obtains according to said three point coordinate acquiring units, left pupil and right pupil and this electronics photograph type that said memory module is stored and height value, the wide empirical value of face, the crown apart from empirical value, calculate clipping region start-stop position coordinates in the electronics photograph before cutting;
The cutting unit, the start-stop position coordinates of the clipping region that is used for calculating according to said computing unit adopts the base image Processing Algorithm, cuts out satisfactory electronics photograph.
6. client according to claim 5 is characterized in that, said memory module is also preserved the regulation shooting time parameter that is provided with in advance, and said identification module comprises:
Original photograph discriminating unit; Be used for when reading behind the electronics photograph of gathering; To said electronics photograph carry out that PCA analyzes or/and ELA analyzes or/and wavelet transformation analysis or/and quantize fingerprint detection or/and the quantization table quality testing differentiates whether said electronics photograph is original photograph;
The shooting time judging unit; When being used for identification result when said original photograph discriminating unit and being said electronics photograph and being original photograph; According to the regulation shooting time parameter that is provided with in advance in shooting time parameter of carrying in the said electronics photograph and the said memory module, whether the shooting time of judging said electronics photograph is in the effective time of regulation.
7. according to claim 5 or 6 described clients, it is characterized in that, also preserve in the said memory module in advance be provided with electronics photograph type characteristic of correspondence parameter empirical value, said client also comprises:
Filtering module; Be used for after cutting module or cutting unit cut out satisfactory electronics photograph; According to said electronics photograph type characteristic of correspondence parameter empirical value; Electronics photograph after the cutting of said cutting module made public, and discriminating, sharpness are differentiated, color is differentiated, noise is differentiated and background is differentiated and corresponding optimization process, thereby filter out satisfactory electronics photograph.
8. electronics photograph acquisition process server is characterized in that said server comprises:
The deciphering decompression module is used to receive the satisfactory electronics photograph after ciphered compressed that electronics photograph acquisition process client is sent, and said electronics photograph is deciphered and decompressed;
The photograph display module is used to show through said deciphering decompression module deciphering and the electronics photograph after decompressing, and checks so that said electronics photograph is carried out manual work;
The receipt generation module is used for after the electronics photograph that said photograph display module is showed is checked through manual work, generates corresponding electronics photograph and gathers receipt;
Sending module; Be used for after the ciphered compressed and be distributed to accreditation division data server in real time through the electronics photograph that manual work is checked; Send said electronics photograph and gather receipt to client simultaneously, gather receipt with corresponding electronics photograph so that the user derives said electronics photograph from said client by the electronics photograph that said receipt generation module generates;
Memory module, be used to store in advance be provided with electronics photograph type characteristic of correspondence parameter empirical value, said electronics photograph that showed by the photograph display module and that check through manual work, and gather receipt by the electronics photograph that said receipt generation module generates.
9. an electronics photograph acquisition processing system is characterized in that, said system comprises electronics photograph acquisition server and at least one electronics photograph collection client, wherein:
Electronics photograph acquisition process client comprises information receiving module, identification module, cutting module, filtering module, first sending module and first memory module,
Information receiving module is used to receive the electronics photograph additional information that the user selects or imports, and includes the type of said electronics photograph in this additional information;
Identification module is used to read the electronics photograph through gathering, and differentiates whether said electronics photograph is the original photograph of taking at the appointed time;
The cutting module; When being used for identification result when said identification module and being said electronics photograph for the original photograph taken at the appointed time; According to the corresponding photograph specifications parameter of storing in first memory module of electronics photograph type that receives with said information receiving module; Adopt " 3 points " localization method, cut out satisfactory electronics photograph automatically;
Filtering module; Be used for after the cutting module cuts out satisfactory electronics photograph; According to said electronics photograph type characteristic of correspondence parameter empirical value; Electronics photograph after the cutting of said cutting module made public, and discriminating, sharpness are differentiated, color is differentiated, noise is differentiated and background is differentiated and corresponding optimization process, thereby filter out satisfactory electronics photograph;
First sending module is used for sending the said satisfactory electronics photograph after ciphered compressed to electronics photograph acquisition process server;
First memory module; Be used for storing the electronics photograph type of the said additional information that said information receiving module receives; Be provided with in advance with the corresponding photograph specifications parameter of said electronics photograph type, and setting in advance with electronics photograph type characteristic of correspondence parameter empirical value;
Electronics photograph acquisition process server comprises deciphering decompression module, photograph display module, receipt generation module, second sending module and second memory module,
The deciphering decompression module is used to receive the satisfactory electronics photograph after ciphered compressed that said electronics photograph acquisition process client is sent, and said electronics photograph is deciphered and decompressed;
The photograph display module is used to show through said deciphering decompression module deciphering and the electronics photograph after decompressing, and checks so that said electronics photograph is carried out manual work;
The receipt generation module is used for after the electronics photograph that said photograph display module is showed is checked through manual work, generates corresponding electronics photograph and gathers receipt;
Second sending module; Be used for the electronics photograph of checking through manual work after the ciphered compressed is distributed to accreditation division data server in real time; Send said electronics photograph and gather receipt to client simultaneously, gather receipt with corresponding electronics photograph so that the user derives said electronics photograph from said client by the electronics photograph that said receipt generation module generates;
Second memory module; Be used to store in advance be provided with electronics photograph type characteristic of correspondence parameter empirical value; Said electronics photograph that showed by the photograph display module and that check through manual work, and gather receipt by the electronics photograph that said receipt generation module generates.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010608548A CN102063660B (en) | 2010-12-28 | 2010-12-28 | Acquisition method for electronic photograph, client, server and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010608548A CN102063660B (en) | 2010-12-28 | 2010-12-28 | Acquisition method for electronic photograph, client, server and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102063660A CN102063660A (en) | 2011-05-18 |
CN102063660B true CN102063660B (en) | 2012-09-05 |
Family
ID=43998930
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010608548A Active CN102063660B (en) | 2010-12-28 | 2010-12-28 | Acquisition method for electronic photograph, client, server and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102063660B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140015854A1 (en) * | 2012-07-13 | 2014-01-16 | Research In Motion Limited | Application of Filters Requiring Face Detection in Picture Editor |
CN103985098B (en) * | 2014-05-27 | 2017-02-15 | 广州商景网络科技有限公司 | Method and system for removing highlight of certificate image |
TWI621070B (en) * | 2016-08-18 | 2018-04-11 | Anti-counterfeiting printing image shooting method | |
CN106887091A (en) * | 2017-04-27 | 2017-06-23 | 石家庄瀚申网络科技有限公司 | It is a kind of go abroad, the self-service method handled of exit certificate and its system and device |
CN109872282B (en) * | 2019-01-16 | 2021-08-06 | 众安信息技术服务有限公司 | Image desensitization method and system based on computer vision |
CN111768416B (en) * | 2020-06-19 | 2024-04-19 | Oppo广东移动通信有限公司 | Photo cropping method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1216381A (en) * | 1997-11-04 | 1999-05-12 | 湖南省公安厅第十四处 | ID card making technology using no negative card |
CN1534510A (en) * | 2003-03-31 | 2004-10-06 | 联想(北京)有限公司 | System and method of realizing remote electronic photo album |
JP2006262071A (en) * | 2005-03-17 | 2006-09-28 | Casio Comput Co Ltd | Image display control apparatus and program |
CN1904939A (en) * | 2005-07-25 | 2007-01-31 | 侯遵泽 | Certificate making and detecting method based on wavelet analysis |
CN101609500A (en) * | 2008-12-01 | 2009-12-23 | 公安部第一研究所 | Quality estimation method of exit-entry digital portrait photos |
CN101615241A (en) * | 2008-06-24 | 2009-12-30 | 上海银晨智能识别科技有限公司 | A kind of screening technique of certificate photograph |
-
2010
- 2010-12-28 CN CN201010608548A patent/CN102063660B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1216381A (en) * | 1997-11-04 | 1999-05-12 | 湖南省公安厅第十四处 | ID card making technology using no negative card |
CN1534510A (en) * | 2003-03-31 | 2004-10-06 | 联想(北京)有限公司 | System and method of realizing remote electronic photo album |
JP2006262071A (en) * | 2005-03-17 | 2006-09-28 | Casio Comput Co Ltd | Image display control apparatus and program |
CN1904939A (en) * | 2005-07-25 | 2007-01-31 | 侯遵泽 | Certificate making and detecting method based on wavelet analysis |
CN101615241A (en) * | 2008-06-24 | 2009-12-30 | 上海银晨智能识别科技有限公司 | A kind of screening technique of certificate photograph |
CN101609500A (en) * | 2008-12-01 | 2009-12-23 | 公安部第一研究所 | Quality estimation method of exit-entry digital portrait photos |
Also Published As
Publication number | Publication date |
---|---|
CN102063660A (en) | 2011-05-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102063660B (en) | Acquisition method for electronic photograph, client, server and system | |
CN102063659B (en) | Method, server and system for collecting and making electronic photo | |
CN109376596A (en) | Face matching process, device, equipment and storage medium | |
US20200065460A1 (en) | Method and computer readable storage medium for remote interview signature | |
WO2020034733A1 (en) | Identity authentication method and apparatus, electronic device, and storage medium | |
Battiato et al. | Multimedia forensics: discovering the history of multimedia contents | |
CN107292150A (en) | Save user identification confirmation method and apparatus in information processing from damage | |
CN107580196A (en) | A kind of video data shared system and method | |
CN109871845B (en) | Certificate image extraction method and terminal equipment | |
CN109492536A (en) | A kind of face identification method and system based on 5G framework | |
CN103995997B (en) | The distribution method and equipment of a kind of user right | |
Armas Vega et al. | Copy-move forgery detection technique based on discrete cosine transform blocks features | |
CN102663444A (en) | Method for preventing account number from being stolen and system thereof | |
CN105827612B (en) | Salary payment system based on mobile internet service application | |
CN105574500A (en) | Method and device for improving face recognition passing rate | |
CN106815803A (en) | The processing method and processing device of picture | |
CN202587144U (en) | Certificate electronic photo collecting and processing system | |
CN108229124A (en) | A kind of self-service query printing testimony of a witness compares device systems and its method of work | |
CN106326922A (en) | Certificate information remote real time authentication method and system | |
KR20190142931A (en) | Code authentication method of counterfeit print image and its application system | |
CN113516167A (en) | Biological feature recognition method and device | |
CN109859351B (en) | Face registration system and method based on Bluetooth equipment | |
CN116704579A (en) | Student welcome new photo analysis system and method based on image processing | |
CN106650864A (en) | System and method automatically generating two-dimensional code on basis of image | |
CN116167778A (en) | Tea cake tracing method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |