CN106709866B - method and device for removing grid watermark from certificate photo and method and device for verifying human face - Google Patents

method and device for removing grid watermark from certificate photo and method and device for verifying human face Download PDF

Info

Publication number
CN106709866B
CN106709866B CN201611015748.4A CN201611015748A CN106709866B CN 106709866 B CN106709866 B CN 106709866B CN 201611015748 A CN201611015748 A CN 201611015748A CN 106709866 B CN106709866 B CN 106709866B
Authority
CN
China
Prior art keywords
watermark
fixed grid
template
grid
face
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611015748.4A
Other languages
Chinese (zh)
Other versions
CN106709866A (en
Inventor
邱建华
李宪
王栋
杨东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Athena Eyes Co Ltd
Original Assignee
Athena Eyes Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Athena Eyes Co Ltd filed Critical Athena Eyes Co Ltd
Priority to CN201611015748.4A priority Critical patent/CN106709866B/en
Publication of CN106709866A publication Critical patent/CN106709866A/en
Application granted granted Critical
Publication of CN106709866B publication Critical patent/CN106709866B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • G06T3/04
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T5/00Image enhancement or restoration
    • G06T5/50Image enhancement or restoration by the use of more than one image, e.g. averaging, subtraction
    • G06T5/70
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20024Filtering details
    • G06T2207/20032Median filtering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20212Image combination
    • G06T2207/20216Image averaging

Abstract

the invention discloses a method and a device for removing a grid watermark from a certificate photo, and a method and a device for verifying a human face, wherein the method comprises the following steps: acquiring a certificate photo to be subjected to face identification authentication, wherein a fixed grid watermark covers a face on the certificate photo; acquiring a fixed grid watermark template, wherein the fixed grid watermark template is generated by a watermark analysis image processing algorithm based on a plurality of certificate photos with fixed grid watermarks; and removing the fixed grid watermark from the certificate photo to be subjected to face identification and authentication through the fixed grid watermark template, and restoring the face information of the original certificate photo. The fixed grid watermark processing is removed from the identification photo through the fixed grid watermark template, compared with the traditional deep learning method for removing the grid watermark, the method has the advantages of high processing efficiency and short consumed time, and the watermark information is removed more thoroughly, so that the reliability of subsequent face authentication is improved.

Description

method and device for removing grid watermark from certificate photo and method and device for verifying human face
Technical Field
the invention relates to the field of face recognition, in particular to a processing method and a processing device for removing a grid watermark from a certificate photo. In addition, the invention also relates to a face authentication method and a face authentication device.
background
With the large-scale popularization and wide application of internet application, the convenient and high-quality service brought by the internet application is more and more accepted by consumers. In recent years, internet products are used more widely especially in the securities industry, and the application scenarios to the client requirements are also more and more abundant, including mobile terminal registration, account opening, related business handling and the like. The increasing number of consumer products has led to an increasing demand for a combination of authentication in the products. Due to the independence and particularity of the security industry, a user certificate photo obtained by a security dealer in the security industry from an identity information center of a public security department and the like is added with a grid watermark, as shown in fig. 1.
the testimony integrated by the testimony and the witness in the security industry is audited and judged manually in the early stage, along with more and more registered users, the efficiency and the accuracy of manual audit judgment can not meet the requirements of the industry, a large amount of manpower input is brought, and the operation cost is increased.
With the development of science and technology, the face recognition technology has been greatly developed in recent years, and the technology is accepted by more and more enterprises and consumers. The human face recognition commercialization demand tends to be wide, the technology generally becomes an indispensable link of a securities trade testimony and testimony integrated authentication step at present, judgment is completed through a machine, and the advantage that the efficiency of machine recognition is hundreds of times better than that of manual judgment also saves a large amount of labor and time cost for enterprises in the trade.
due to the particularity of the securities industry, the seen certificate photo is added with the fixed grid watermark, and much information of the face in the photo is obscured by the grid watermark, so that the situation is a great challenge for both workers and a machine face recognition technology, the recognition rate is reduced to a certain extent, and the user experience cannot be effectively guaranteed.
Disclosure of Invention
The invention provides a processing method and device for removing a grid watermark from a certificate photo, and a face verification method and device, which aim to solve the technical problems of low recognition rate and poor user experience due to the fact that the grid watermark is added to the certificate photo in the existing certificate and certificate integrated verification.
the technical scheme adopted by the invention is as follows:
According to one aspect of the invention, a processing method for removing a grid watermark from a certificate photo is provided, and the processing method comprises the following steps:
acquiring a certificate photo to be subjected to face identification authentication, wherein a fixed grid watermark covers a face on the certificate photo;
Acquiring a fixed grid watermark template, wherein the fixed grid watermark template is generated by a watermark analysis image processing algorithm based on a plurality of certificate photos with fixed grid watermarks;
and removing the fixed grid watermark from the certificate photo to be subjected to face identification and authentication through the fixed grid watermark template, and restoring the face information of the original certificate photo.
further, in the present invention, the fixed grid watermark includes a fixed grid watermark line for anti-counterfeiting and a character line for identification, and the generation of the fixed grid watermark template includes:
after pixels of a plurality of identification photos with fixed grid watermarks are superposed, averaging is carried out to generate an average fixed grid photo;
manually drawing fixed grid watermark lines and character lines on the average fixed grid photo respectively to generate a first average fixed grid template drawing and a second average fixed grid template drawing;
combining the first average fixed grid template drawing and the second average fixed grid template drawing to generate a full watermark average fixed grid template drawing;
And extracting a fixed grid watermark binarization template from the full watermark average fixed grid template picture.
Further, the step of removing the fixed grid watermark from the certificate photo to be subjected to the face recognition authentication through the fixed grid watermark template adopts a median filtering method to remove the fixed grid watermark information on the certificate photo.
further, the processing method of the invention also comprises the following steps:
And sharpening the certificate photo subjected to the median filtering by adopting a weighted average difference method to obtain the certificate photo without the fixed grid watermark information.
according to another aspect of the present invention, a face verification method is further provided, where the face verification method includes:
the face information of the original certificate photo is restored by adopting the processing method;
acquiring actual face image information on site;
And carrying out face verification and judging whether the testimonies are uniform or not.
according to another aspect of the present invention, there is also provided a processing apparatus for removing a grid watermark from a certificate photo, including:
The first acquisition unit is used for acquiring a certificate photo to be subjected to face identification authentication, and a fixed grid watermark covers a face on the certificate photo;
The second acquisition unit is used for acquiring a fixed grid watermark template, and the fixed grid watermark template is generated by a watermark analysis image processing algorithm based on a plurality of certificate photos with fixed grid watermarks;
And the grid watermark removing unit is used for removing the fixed grid watermark from the certificate photo to be subjected to the face identification authentication through the fixed grid watermark template, and restoring the face information of the original certificate photo.
furthermore, in the present invention, the fixed grid watermark includes a fixed grid watermark line for anti-counterfeiting and a character line for identification, the processing device further includes a generating unit for generating a fixed grid watermark template, the generating unit includes:
The first generation module is used for averaging the superposed pixels of a plurality of identification photos with fixed grid watermarks to generate an average fixed grid photo;
the second generation module is used for manually drawing the fixed grid watermark lines and the character lines on the average fixed grid photo respectively to generate a first average fixed grid template drawing and a second average fixed grid template drawing;
a third generating module, configured to combine the first average fixed grid template drawing and the second average fixed grid template drawing to generate a full watermark average fixed grid template drawing;
And the fourth generation module is used for extracting the fixed grid watermark binaryzation template from the full-watermark average fixed grid template graph.
Furthermore, the grid watermark removing unit removes the fixed grid watermark information on the certificate photo by adopting a median filtering method.
Further, the processing apparatus further comprises: and the sharpening processing unit is used for sharpening the certificate photo subjected to the median filtering processing by adopting a weighted average difference method to obtain the certificate photo without the fixed grid watermark information.
according to another aspect of the present invention, there is also provided a face authentication apparatus, including: the processing device is adopted to restore the face information of the original certificate photo; further comprising:
the face image acquisition unit is used for acquiring the actual face image information on site;
and the face authentication unit is used for carrying out face verification and judging whether the testimonies are uniform or not.
The invention has the following beneficial effects:
according to the processing method and device for removing the grid watermark from the certificate photo, the certificate photo with the fixed grid watermark and the fixed grid watermark template are obtained, and the fixed grid watermark is removed from the certificate photo through the fixed grid watermark template.
the face verification method and the face verification device receive the certificate photo with the grid watermark through the network, remove the grid watermark from the certificate photo, verify the face image of the original certificate photo after the grid watermark is removed and the acquired face image information to judge whether the face photo is unified, improve the intelligent level of identity authentication during network end registration, avoid the defects of low verification efficiency and high operation cost caused by traditional manual verification, and improve the accuracy and reliability of verification compared with manual verification.
In addition to the objects, features and advantages described above, other objects, features and advantages of the present invention are also provided. The present invention will be described in further detail below with reference to the accompanying drawings.
drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the invention and, together with the description, serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 is a schematic diagram of a prior art identification photo with a fixed grid watermark;
FIG. 2 is a flowchart illustrating a method for removing a grid watermark from a photo according to a preferred embodiment of the present invention;
FIG. 3 is a flow chart illustrating the generation of a fixed grid watermark template in a preferred embodiment of the present invention;
FIG. 4 is a schematic illustration of an average fixed grid photograph in a preferred embodiment of the present invention;
FIG. 5a is a schematic representation of a first uniform fixed grid template map in a preferred embodiment of the present invention;
FIG. 5b is a schematic illustration of a second average stationary grid template map in a preferred embodiment of the present invention;
FIG. 5c is a schematic illustration of a full watermark average stationary grid template map in a preferred embodiment of the present invention;
FIG. 5d is a diagram of a fixed grid watermark binarization template;
FIG. 6 is a schematic diagram of a certificate photo after removal of a fixed grid watermark in accordance with a preferred embodiment of the present invention;
FIG. 7 is a schematic block diagram of a processing apparatus for removing a grid watermark according to a preferred embodiment of the present invention;
FIG. 8 is a schematic block diagram of another embodiment of a processing apparatus for removing a grid watermark;
fig. 9 is a schematic block diagram of a generating unit in a processing apparatus for removing a grid watermark according to a preferred embodiment of the present invention;
fig. 10 is a schematic block diagram of a human face verification device according to a preferred embodiment of the present invention.
description of reference numerals:
100. A first acquisition unit;
200. a second acquisition unit;
300. a grid watermark removing unit;
400. a generating unit;
410. A first generation module; 420. a second generation module;
430. A third generation module; 440. a fourth generation module;
500. A sharpening processing unit;
10. a processing device;
20. a face image acquisition unit;
30. and a face authentication unit.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
the preferred embodiment of the present invention provides a processing method for removing a grid watermark from a certificate photo, and referring to fig. 2, the processing method of the present embodiment includes:
Step S100, obtaining a certificate photo to be subjected to face identification and authentication, wherein a fixed grid watermark covers a face on the certificate photo;
In this embodiment, the certificate photo is a certificate photo stored in the public security system and added with a grid watermark, such as an identity card face photo, and received by a server at the security industry end through a network.
Step S200, acquiring a fixed grid watermark template, wherein the fixed grid watermark template is generated by a watermark analysis image processing algorithm based on a plurality of certificate photos with fixed grid watermarks;
the fixed grid watermark template of the embodiment may be generated in advance and stored at a local end or a network server end.
and step S300, removing the fixed grid watermark from the certificate photo to be subjected to face identification and authentication through the fixed grid watermark template, and restoring the face information of the original certificate photo.
In the embodiment, the certificate photo with the fixed grid watermark and the fixed grid watermark template are obtained, and the fixed grid watermark is removed from the certificate photo through the fixed grid watermark template, so that compared with the traditional deep learning method for removing the grid watermark, the method has the advantages of high processing efficiency and short consumed time, watermark information is removed more thoroughly, and the reliability of follow-up face authentication is improved.
referring to fig. 1, in the present embodiment, the fixed grid watermark includes a fixed grid watermark line for anti-counterfeiting and a character line for identification (as "securities industry dedicated" shown in fig. 1), and referring to fig. 3, the generating of the fixed grid watermark template in the present embodiment includes:
Step S401, after overlapping pixels of a plurality of identification photos with fixed grid watermarks, averaging to generate an average fixed grid photo;
The average fixed grid photo is generated by the method of averaging after the pixels of the massive fixed grid watermark photos are overlapped, wherein Pm is (P1+ P2+ … … + Pn)/n, as shown in fig. 4.
Step S402, manually drawing fixed grid watermark lines and character lines on the average fixed grid photo to generate a first average fixed grid template drawing and a second average fixed grid template drawing respectively;
In this embodiment, the image processing software (Photoshop) is used to manually draw the fixed grid watermark lines and the lines of the "securities industry dedicated" characters, so as to obtain the first and second average fixed grid template maps (see fig. 5a and 5 b).
step S403, combining the first average fixed grid template drawing and the second average fixed grid template drawing to generate a full watermark average fixed grid template drawing;
The two manually outlined average fixed grid template maps are merged to generate the full watermark average fixed grid template map, where P ═ P1+ P2)/2, see fig. 5 c.
and step S404, extracting a fixed grid watermark binarization template from the full watermark average fixed grid template map.
In this embodiment, when manual drawing is performed, a red line is used to draw a fixed grid watermark line and a character line in Photoshop, and the red line part in the image is subjected to binarization processing and is separately extracted, and a pixel with a pixel value of 255 in an R (red channel) channel in an RGB image is used as a 1 in the binarized image, and other parts are represented by 0, so as to generate the fixed grid watermark binarized template shown in fig. 5 d.
In this embodiment, the fixed grid watermark binarization template shown in fig. 5d is obtained by binarization extraction from the full watermark fixed grid template graph shown in fig. 5c, and firstly, on the basis of not changing watermark template watermark information, the size of the template image is reduced, for example, from 39KB to 7KB, so that subsequent storage and reading are facilitated, and the data processing efficiency is improved. Since the watermark template is generated in advance, the image of the watermark template is either stored in a local hard disk (when the image is needed, the image is read from the local hard disk, the smaller the template is, the faster the reading speed is, and the shorter the processing time is), or the information of the image of the watermark template is written into a code (which is equivalent to reading in advance into a memory, the smaller the template is, and the less memory resources are occupied). In addition, when a photo with a fixed grid watermark is processed by relying on a watermark template image, the embodiment does not need to perform a step of decomposing an R channel (a red channel) with a pixel value of 255 in RGB three channels in a color watermark template image in the process of removing the grid watermark by using binarized template information (a white region is 1, and a black region is 0), so that a step is omitted, and the processing efficiency is further improved in the process of removing the grid watermark.
preferably, in this embodiment, the step of performing fixed grid watermark removal processing on the identification photo to be subjected to face recognition authentication by using the fixed grid watermark template removes the fixed grid watermark information on the identification photo by using a median filtering method.
In this embodiment, considering that the watermark information of the fixed grid is image information that has approximately equal amplitude but is randomly distributed at different positions, clean points (people in the background) and dirty points (noise points, watermark information) exist in the image in the watermark photo of the fixed grid, and a median filtering method is preferentially selected for the characteristics of such noise. The median filter (mediafilter) is an image processing algorithm for nonlinear smoothing processing, in which the gray values of pixels in a sliding window are sorted, and the original gray value of the central pixel of the window is replaced by the median filter, and this embodiment introduces a median filtering method to perform fixed-grid photo filtering processing to remove fixed-grid watermark information. The median filtering method specifically comprises the following steps: when filtering a digital signal sequence xj (— infinity < j < ∞), an L-length window with an odd length is defined, where L is 2N +1 and N is a positive integer. At a certain time, the signal samples in the window are x (i-N), …, x (i), …, x (i + N), where x (i) is the signal sample value at the center of the window. The L signal sample values are arranged in descending order, wherein the value, i.e. the sample value at i, is defined as the output value of the median filtering. After the template for fixing the binarization of the grid watermark information is read, median filtering processing of 9x9 size is performed on the watermark part (pixel value is 1) of the certificate photo. The median filtering processing method can optimize and restore the information of the face part of the original certificate photo, and has high processing efficiency compared with the traditional deep learning method. The method is very effective in smoothing impulse noise, has a good effect of inhibiting impulse interference level salt-pepper noise, can protect sharp edges of images, selects proper points to replace values of pollution points, and can effectively protect the edges from being blurred (character information in the background is protected as much as possible) while inhibiting random noise. Therefore, the processing effect is good, and the accuracy of the restored face information is high.
preferably, the processing method of this embodiment further includes:
And sharpening the certificate photo subjected to the median filtering by adopting a weighted average difference method to obtain the certificate photo without the fixed grid watermark information.
In order to avoid the defects of image edge and image contour blurring of the identification photo image, in this embodiment, a Sobel operator method (weighted average difference method) is preferably adopted to sharpen the image, where the Sobel operator is a typical edge detection operator of a first derivative, and because an operation similar to local average is introduced into the Sobel operator, the Sobel operator has a smoothing effect on noise, can well eliminate the influence of the noise, and finally obtain a standard identification photo with fixed grid watermark information removed, as shown in fig. 6.
according to another aspect of the present invention, a face verification method is further provided, where the face verification method of this embodiment includes:
The processing method of the embodiment is adopted to restore the face information of the original certificate photo; from the above analysis, it can be seen that the standard certificate photo with fixed grid watermark removed can be obtained by the processing method.
acquiring actual face image information on site;
In this embodiment, preferably, the face image information of the online user is acquired through a network, for example, when the user registers a security account online, the registered security website is accessed through a client at his or her side, and a face image collected by a camera at the client is uploaded online, and the security server receives actual face image information and a standard certificate photo from which a fixed grid watermark is removed.
and carrying out face verification and judging whether the testimonies are uniform or not.
and judging whether the user who is registered on line is the user who is in the same with the certificate photo by adopting a face verification method, thereby ensuring the correctness of the identity of the user. The face verification method of the present embodiment may adopt an existing mature feature comparison determination method, which is not described herein again.
according to another aspect of the present invention, there is further provided a processing apparatus for removing a grid watermark from a certificate photo, where the processing apparatus of this embodiment corresponds to the processing method described above, and with reference to fig. 7, the processing apparatus includes:
The first acquisition unit 100 is configured to acquire a certificate photo to be subjected to face identification authentication, where a face on the certificate photo is covered with a fixed grid watermark;
a second obtaining unit 200, configured to obtain a fixed-grid watermark template, where the fixed-grid watermark template is generated by a watermark analysis image processing algorithm based on a plurality of identification photos with fixed-grid watermarks;
The grid watermark removing unit 300 is configured to remove the fixed grid watermark from the identification photo to be subjected to the face identification authentication through the fixed grid watermark template, and restore the face information of the original identification photo.
in the present invention, the fixed grid watermark includes a fixed grid watermark line for anti-counterfeiting and a character line for identification, referring to fig. 8, the processing apparatus of this embodiment further includes a generating unit 400 for generating a fixed grid watermark template, preferably, referring to fig. 9, the generating unit 400 of this embodiment includes:
A first generation module 401, configured to average the multiple pixels of the identification photo with the fixed grid watermark after being superimposed to generate an average fixed grid photo;
A second generating module 402, configured to manually trace the fixed-grid watermark lines and the character lines on the average fixed-grid photo respectively to generate a first average fixed-grid template drawing and a second average fixed-grid template drawing;
a third generating module 403, configured to combine the first average fixed grid template drawing and the second average fixed grid template drawing to generate a full watermark average fixed grid template drawing;
a fourth generating module 404, configured to extract a fixed grid watermark binarization template from the full-watermark average fixed grid template map.
The process of generating the fixed grid watermark binarization template by the generating unit 400 in this embodiment may specifically refer to the above method embodiments, and is not described herein again.
preferably, the grid watermark removing unit removes the fixed grid watermark information on the identification photo by adopting a median filtering method.
preferably, the processing apparatus of this embodiment further includes: and the sharpening processing unit 500 is configured to sharpen the certificate photo after the median filtering processing by using a weighted average difference method, so that the influence of noise can be well eliminated, and finally, the standard certificate photo without the fixed grid watermark information is obtained.
according to another aspect of the present invention, there is also provided a face authentication apparatus, referring to fig. 10, including: restoring the face information of the original certificate photo by using the processing device 10; further comprising:
a face image obtaining unit 20, configured to obtain actual face image information in the field;
and the face authentication unit 30 is used for performing face verification and judging whether the testimonies are unified.
As can be known from the above description, in the embodiment, by acquiring the certificate photo with the fixed grid watermark and the fixed grid watermark template, and removing the fixed grid watermark from the certificate photo through the fixed grid watermark template, compared with the conventional deep learning method for removing the grid watermark, the method has the advantages of high processing efficiency and short time consumption, and the watermark information is removed more thoroughly, so that the reliability of the subsequent face authentication is improved. The method and the device for verifying the face of the certificate photo with the grid watermark have the advantages that the network receives the certificate photo with the grid watermark, the grid watermark is removed from the certificate photo, the face image of the original certificate photo with the grid watermark removed and the acquired face image information are verified, whether the face image is unified or not is judged, the intelligent level of identity authentication during registration at a network end is improved, the defects of low verification efficiency and high operation cost caused by traditional manual verification are overcome, and compared with manual verification, the accuracy and the reliability of verification are improved.
it should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
it will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and they may alternatively be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, or fabricated separately as individual integrated circuit modules, or fabricated as a single integrated circuit module from multiple modules or steps. Thus, the present invention is not limited to any specific combination of hardware and software.
the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. a processing method for removing grid watermarks from a certificate photo is characterized by comprising the following steps:
Acquiring a certificate photo to be subjected to face identification authentication, wherein a fixed grid watermark covers a face on the certificate photo;
Acquiring a fixed grid watermark template, wherein the fixed grid watermark template is generated by a watermark analysis image processing algorithm based on a plurality of certificate photos with the fixed grid watermarks;
Removing the fixed grid watermark from the certificate photo to be subjected to face identification authentication through the fixed grid watermark template, and restoring the face information of the original certificate photo;
The fixed grid watermark comprises fixed grid watermark lines for anti-counterfeiting and character lines for marking, and the generation of the fixed grid watermark template comprises the following steps:
After the pixels of a plurality of identification photos with the fixed grid watermarks are superposed, averaging is carried out to generate an average fixed grid photo;
manually drawing fixed grid watermark lines and character lines on the average fixed grid photo respectively to generate a first average fixed grid template drawing and a second average fixed grid template drawing;
merging the first average fixed grid template drawing and the second average fixed grid template drawing to generate a full watermark average fixed grid template drawing;
and extracting a fixed grid watermark binary template from the full watermark average fixed grid template graph.
2. the method for removing grid watermark from identification photo of claim 1,
and removing the fixed grid watermark from the certificate photo to be subjected to face recognition and authentication by using the fixed grid watermark template, wherein the fixed grid watermark information on the certificate photo is removed by using a median filtering method.
3. The method for removing grid watermark from a certificate photo as claimed in claim 2, further comprising:
And sharpening the certificate photo subjected to the median filtering by adopting a weighted average difference method to obtain the certificate photo without the fixed grid watermark information.
4. a face verification method, comprising:
restoring the face information of the original certificate photo by adopting the method of any one of claims 1 to 3;
Acquiring actual face image information on site;
And carrying out face verification and judging whether the testimonies are uniform or not.
5. A processing device for removing grid watermark from identification photo, comprising:
the first acquisition unit is used for acquiring a certificate photo to be subjected to face identification authentication, and a fixed grid watermark covers a face on the certificate photo;
the second acquisition unit is used for acquiring a fixed grid watermark template, and the fixed grid watermark template is generated by a watermark analysis image processing algorithm based on a plurality of certificate photographs with the fixed grid watermarks;
The grid watermark removing unit is used for removing the fixed grid watermark from the certificate photo to be subjected to the face identification authentication through the fixed grid watermark template, and restoring the face information of the original certificate photo;
the said fixed grid watermark includes the fixed grid watermark lines used for playing the anti-counterfeiting function and the character lines used for playing the identification function, the said processing unit also includes the generating element used for producing the watermark template of said fixed grid, the said generating element includes:
the first generation module is used for averaging the superposed pixels of a plurality of identification photos with the fixed grid watermarks to generate an average fixed grid photo;
a second generation module, configured to manually trace the fixed-grid watermark lines and the character lines on the average fixed-grid photo respectively to generate a first average fixed-grid template drawing and a second average fixed-grid template drawing;
a third generating module, configured to combine the first average fixed grid template drawing and the second average fixed grid template drawing to generate a full watermark average fixed grid template drawing;
and the fourth generation module is used for extracting a fixed grid watermark binarization template from the full watermark average fixed grid template picture.
6. The device for processing grid watermark removal of identification photo according to claim 5,
and the grid watermark removing unit removes the fixed grid watermark information on the certificate photo by adopting a median filtering method.
7. the device for processing the identification photo to remove the grid watermark according to claim 6,
the processing apparatus further comprises: and the sharpening processing unit is used for sharpening the certificate photo subjected to the median filtering processing by adopting a weighted average difference method to obtain the certificate photo without the fixed grid watermark information.
8. a face authentication apparatus, comprising: restoring the face information of the original certificate photo by using the processing device as claimed in any one of claims 5 to 7; further comprising:
the face image acquisition unit is used for acquiring the actual face image information on site;
and the face authentication unit is used for carrying out face verification and judging whether the testimonies are uniform or not.
CN201611015748.4A 2016-11-18 2016-11-18 method and device for removing grid watermark from certificate photo and method and device for verifying human face Active CN106709866B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611015748.4A CN106709866B (en) 2016-11-18 2016-11-18 method and device for removing grid watermark from certificate photo and method and device for verifying human face

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611015748.4A CN106709866B (en) 2016-11-18 2016-11-18 method and device for removing grid watermark from certificate photo and method and device for verifying human face

