CN111091126A - Certificate image reflection detection method, device, equipment and storage medium - Google Patents

Certificate image reflection detection method, device, equipment and storage medium Download PDF

Info

Publication number
CN111091126A
CN111091126A CN201911275684.5A CN201911275684A CN111091126A CN 111091126 A CN111091126 A CN 111091126A CN 201911275684 A CN201911275684 A CN 201911275684A CN 111091126 A CN111091126 A CN 111091126A
Authority
CN
China
Prior art keywords
reflection
certificate
certificate image
image
designated
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.)
Pending
Application number
CN201911275684.5A
Other languages
Chinese (zh)
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.)
JD Digital Technology Holdings Co Ltd
Original Assignee
JD Digital Technology Holdings 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 JD Digital Technology Holdings Co Ltd filed Critical JD Digital Technology Holdings Co Ltd
Priority to CN201911275684.5A priority Critical patent/CN111091126A/en
Publication of CN111091126A publication Critical patent/CN111091126A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/25Determination of region of interest [ROI] or a volume of interest [VOI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/60Type of objects
    • G06V20/62Text, e.g. of license plates, overlay texts or captions on TV images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Image Processing (AREA)

Abstract

The application relates to a method, a device, equipment and a storage medium for detecting the reflection of light of a certificate image, wherein the method comprises the following steps: acquiring a certificate image; positioning N designated areas in the certificate image, wherein N is an integer greater than or equal to 1; respectively determining the reflection degree of each designated area, and determining the reflection detection result of the certificate image according to the reflection degree of each designated area; and when the reflection detection result is passed, transmitting the certificate image to a server for verification. The method and the device are used for solving the problem that the element information of the certificate cannot be identified due to the reflection of the certificate image, so that extra operation time and complexity are increased, and the acquisition time is prolonged.

Description

Certificate image reflection detection method, device, equipment and storage medium
Technical Field
The present application relates to the field of image processing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for detecting reflection of a certificate image.
Background
With the popularization of the internet and the development of technology, the handling of many businesses in the industries such as securities, banks, insurance and the like can be gradually realized on terminal equipment (such as VTM, mobile phone and the like), and at present, the most common businesses are internet banking, mobile phone banking and the like. These services are regulated to be handled by "the client holds his own valid certificate".
If the user transacts the counter of a business outlet in a traditional way, the user is required to transact the counter by holding the valid certificate of the user, and the counter staff verifies the identity of the user on site. If the services are moved to the terminal equipment, the main problem is the verification of the identity of the client, namely how to determine that the client holds the valid certificate of the client himself. The above process requires two stages of verification: identity card information verification and identity verification. For identity card verification, a common method at present is to make a client respectively shoot images of the front and back sides of an identity card and a face image, and then transmit the images to a background auditor for manual audit (aiming at all identity cards).
In the process of acquiring the identity card, the terminal shoots images of the front side and the back side of the identity card and uploads the images to the background server, and when the background server performs Optical Character Recognition (OCR), the situation that the images cannot be recognized due to reflection of light is often encountered, and the terminal needs to acquire the image of the identity card again and upload the image until the background server can recognize the image element information.
Disclosure of Invention
The application provides a certificate image reflection detection method, device, equipment and storage medium, which are used for solving the problems that the certificate element information cannot be identified due to the reflection of the certificate image, extra operation time and complexity are increased, and the acquisition time is prolonged.
In a first aspect, an embodiment of the present application provides a method for detecting reflection of a document image, including:
acquiring a certificate image;
positioning N designated areas in the certificate image, wherein N is an integer greater than or equal to 1;
respectively determining the reflection degree of each designated area, and determining the reflection detection result of the certificate image according to the reflection degree of each designated area;
and when the reflection detection result is passed, transmitting the certificate image to a server for verification.
Optionally, locating N designated areas in the document image includes:
positioning the position of the reference feature in the document image;
and positioning the N designated areas in the certificate image according to the relative positions of the N designated areas and the reference features.
Optionally, the N designated areas include: a character area, a head portrait area and a certificate number area;
the reference features are face features in the certificate image, or positions of certificate borders in the certificate image, or four intersection positions of the certificate borders in the certificate image.
Optionally, determining a reflection detection result of the document image according to the reflection degree of each designated area, including:
respectively carrying out the following processing on each designated area: judging whether the light reflection degree of the specified area is larger than a light reflection degree threshold corresponding to the specified area or not, and obtaining a judgment result;
and if the judgment result of each designated area is negative, determining that the reflection detection result of the certificate image is passed, and if the judgment result of at least one designated area is positive, determining that the reflection detection result of the certificate image is not passed.
Optionally, after determining that the reflection detection result of the document image does not pass, the method further includes:
and if the obtained reflection detection results of the certificate images do not pass within the preset time, increasing the reflection threshold values corresponding to the N designated areas respectively.
Optionally, increasing the reflectivity threshold corresponding to each of the N designated areas includes:
and acquiring the minimum value of the reflectances of the certificate images acquired within the preset time, and increasing the reflectances threshold values corresponding to the N designated areas according to the minimum value.
Optionally, increasing, according to the minimum value, a reflectivity threshold corresponding to each of the N designated areas includes:
if the difference value between the minimum value and the corresponding light reflection threshold value of each of the N designated areas is smaller than a set threshold value, taking the minimum value as the corresponding light reflection threshold value of each of the N designated areas;
and if at least one of the difference values between the minimum value and the light reflection threshold values corresponding to the N designated areas is not smaller than a set threshold value, increasing the light reflection threshold values corresponding to the N designated areas by preset values respectively.
In a second aspect, an embodiment of the present application provides a device for detecting reflection of a document image, including:
the acquisition module is used for acquiring a certificate image;
the positioning module is used for positioning N designated areas in the certificate image, wherein N is an integer greater than or equal to 1;
the processing module is used for respectively determining the reflection degree of each designated area and determining the reflection detection result of the certificate image according to the reflection degree of each designated area;
and the verification module is used for transmitting the certificate image to a server for verification when the reflection detection result is passed.
In a third aspect, an embodiment of the present application provides an electronic device, including: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory for storing a computer program;
the processor is configured to execute the program stored in the memory, so as to implement the electronic device according to the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and the computer program, when executed by a processor, implements the electronic device according to the first aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages: according to the method provided by the embodiment of the application, after the certificate image is acquired, the N designated areas in the certificate image are located, the reflection detection result of the whole certificate image is determined through the reflection degree of the N designated areas, so that the reflection detection of the certificate image can be carried out before the certificate image is verified, the problem that the certificate element information cannot be identified during verification due to the reflection of the certificate image is avoided, extra operation time and complexity are increased, the acquisition time is prolonged, and the verification efficiency is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
FIG. 1 is a schematic flow chart of a method for detecting the reflection of a document image according to an embodiment of the present disclosure;
FIG. 2 is a schematic view of the image reflection detection device of the document in the embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the embodiment of the application, in order to avoid certificate image reflection failure caused by the fact that certificate image verification is failed when the certificate image reflection is transmitted to a background server for verification, re-acquisition is needed, and acquisition duration is prolonged, a certificate image reflection detection method is provided, so that before the certificate image is transmitted to the background server, reflection degree detection is carried out on the certificate image, verification passing probability is improved, repeated acquisition probability is reduced, and acquisition duration is shortened.
The certificate image reflection detection method provided by the embodiment of the application can be executed by any electronic equipment, particularly certificate image acquisition equipment, such as a mobile phone and other intelligent terminals.
As shown in fig. 1, the specific process of detecting the reflection of the document image in the embodiment of the present application is as follows:
step 101, certificate images are acquired.
In a specific embodiment, a mobile phone is taken as an example to describe the acquisition process of the certificate image: the mobile phone client displays a guide frame for acquiring a certificate image on a screen; the mobile phone client prompts a user to enable the front side of the certificate to face a rear camera of the mobile phone client through voice or characters, and the certificate image is placed in the guide frame; adjusting the shooting posture, completely placing the whole certificate image in the guide frame, aligning the certificate image with each corner of each side of the guide frame as much as possible, and ensuring that the brightness and the fuzziness are bright and clear enough; and the mobile phone client collects the image in the guide frame to obtain the front image of the certificate. Of course, the certificate image may also be acquired by an intelligent terminal such as a computer or a tablet, which is not listed here.
And 102, positioning N designated areas in the certificate image, wherein N is an integer greater than or equal to 1.
In one embodiment, the location of a reference feature in an image of a document is located; and positioning the N designated areas in the certificate image according to the relative positions of the N designated areas and the reference features.
The N designated areas may be areas where important information is located in the certificate information collection process. Specifically, N designated regions include: a text area, a head portrait area, a certificate number area, and the like.
For example, the N designated areas include areas where the Thai and English descriptions of the Thai ID card are located, text areas such as a card number, a first name and a last name of a card holder, a birth date, a card issuing department, official signatures and the like, and also include a face area in the Thai ID.
The reference feature can be a feature that is easily recognized in the document image, for example, the reference feature is a facial feature in the document image, or a position of a document frame in the document image, or four intersection positions of the document frame in the document image.
For example, after a certificate frame in the certificate image is detected, the text area in the certificate image is determined according to the relative position of the text area in the actual certificate image and the certificate frame.
For example, after the face feature in the document image is detected, the region of the document image in which the face feature is located is extended by a set range according to the relative positional relationship between the head image region and the face feature, and the head image region can be obtained.
The face detection algorithm is adopted to detect the face features in the certificate image, and the face region is positioned according to the face features. For example, the face features are detected using a Haar Cascade (Haar Cascade), Dlib algorithm, or mtcnn (Multi-task Cascade connected Networks) algorithm, etc.
For another example, the positions of 4 intersection points of the certificate frame in the certificate image are mapped to a standard certificate template through homography (homography), and then each preset designated area is respectively intercepted.
In one embodiment, the reference feature may also be a center position of the capture frame, i.e., a center position of the captured document image. For example, when the document image is a Thailand identity card, the central position of the document image is taken as the center, a certain proportion is expanded, and the area covered by the expansion is taken as a character area on the assumption that the certain proportion (10% -40%) of the area occupied by the whole collection frame is expanded.
And 103, respectively determining the reflection degree of each designated area, and determining the reflection detection result of the certificate image according to the reflection degree of each designated area.
In a specific embodiment, the following processing is performed for each designated area respectively: and judging whether the light reflectivity of the designated area is greater than a light reflectivity threshold corresponding to the designated area or not, and obtaining a judgment result. And if the judgment result of each designated area is negative, determining that the reflection detection result of the certificate image is passed, and if the judgment result of at least one designated area is positive, determining that the reflection detection result of the certificate image is not passed.
For example, the dense character area and the head portrait area in the identity card image are simultaneously positioned, whether the reflection degree of the dense character area is lower than a first reflection degree threshold value or not is judged, and whether the reflection degree of the head portrait area is lower than a second reflection degree threshold value or not is judged, and if the judgment results of the dense character area and the head portrait area are both yes, it is determined that the reflection degree of the identity card image as a whole meets the requirement.
Wherein, different reflectivities threshold values are set for different designated areas as required.
In a specific embodiment, after the reflection detection result of the certificate image is determined to be failed, if the obtained reflection detection result of the certificate image is failed within the preset time length, the reflection threshold values corresponding to the N designated areas are increased. In this embodiment, if the document image whose reflection degree meets the requirement is not screened within the preset duration, the setting of the reflection degree threshold may be too severe, and a degradation measure is adopted to increase the reflection degree threshold, so that the document image for verification can be obtained, and the influence on user experience caused by the fact that the document image cannot be acquired for a long time is avoided.
There are various ways to increase the reflectance threshold, and two of them are described below;
in the first mode, each reflectivity threshold value is directly increased by a preset value, or the set proportion of the original value is increased.
And secondly, acquiring the minimum value of the reflectances of the certificate images acquired within the preset time, and increasing the reflectances threshold values corresponding to the N designated areas according to the minimum value.
Specifically, under the condition that the reflection degrees of the certificate images acquired within the preset time period do not meet the requirement, if the difference between the minimum value of the reflection degrees in the certificate images acquired within the preset time period and the reflection degree threshold values corresponding to the N designated areas is smaller than the set threshold value, the minimum value is used as the reflection degree threshold value corresponding to the N designated areas.
If at least one of the difference values between the minimum value and the light reflection threshold values corresponding to the N designated areas is not smaller than the set threshold value, the light reflection threshold values corresponding to the N designated areas are increased by preset values respectively.
In the first mode or the second mode, after the preset value is added to the reflectivity threshold value, if the certificate image with the reflectivity meeting the requirement is not detected within a certain time, the preset value is added to the reflectivity threshold value continuously until the certificate image with the reflectivity meeting the requirement is detected. Or after the preset proportion of the original value is added to the reflectivity threshold, if the certificate image with the reflectivity meeting the requirement is not detected within a certain time, the preset proportion of the original value is added to the reflectivity threshold, and the process is continued until the certificate image with the reflectivity meeting the requirement is detected.
After the reflectivity threshold is adjusted, the reflectivity of the subsequently acquired certificate images is compared with the adjusted reflectivity threshold.
In one embodiment, the specific calculation process of the reflectivity of the designated area is as follows: the acquired certificate image is scaled to a preset size, and the image of the designated area is converted into a gray scale image; traversing each pixel in the gray-scale map, and performing the following processing on each pixel: if the gray-scale value of the pixel is greater than the gray-scale threshold value, or if the value of at least one of the R, G, B three components of the pixel is greater than a specified value, marking the pixel as an exposed pixel; traversing the whole gray-scale image to obtain an exposure binary image of the marked exposure pixels; performing morphological closing operation on the exposure binary image to obtain a plurality of exposure areas; and obtaining the outlines of the multiple exposure areas, filtering the exposure areas with the pixel number less than 100, adding the areas of the residual exposure areas to obtain a total area, calculating the proportion of the total area to the area of the whole designated area, and taking the proportion as the value of the light reflectivity.
And 104, transmitting the certificate image to a server for verification when the reflection detection result is passed.
Specifically, after the verification result returned by the server is obtained, if the verification result indicates that the verification is passed, the certificate image acquisition process is ended.
In the embodiment of the application, after acquiring the certificate image, N designated areas in the certificate image are located, the reflection detection result of the whole certificate image is determined through the reflection degree of the N designated areas, so that before the certificate image is verified, reflection detection is performed on the certificate image, the problem that certificate element information cannot be identified when verification is performed due to reflection of the certificate image is avoided, extra operation time and complexity are increased, the problem that the acquisition time is long is solved, and the verification efficiency is improved.
Based on the same concept, the embodiment of the present application provides a device for detecting the reflection of a document image, and the specific implementation of the device can refer to the description of the embodiment of the method, and the repeated parts are not repeated, as shown in fig. 2, the device mainly includes:
an acquisition module 201, configured to acquire a certificate image;
a positioning module 202, configured to position N designated areas in the certificate image, where N is an integer greater than or equal to 1;
the processing module 203 is configured to determine the reflectivity of each designated area, and determine a reflectivity detection result of the certificate image according to the reflectivity of each designated area;
and the verification module 204 is configured to transmit the certificate image to a server for verification when the reflection detection result is that the reflection detection result passes.
In a specific embodiment, the positioning module 202 is specifically configured to: positioning the position of the reference feature in the document image; and positioning the N designated areas in the certificate image according to the relative positions of the N designated areas and the reference features.
In a specific embodiment, the N designated areas include: a character area, a head portrait area and a certificate number area; the reference features are face features in the certificate image, or positions of certificate borders in the certificate image, or four intersection positions of the certificate borders in the certificate image.
In a specific embodiment, the processing module 203 is specifically configured to: respectively carrying out the following processing on each designated area: judging whether the light reflection degree of the specified area is larger than a light reflection degree threshold corresponding to the specified area or not, and obtaining a judgment result; and if the judgment result of each designated area is negative, determining that the reflection detection result of the certificate image is passed, and if the judgment result of at least one designated area is positive, determining that the reflection detection result of the certificate image is not passed.
In a specific embodiment, the processing module 203 is further configured to: and after the reflection detection result of the certificate image is determined to be not passed, if the obtained reflection detection results of the certificate image are not passed within a preset time, increasing the reflection threshold values corresponding to the N designated areas respectively.
In a specific embodiment, the processing module 203 is specifically configured to: and acquiring the minimum value of the reflectances of the certificate images acquired within the preset time, and increasing the reflectances threshold values corresponding to the N designated areas according to the minimum value.
In a specific embodiment, the processing module 203 is specifically configured to: if the difference value between the minimum value and the corresponding light reflection threshold value of each of the N designated areas is smaller than a set threshold value, taking the minimum value as the corresponding light reflection threshold value of each of the N designated areas; and if at least one of the difference values between the minimum value and the light reflection threshold values corresponding to the N designated areas is not smaller than a set threshold value, increasing the light reflection threshold values corresponding to the N designated areas by preset values respectively.
Based on the same concept, an embodiment of the present application further provides an electronic device, as shown in fig. 3, the electronic device mainly includes: a processor 301, a communication interface 302, a memory 303 and a communication bus 304, wherein the processor 301, the communication interface 302 and the memory 303 communicate with each other via the communication bus 304. Wherein, the memory 303 stores programs that can be executed by the processor 301, and the processor 301 executes the programs stored in the memory 303, implementing the following steps: acquiring a certificate image; positioning N designated areas in the certificate image, wherein N is an integer greater than or equal to 1; respectively determining the reflection degree of each designated area, and determining the reflection detection result of the certificate image according to the reflection degree of each designated area; and when the reflection detection result is passed, transmitting the certificate image to a server for verification.
The communication bus 304 mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus 304 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 3, but this does not mean only one bus or one type of bus.
The communication interface 302 is used for communication between the above-described electronic apparatus and other apparatuses.
The Memory 303 may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Alternatively, the memory may be at least one memory device located remotely from the processor 301.
The Processor 301 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like, and may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic devices, discrete gates or transistor logic devices, and discrete hardware components.
In yet another embodiment of the present application, there is also provided a computer-readable storage medium having stored therein a computer program which, when run on a computer, causes the computer to execute the method of detecting the image glint of a document described in the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wirelessly (e.g., infrared, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more of the available media. The available media may be magnetic media (e.g., floppy disks, hard disks, tapes, etc.), optical media (e.g., DVDs), or semiconductor media (e.g., solid state drives), among others.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for detecting the reflection of a certificate image is characterized by comprising the following steps:
acquiring a certificate image;
positioning N designated areas in the certificate image, wherein N is an integer greater than or equal to 1;
respectively determining the reflection degree of each designated area, and determining the reflection detection result of the certificate image according to the reflection degree of each designated area;
and when the reflection detection result is passed, transmitting the certificate image to a server for verification.
2. The method of claim 1, wherein locating N designated areas in the document image comprises:
positioning the position of the reference feature in the document image;
and positioning the N designated areas in the certificate image according to the relative positions of the N designated areas and the reference features.
3. The method of claim 2, wherein the N designated areas include: a character area, a head portrait area and a certificate number area;
the reference features are face features in the certificate image, or positions of certificate borders in the certificate image, or four intersection positions of the certificate borders in the certificate image.
4. The method for detecting the reflection of the document image according to any one of claims 1 to 3, wherein determining the reflection detection result of the document image according to the reflection degree of each designated area comprises:
respectively carrying out the following processing on each designated area: judging whether the light reflection degree of the specified area is larger than a light reflection degree threshold corresponding to the specified area or not, and obtaining a judgment result;
and if the judgment result of each designated area is negative, determining that the reflection detection result of the certificate image is passed, and if the judgment result of at least one designated area is positive, determining that the reflection detection result of the certificate image is not passed.
5. The method of claim 4, wherein after determining that the detection of the image of the document does not pass, the method further comprises:
and if the obtained reflection detection results of the certificate images do not pass within the preset time, increasing the reflection threshold values corresponding to the N designated areas respectively.
6. The method of claim 5, wherein increasing the reflectance threshold corresponding to each of the N designated areas comprises:
and acquiring the minimum value of the reflectances of the certificate images acquired within the preset time, and increasing the reflectances threshold values corresponding to the N designated areas according to the minimum value.
7. The method of claim 6, wherein increasing the reflectance threshold corresponding to each of the N designated areas according to the minimum value comprises:
if the difference value between the minimum value and the corresponding light reflection threshold value of each of the N designated areas is smaller than a set threshold value, taking the minimum value as the corresponding light reflection threshold value of each of the N designated areas;
and if at least one of the difference values between the minimum value and the light reflection threshold values corresponding to the N designated areas is not smaller than a set threshold value, increasing the light reflection threshold values corresponding to the N designated areas by preset values respectively.
8. A document image reflectance detection device, comprising:
the acquisition module is used for acquiring a certificate image;
the positioning module is used for positioning N designated areas in the certificate image, wherein N is an integer greater than or equal to 1;
the processing module is used for respectively determining the reflection degree of each designated area and determining the reflection detection result of the certificate image according to the reflection degree of each designated area;
and the verification module is used for transmitting the certificate image to a server for verification when the reflection detection result is passed.
9. An electronic device, comprising: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory for storing a computer program;
the processor, configured to execute the program stored in the memory, and implement the electronic device according to any one of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, implements the electronic device of any one of claims 1 to 7.
CN201911275684.5A 2019-12-12 2019-12-12 Certificate image reflection detection method, device, equipment and storage medium Pending CN111091126A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911275684.5A CN111091126A (en) 2019-12-12 2019-12-12 Certificate image reflection detection method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911275684.5A CN111091126A (en) 2019-12-12 2019-12-12 Certificate image reflection detection method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111091126A true CN111091126A (en) 2020-05-01

Family

ID=70396266

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911275684.5A Pending CN111091126A (en) 2019-12-12 2019-12-12 Certificate image reflection detection method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111091126A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111767787A (en) * 2020-05-12 2020-10-13 北京奇艺世纪科技有限公司 Method, device and equipment for judging front and back sides of identity card image and storage medium
CN112434687A (en) * 2020-12-01 2021-03-02 天冕信息技术(深圳)有限公司 Picture detection method, device, equipment and storage medium
CN113379713A (en) * 2021-06-23 2021-09-10 京东数科海益信息科技有限公司 Certificate image detection method and device
CN114813055A (en) * 2022-04-26 2022-07-29 岚图汽车科技有限公司 Windshield reflection testing method and device, electronic equipment and reading and storing medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184535A (en) * 2011-04-14 2011-09-14 西北工业大学 Method for detecting boundary of lane where vehicle is
CN102201061A (en) * 2011-06-24 2011-09-28 常州锐驰电子科技有限公司 Intelligent safety monitoring system and method based on multilevel filtering face recognition
CN104713497A (en) * 2015-03-13 2015-06-17 香港应用科技研究院有限公司 Phase shift calibration method, 3D shape detection method and system and projection system
CN107330433A (en) * 2017-05-17 2017-11-07 北京捷通华声科技股份有限公司 Image processing method and device
CN108133207A (en) * 2017-11-24 2018-06-08 阿里巴巴集团控股有限公司 The image of auxiliary items closes the method, apparatus and electronic equipment of rule
CN108875731A (en) * 2017-12-28 2018-11-23 北京旷视科技有限公司 Target identification method, device, system and storage medium
CN109035218A (en) * 2018-07-09 2018-12-18 武汉武大卓越科技有限责任公司 Pavement patching method for detecting area

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102184535A (en) * 2011-04-14 2011-09-14 西北工业大学 Method for detecting boundary of lane where vehicle is
CN102201061A (en) * 2011-06-24 2011-09-28 常州锐驰电子科技有限公司 Intelligent safety monitoring system and method based on multilevel filtering face recognition
CN104713497A (en) * 2015-03-13 2015-06-17 香港应用科技研究院有限公司 Phase shift calibration method, 3D shape detection method and system and projection system
CN107330433A (en) * 2017-05-17 2017-11-07 北京捷通华声科技股份有限公司 Image processing method and device
CN108133207A (en) * 2017-11-24 2018-06-08 阿里巴巴集团控股有限公司 The image of auxiliary items closes the method, apparatus and electronic equipment of rule
CN108875731A (en) * 2017-12-28 2018-11-23 北京旷视科技有限公司 Target identification method, device, system and storage medium
CN109035218A (en) * 2018-07-09 2018-12-18 武汉武大卓越科技有限责任公司 Pavement patching method for detecting area

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111767787A (en) * 2020-05-12 2020-10-13 北京奇艺世纪科技有限公司 Method, device and equipment for judging front and back sides of identity card image and storage medium
CN112434687A (en) * 2020-12-01 2021-03-02 天冕信息技术(深圳)有限公司 Picture detection method, device, equipment and storage medium
CN113379713A (en) * 2021-06-23 2021-09-10 京东数科海益信息科技有限公司 Certificate image detection method and device
CN113379713B (en) * 2021-06-23 2024-02-09 京东科技信息技术有限公司 Certificate image detection method and device
CN114813055A (en) * 2022-04-26 2022-07-29 岚图汽车科技有限公司 Windshield reflection testing method and device, electronic equipment and reading and storing medium

Similar Documents

Publication Publication Date Title
US11151369B2 (en) Systems and methods for classifying payment documents during mobile image processing
US12014350B2 (en) Systems and methods for mobile image capture and processing of documents
CN111091126A (en) Certificate image reflection detection method, device, equipment and storage medium
TWI701603B (en) Method, device and electronic equipment for image compliance of auxiliary articles
CN111126098B (en) Certificate image acquisition method, device, equipment and storage medium
CN108875731B (en) Target identification method, device, system and storage medium
KR20200118842A (en) Identity authentication method and device, electronic device and storage medium
CN111814785B (en) Invoice recognition method, training method of relevant model, relevant equipment and device
CN111191568A (en) Method, device, equipment and medium for identifying copied image
CN111008623A (en) Certificate image acquisition method, device, equipment and storage medium
CN111079687A (en) Certificate camouflage identification method, device, equipment and storage medium
CN113379713B (en) Certificate image detection method and device
CN111178347B (en) Ambiguity detection method, ambiguity detection device, ambiguity detection equipment and ambiguity detection storage medium for certificate image
JP7269897B2 (en) Data registration device, biometric authentication device, and data registration program
CN111768346A (en) Method, device and equipment for correcting back image of identity card and storage medium
CN111008925A (en) Certificate watermark verification method, device, equipment and storage medium
CN111768345A (en) Method, device and equipment for correcting back image of identity card and storage medium
CN111160093A (en) Method, device, equipment and storage medium for identifying certificate photo camouflage in certificate
US10984219B2 (en) Fingerprint processing with liveness detection
CN110929708A (en) Method, equipment and storage medium for identifying national flag in Thai identity card
CN111178346B (en) Text region positioning method, text region positioning device, text region positioning equipment and storage medium
US20240021016A1 (en) Method and system for identity verification
CN111046899A (en) Method, device and equipment for identifying authenticity of identity card and storage medium
US20230130990A1 (en) Reducing false detections in template-based classification of identity documents
CN109101947B (en) Portrait identification method, portrait identification device and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200501