Publications (2)

Publication Number Publication Date
CN106709866A CN106709866A (en) 2017-05-24
CN106709866B true CN106709866B (en) 2019-12-13

Family

ID=58940942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611015748.4A Active CN106709866B (en) 2016-11-18 2016-11-18 method and device for removing grid watermark from certificate photo and method and device for verifying human face

Country Status (1)

Country Link
CN (1) CN106709866B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107424131B (en) * 2017-07-14 2019-11-12 智慧眼科技股份有限公司 Image based on deep learning removes grid method and device
CN107798649A (en) * 2017-09-05 2018-03-13 北京五八信息技术有限公司 The recognition methods of picture and device
CN108550099B (en) * 2018-04-13 2022-03-01 北京焦点新干线信息技术有限公司 Method and device for removing watermark in image
CN108805789B (en) * 2018-05-29 2022-06-03 厦门市美亚柏科信息股份有限公司 Method, device and equipment for removing watermark based on antagonistic neural network and readable medium
CN108810618B (en) * 2018-06-29 2021-02-05 北京奇虎科技有限公司 Method and device for identifying watermark in video and electronic equipment
CN108810619B (en) * 2018-06-29 2021-03-26 北京奇虎科技有限公司 Method and device for identifying watermark in video and electronic equipment
CN109089042B (en) * 2018-08-30 2020-12-15 Oppo广东移动通信有限公司 Image processing mode identification method and device, storage medium and mobile terminal
CN110767158B (en) 2019-03-29 2020-10-27 昆山国显光电有限公司 Display device, display panel thereof and pixel driving circuit of display panel
CN110827189B (en) * 2019-11-01 2023-12-05 山东浪潮科学研究院有限公司 Watermark removing method and system for digital image or video
CN111008925A (en) * 2019-12-11 2020-04-14 京东数字科技控股有限公司 Certificate watermark verification method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005615A (en) * 2006-01-18 2007-07-25 华中科技大学 Embedding and detecting method and system for image data watermark information
CN101035186A (en) * 2006-01-20 2007-09-12 株式会社东芝 Apparatus and method for detecting digital watermark
CN105930797A (en) * 2016-04-21 2016-09-07 腾讯科技(深圳)有限公司 Face verification method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005615A (en) * 2006-01-18 2007-07-25 华中科技大学 Embedding and detecting method and system for image data watermark information
CN101035186A (en) * 2006-01-20 2007-09-12 株式会社东芝 Apparatus and method for detecting digital watermark
CN105930797A (en) * 2016-04-21 2016-09-07 腾讯科技(深圳)有限公司 Face verification method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于图像局部特征的康复机器人目标识别方法研究;聂海涛;《中国博士学位论文全文数据库信息科技辑》;20150915;第I138-67页 *

Also Published As

Publication number Publication date
CN106709866A (en) 2017-05-24

Similar Documents

Publication Publication Date Title
CN106709866B (en) method and device for removing grid watermark from certificate photo and method and device for verifying human face
Raghunandan et al. Riesz fractional based model for enhancing license plate detection and recognition
CN108229526B (en) Network training method, network training device, image processing method, image processing device, storage medium and electronic equipment
Tang et al. Median filtering detection of small-size image based on CNN
Kang et al. Robust median filtering forensics using an autoregressive model
JP6255486B2 (en) Method and system for information recognition
CN102956029B (en) Image processing apparatus and image processing method
CN104598933A (en) Multi-feature fusion based image copying detection method
CN112669515B (en) Bill image recognition method and device, electronic equipment and storage medium
CN111259891B (en) Method, device, equipment and medium for identifying identity card in natural scene
CN112528998B (en) Certificate image processing method and device, electronic equipment and readable storage medium
CN105320952A (en) OCR based identification method for driving license information
CN111931783A (en) Training sample generation method, machine-readable code identification method and device
CN107657251A (en) Determine the device and method of identity document display surface, image-recognizing method
Gupta et al. A simplistic global median filtering forensics based on frequency domain analysis of image residuals
CN110378351B (en) Seal identification method and device
Wang et al. Fourier-residual for printer identification
CN110598704B (en) License plate recognition non-inductive payment system based on deep learning
Kanawade et al. Review of offline signature verification and recognition system
CN111582115A (en) Financial bill processing method, device and equipment and readable storage medium
CN111462388A (en) Bill inspection method and device, terminal equipment and storage medium
CN111027545A (en) Card picture mark detection method and device, computer equipment and storage medium
CN110428264A (en) Fake method, device, equipment and medium are tested in identification based on dot matrix screen antifalsification label
CN107145883A (en) Method for text detection and equipment
CN111797922B (en) Text image classification method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100097 Beijing Haidian District Kunming Hunan Road 51 C block two floor 207.

Applicant after: BEIJING ATHENA EYES SCIENCE & TECHNOLOGY CO.,LTD.

Address before: 100193 4, 403, block A, 14 building, 10 East North Road, Haidian District, Beijing.

Applicant before: BEIJING ATHENA EYES SCIENCE & TECHNOLOGY CO.,LTD.

CB02 Change of applicant information
CB02 Change of applicant information

Address after: 410205 14 Changsha Zhongdian Software Park Phase I, 39 Jianshan Road, Changsha High-tech Development Zone, Yuelu District, Changsha City, Hunan Province

Applicant after: Wisdom Eye Technology Co.,Ltd.

Address before: 100097 2nd Floor 207, Block C, 51 Hunan Road, Kunming, Haidian District, Beijing

Applicant before: BEIJING ATHENA EYES SCIENCE & TECHNOLOGY CO.,LTD.

GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Method and device for removing grid watermark from ID photos, face verification method and device

Effective date of registration: 20221205

Granted publication date: 20191213

Pledgee: Agricultural Bank of China Limited Hunan Xiangjiang New Area Branch

Pledgor: Wisdom Eye Technology Co.,Ltd.

Registration number: Y2022430000107

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20231220

Granted publication date: 20191213

Pledgee: Agricultural Bank of China Limited Hunan Xiangjiang New Area Branch

Pledgor: Wisdom Eye Technology Co.,Ltd.

Registration number: Y2022430000107

CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: No. 205, Building B1, Huigu Science and Technology Industrial Park, No. 336 Bachelor Road, Bachelor Street, Yuelu District, Changsha City, Hunan Province, 410000

Patentee after: Wisdom Eye Technology Co.,Ltd.

Address before: 410205 building 14, phase I, Changsha Zhongdian Software Park, No. 39, Jianshan Road, Changsha high tech Development Zone, Yuelu District, Changsha City, Hunan Province

Patentee before: Wisdom Eye Technology Co.,Ltd.