Determination device, determination method, and program for determination device
The system improves the accuracy of determining information in identity verification documents by cutting out partial images, extracting line segments, and comparing them with templates, addressing issues of varying shooting conditions and angles.
Patent Information
- Application Number
- JP2023044671
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-20
- Publication Date
- 2024-10-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing technologies face challenges in accurately determining the presence or absence of information in the notes section of identity verification documents like driver's licenses due to varying shooting conditions and angles, leading to incorrect or failed determinations.
An image acquisition system that cuts out a partial image from the notes section of an identity verification card, extracts line segments, and compares them with a template image to determine the presence or absence of information, using geometric correction, brightness/color tone adjustment, and machine learning for improved accuracy.
Enhances the accuracy of determining the presence or absence of information in the notes section by effectively handling issues like partial image loss, hiding, or alteration, ensuring precise identification of additional notes.
Smart Images

Figure 2024134397000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a determination device, a determination method, and a program for the determination device for inspecting a personal identification card. [Background technology]
[0002] When applying via a network, an image of an identification document is submitted to confirm the identity of the person, and the back side of a driver's license, which is an identification document, is also inspected to confirm the identity. For example, Patent Document 1 discloses an electronic device that includes a first detection unit, a second detection unit, and a determination unit, in which the first detection unit detects a hyphen-shaped figure from an image of the back side of an obtained driver's license, the second detection unit detects a broken line formed by the hyphen-shaped figure from the image, and extends the broken line to a position of a black pixel that borders an area of continuous white pixels following the broken line, and the determination unit determines whether or not there is any description on the back side of the driver's license depending on whether or not there are N broken lines with the end points of the extended broken line arranged in a straight line. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2021-174370 A Summary of the Invention [Problem to be solved by the invention]
[0004] Incidentally, in an image captured by a mobile terminal device, the shooting conditions vary depending on the situation, such as the lighting condition, the angle, etc., and the state of the identification card of the subject of the photograph varies as well, such as dirt on the identification card and the presence or absence of writing in the remarks section on the back of the identification card. Therefore, in determining the presence or absence of writing in the remarks section on the back of a driver's license, which is an identification card, the above-mentioned conventional technology has caused problems such as incorrect determination or no determination being possible.
[0005] Therefore, the present invention has been made in consideration of the above-mentioned problems, and one example of the objective of the present invention is to provide a determination device, etc. that has improved accuracy in determining whether or not there is information written in the notes section of an identification card. [Means for solving the problem]
[0006] In order to solve the above problem, the invention described in claim 1 is characterized in that it comprises an image acquisition means for acquiring an image of a side of an identification card having a notes section where additional information can be added, a partial image cutting means for cutting out a partial image of the notes section from the image based on information of a standard pattern of the identification card, a line segment extraction means for extracting lines from the partial image, and a determination means for determining whether or not there is any writing in the notes section based on a comparison of the lines of the partial image and a template image of the notes section.
[0007] In addition, the invention described in claim 2 is characterized in that, in the judgment device described in claim 1, the judgment means judges whether or not there is any writing in the notes section based on a comparison between the partial image and a template image of the notes section.
[0008] Furthermore, the invention described in claim 3 is characterized in that, in the judgment device described in claim 1 or claim 2, the judgment means judges whether or not there is any writing in the notes column based on character recognition for the partial image.
[0009] The invention described in claim 4 is characterized in that it includes an image acquisition step in which an image acquisition means acquires an image of a side of a personal identification card having a notes section where additional information can be added, a partial image cut-out step in which a partial image cut-out means cuts out a partial image of the notes section from the image based on information of the standard pattern of the personal identification card, a line segment extraction step in which a line segment extraction means extracts lines from the partial image, and a determination step in which a determination means determines whether or not there is any writing in the notes section based on a comparison of the lines of the partial image and a template image of the notes section.
[0010] The invention described in claim 5 is characterized in that a computer is made to function as an image acquisition means for acquiring an image of a side of an identification card having a notes section where additional information can be added, a partial image cutting means for cutting out a partial image of the notes section from the image based on information of the standard pattern of the identification card, a line segment extraction means for extracting lines from the partial image, and a determination means for determining whether or not there is any information written in the notes section based on a comparison of the lines of the partial image and a template image of the notes section. Effect of the Invention
[0011] According to the present invention, a partial image of the notes section is cut out from the image of the identification card, the lines of the partial image are extracted, and the authenticity of the identification card is determined based on a comparison of the lines of the partial image and a template image of the notes section, thereby improving the determination of the notes section of the identification card and further improving the accuracy of determining whether or not there is information written in the notes section of the identification card. [Brief description of the drawings]
[0012] [Figure 1] 1 is a schematic diagram showing an example of a schematic configuration of a card judgment system according to an embodiment of the present invention. [Figure 2A] FIG. 2 is a schematic diagram showing an example of an identification card. [Figure 2B] FIG. 2 is a schematic diagram showing an example of an identification card. [Diagram 3] 2 is a block diagram showing an example of a schematic configuration of a server device in FIG. 1. [Figure 4] 13 is a flowchart showing an operation of the server device. [Diagram 5] FIG. 13 is a schematic diagram showing an example of an image of an identification card. [Figure 6] FIG. 13 is a schematic diagram showing an example of a remarks section on an identification card. [Figure 7] FIG. 13 is a schematic diagram showing an example of an image loss in the remarks section of an identification card. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an embodiment of the present invention will be described with reference to the drawings. Note that the embodiment described below is an embodiment in which the present invention is applied to a card judgment system.
[0014] [1. Overview of the card judgment system configuration and functions] (1.1 Configuration and Function of Card Judgment System) First, the configuration and general functions of a card judgment system according to an embodiment of the present invention will be described with reference to FIGS. 1 to 3. FIG.
[0015] Fig. 1 is a schematic diagram showing an example of the general configuration of a card judgment system 1 according to this embodiment. Fig. 2A is a schematic diagram showing an example of the front side of an identification card. Fig. 2B is a schematic diagram showing an example of the back side of an identification card.
[0016] As shown in FIG. 1, the card validation system 1 includes a management server device 10 that receives various applications and manages the validation of personal identification cards, and a mobile terminal device 20 that makes various applications.
[0017] The management server device 10, which is an example of a judgment device, is a server device managed by a company that accepts requests for various application forms for opening bank accounts and applying for credit cards, etc. An inspection terminal device (not shown) that inspects application documents is connected to the management server device 10 via a local area network or the like.
[0018] The mobile terminal device 20 is, for example, a mobile terminal device with a camera, such as a smartphone or tablet used by the applicant himself / herself. An application dedicated to applications is installed in the mobile terminal device 20.
[0019] The personal identification card is a driver's license, a driving history certificate, a My Number card, a card-type health insurance card, etc. The personal identification card is preferably a card having a predetermined thickness, such as made of plastic.
[0020] When the personal identification card is a driver's license, as shown in FIG. 2A, the front side of the driver's license 30 has the name 31 of the person, the date of birth, the address, the date of issue, the license number, the photograph 32, the issuer 33, and the official seal 34 of the issuer. These items are written in predetermined positions on the personal identification card. The issuer 33 is usually written in red characters. The official seal 34 is usually written in red characters in a red rectangular frame with rounded corners. The issuer 33 and the official seal 34 are examples of descriptions indicating the issuer. The driver's license 30 also has an upper side 30a, a lower side 30b, and a side 30c in the shorter direction. The corners 30d of the driver's license 30 are rounded.
[0021] As shown in Fig. 2B, the back side of the driver's license 30 has a remarks section 35 where additional information can be added. When there is a change in address, the new address is written in the remarks section 35 and a red official seal is affixed. The remarks section 35 has an outer frame line 35a and multiple lines 35b drawn in the longitudinal direction within the outer frame. The lines 35b are drawn with dashed lines.
[0022] The management server device 10 and each mobile terminal device 20 can transmit and receive data to and from each other via the network 3 using, for example, a communication protocol such as TCP / IP. Each mobile terminal device 20 is connected to the network 3 via, for example, a wireless base station 5 of a mobile communication network. The network 3 is constructed, for example, by a local area network, the Internet, a dedicated communication line (for example, a CATV (Community Antenna Television) line), a mobile communication network, a gateway, and the like.
[0023] (1.2 Configuration and Functions of Management Server Device 10) Next, the configuration and functions of the management server device 10 will be described with reference to FIG.
[0024] FIG. 3 is a block diagram showing an example of a schematic configuration of the management server device 10. As shown in FIG.
[0025] 3, the management server device 10 functioning as a computer includes a communication unit 11, a storage unit 12, a display unit 13, an operation unit 14, an input / output interface unit 15, and a control unit 16. The control unit 16 and the input / output interface unit 15 are connected via a system bus 17.
[0026] The communication section 11 is connected to the network 3 and controls the state of communication with each mobile terminal device 20 .
[0027] The storage unit 12 is configured, for example, with a hard disk drive, a silicon disk drive, etc., and stores various programs such as an operating system and a server program. Note that the various programs may be obtained, for example, from another server device, etc., via the network 3, or may be recorded on a recording medium and read via a drive device.
[0028] The storage unit 12 stores an identification card database including information on the pattern of description for each identification card, a database related to an application, a machine learning database, a database for managing customers who have requested applications, a database for managing applicants, etc. The storage unit 12 also stores various programs for image processing and OCR (Optical Character Recognition).
[0029] The identity verification card database stores information on the pattern of information written on each type of identity verification card, such as the relative positions of each item written on the identity verification card, such as name, date of birth, address, official seal, and remarks.
[0030] In the case of a driver's license 30, the database of information on the writing pattern for each identification card stores the position information of the fields for writing the driver's name 31, photograph 32, issuer 33, issuer's official seal 34, etc., as well as size information such as the thickness of the driver's license 30 and the length of each side.
[0031] Various template images are stored in the identification card database. Examples of the template images include a template image of the entire front side of the driver's license 30 with no written information, a template image of the entire back side, a template image of the issuer for each prefecture 33 and the official seal 34, etc., a template image of the remarks section, and a template image of only the line segments 35a and 35b in the remarks section. The identification card database stores text information of the issuer for each prefecture 33 and text information of the official seal 34.
[0032] Machine learning databases contain trained models. Deep learning, which has a multi-layer neural network structure, is one example of machine learning.
[0033] The display unit 13 is configured, for example, by a liquid crystal display element or an organic EL (Electro Luminescence) element, etc. The operation unit 14 is configured, for example, by a keyboard, a mouse, etc. The input / output interface unit 15 is configured to perform interface processing between the communication unit 11, etc. and the control unit 16.
[0034] The control unit 16 is composed of a CPU (Central Processing Unit), a ROM (Read Only Memory), a RAM (Random Access Memory), and the like.
[0035] [2. Operation of the card judgment system] Next, the operation of the card judgment system according to the embodiment of the present invention will be described with reference to the drawings. Note that the operation of inspecting the remarks column 35 of the driver's license 30 will be mainly described.
[0036] Fig. 4 is a flowchart showing the operation of the management server device 10. Fig. 5 is a schematic diagram showing an example of an identification card. Fig. 6 is a schematic diagram showing an example of a remarks section in an identification card. Fig. 7 is a schematic diagram showing an example of an image loss in the remarks section in an identification card.
[0037] First, the applicant downloads in advance an application-specific app from the management server device 10 to the mobile terminal device 20. When making an application, the application-specific app is launched on the mobile terminal device 20. Following the instructions of the launched app, the applicant inputs application details such as his / her name, address, and telephone number.
[0038] At the stage of identity verification, the camera of the mobile terminal device 20 is activated. The driver's license 30 placed on a flat surface such as a desk is photographed from multiple angles by the camera of the mobile terminal device 20 according to the instructions of the app. For example, the applicant uses the camera of the mobile terminal device 20 to photograph the front side of the driver's license 30 from directly above and from an oblique direction with the bottom side 30b of the driver's license 30 in front. When photographed from an oblique direction, the thickness of the driver's license 30 in the thickness direction is photographed. The applicant also uses the camera of the mobile terminal device 20 to photograph the back side of the driver's license 30. As shown in FIG. 5, when the back side of the driver's license 30 is photographed from directly above, an image 40 or the like is captured.
[0039] The camera of the mobile terminal device 20 is also started, and according to the instructions of the app, a selfie of one's face is taken from multiple angles.
[0040] The mobile terminal device 20 transmits image data of the photographed driver's license 30 to the management server device 10 together with information on the front side, back side, and photographing direction in accordance with instructions from the app. The mobile terminal device 20 also transmits information on application items, a facial image, and the like to the management server device 10.
[0041] 4, the management server device 10 acquires an image (step S1). Specifically, the control unit 16 of the management server device 10 acquires image data of the driver's license 30 from the mobile terminal device 20 via the network 3. In this way, the management server device 10 functions as an example of an image acquisition means that acquires an image of a side of a plastic personal identification card that has a remarks section where additional information can be added.
[0042] Next, the management server device 10 performs geometric correction (step S2). Specifically, the control unit 16 of the management server device 10 refers to the personal identification card database in the storage unit 12, matches the image data of the image 40 with the template image of the driver's license 30, and converts the image into a state close to an image taken from the front. Methods of geometric correction include methods using local features such as SIFT (Scale-invariant feature transform) and AKAZE (Accelerated KAZE), and methods using line detection and rectangle detection. In addition, high-frequency components are removed from the image data of each image 40 by filtering using a Gaussian filter or the like. Note that noise removal processing may be performed before the geometric correction.
[0043] Next, the management server device 10 performs brightness and color correction (step S3). The control unit 16 of the management server device 10 performs brightness and color correction on the image data of each image 40. More specifically, the control unit 16 calculates a luminance histogram of the image 40 and corrects the brightness of the image 40. Furthermore, since the driver's license 30 has a large proportion of white areas, the outer frame of the driver's license 30 is identified, and color correction is performed using statistics such as the average value and median value of the image based on the white areas of the driver's license 30 in the image 40.
[0044] Next, the management server device 10 cuts out the target area (step S4). Specifically, the control unit 16 of the management server device 10 refers to the personal identification card database in the storage unit 12, and cuts out a partial image of the portion of the remarks section 35 from the image 40 of the back side of the driver's license 30 at an optimal position based on the fixed pattern of the template image, as the target area. To determine whether or not it is the optimal position, existing feature amounts such as lines and brightness values are used as feature amounts. Also, existing mathematical optimization methods such as gradient methods and metaheuristics are used to search for the optimal position.
[0045] If there is no entry in the remarks column 35, a partial image of the blank remarks column 35 is extracted, as shown in Fig. 6(a). If there is an entry in the remarks column 35, a partial image of the remarks column 35 with the changed address and the official seal affixed thereto is extracted, as shown in Fig. 6(b). After the target area is cut out, brightness and color correction may be performed on the target area in step S3.
[0046] Here, we will explain the case where the portion indicating the issuer of the identification card is missing or has other problems in the partial image of the remarks field 35 due to poor lighting, being covered by a finger, having a sticky note attached, or being erased with a marker. Fig. 7(a) shows a case where a finger covers the remarks field 35 when photographing, and part of the partial image of the remarks field 35 is hidden. Fig. 7(b) shows a case where a sticky note is attached to the remarks field 35. Fig. 7(c) shows a case where part of the partial image of the remarks field 35 is hidden due to lighting or other conditions. Fig. 7(d) shows a case where the remarks field 35 is filled in with a marker and characters have been erased by correction or the like. Fig. 7(e) shows a case where part of the remarks field 35 does not fit in the photograph and is cut off.
[0047] Next, the management server device 10 compares the lines (step S5). Specifically, the control unit 16 of the management server device 10 extracts line segments 35a of the solid line portion of the outer frame of the remarks field 35 and line segments 35b of the dashed line portion inside the remarks field 35 by a closing process or an opening process or the like from the partial image of the portion of the remarks field 35 that has been cut out, and generates a line segment image. Next, the control unit 16 adjusts the size of the generated line segment image according to the outer frame of the remarks field 35 of the cut out partial image, and compares it with a template image of only the lines of the remarks field, referring to the identification card database in the storage unit 12. If the degree of agreement of the lines is equal to or less than a predetermined value, it is determined that there is a problem such as a missing portion such as a cut-out or hidden portion.
[0048] Next, the management server device 10 compares the partial images (step S6). Specifically, the control unit 16 of the management server device 10 refers to the personal identification card database in the storage unit 12, calculates the similarity between the partial image cut out in step S4 and the template image in the remarks column, and compares them at the pixel level.
[0049] More specifically, the control unit 16 refers to the identification card database in the storage unit 12 and calculates the similarity between the cut-out partial image and the template image in the remarks field 35. The control unit 16 calculates the similarity using a histogram of statistics, a normalized correlation value of the image, a hash value, machine learning, etc. If the similarity is below a predetermined value, it is determined that there is a problem such as a missing part, such as a cut-off or hidden part.
[0050] Next, the control unit 16 refers to the identification card database in the storage unit 12, compares the template image of the remarks section 35 with the cut-out partial image of the remarks section 35 at a pixel level, and judges whether the similarity at the pixel level is equal to or higher than a predetermined level, and whether there is a defect such as cut-off, occlusion, or dirt. For example, the control unit 16 calculates the similarity at the pixel level between the partial image and the template image using a measure such as MSE (Mean Squared Error) or SSIM (structural similarity). In addition, the control unit 16 uses, for example, the technology disclosed in Japanese Patent No. 4844784 to generate a (reference-target) difference image, a (target-reference) difference image, an inspection target edge image, an inspection target edge expansion image, etc. from the template image as an inspection reference target image and a partial image such as the official seal 34 as an inspection target image, and detects defects.
[0051] It should be noted that the process of line segment comparison, the process of similarity such as correlation, and the process of pixel level comparison may be performed in any order. In addition, in the case of a defect that crosses a ruled line and there is little change in brightness as shown in Fig. 7(c), the process of line segment comparison is relatively easy to detect the defect. In the case of a defect that does not cross a ruled line as shown in Fig. 7(d), the process of similarity such as correlation and the process of pixel level comparison are relatively easy to detect the defect.
[0052] Next, the management server device 10 judges whether or not there is no loss (step S7). Specifically, the control unit 16 of the management server device 10 judges that the remarks column 35 indicates no loss when the line segment comparison process finds no loss, the similarity process such as correlation finds no loss, and the pixel level comparison process finds no loss.
[0053] If it is determined that there is no missing part (step S7: YES), the management server device 10 determines whether there is any writing (step S8). Specifically, the control unit 16 of the management server device 10 determines whether there is any character in the partial image of the remarks column 35 by OCR.
[0054] If it is determined that there is a missing part (step S7: NO), the management server device 10 performs processing for when there is a missing part (step S9). Specifically, the control unit 16 of the management server device 10 transmits image data of the driver's license 30 to the inspection terminal device. In the inspection terminal device, an inspection is carried out by a person or the like, and additional notes are read, etc. The inspection process of the remarks field 35 is completed. The management server device 10 receives the inspection results from the inspection terminal device.
[0055] If there is no entry (step S8: YES), the management server device 10 performs processing for when there is no entry (step S10). Specifically, the control unit 16 of the management server device 10 determines that there is no missing part in the remarks column 35 and that there is no entry in the remarks column 35, and the inspection processing of the remarks column 35 ends.
[0056] If there is information written in the document (step S8: NO), the management server device 10 performs processing for when there is information written in the document (step S11). Specifically, the control unit 16 of the management server device 10 transmits image data of the driver's license 30 to the inspection terminal device. In the inspection terminal device, an inspection is carried out by a person or the like, and additional information is read, etc. The inspection process of the remarks field 35 is completed. The management server device 10 receives the inspection results from the inspection terminal device.
[0057] When the inspection of the remarks column 35 is completed, the management server device 10 outputs the determination results such as the presence or absence of missing parts, and additional notes such as corrections to the address and name, to the display unit 13 or the like.
[0058] Furthermore, the management server device 10 judges whether the thickness of the driver's license 30 is appropriate from an image taken from an oblique direction with the bottom side 30b of the driver's license 30 facing forward. The management server device 10 judges whether the description indicating the issuer 33 and the issuer of the official seal 34 of the driver's license 30 are genuine from an image taken from directly above the front side of the driver's license 30.
[0059] Furthermore, the management server device 10 judges whether the issue number of the driver's license 30 can be confirmed, whether the date of birth on the driver's license 30 matches the date of birth on the application item, whether the name on the driver's license 30 matches the name on the application item, whether the address on the driver's license 30 matches the address on the application item, whether the driver's license 30 is within the expiration date based on the application date and time, whether the facial photograph on the driver's license 30 and the selfie image are of the same person, etc. Based on the results of these judgments, the management server device 10 makes a final judgment on the authenticity of the driver's license 30.
[0060] As described above, according to this embodiment, a partial image of remarks section 35 is cut out from image 40 of driver's license 30, which is an example of an identification card, and line segments 35a, 35b of the partial image are extracted. The presence or absence of information in the remarks section of the identification card is determined based on a comparison of the partial image and the line segments of a template image of remarks section 35. This improves the determination of remarks section 35 of driver's license 30, and further improves the accuracy of determining whether or not information is written in remarks section 35 of driver's license 30.
[0061] In cases where the text in the notes section 35 has been blacked out or where part of the notes section 35 has been hidden by a sticky note or the like, the notes section 35 has lines but no text, and so may be mistakenly determined to have no corrections. However, it is now possible to distinguish these cases as well.
[0062] In addition, when determining whether or not there is any information written in the remarks section 35 of the driver's license 30 based on a comparison between a partial image and a template image of the remarks section 35, in addition to comparing lines, the determination of whether or not there is any information written in the remarks section 35 of the driver's license 30 is improved by comparing images.
[0063] In addition, when determining the authenticity of the driver's license 30 based on character recognition of the partial image, it is possible to determine whether or not there is any additional information in the remarks section 35, further improving the accuracy of determining whether or not there is information in the remarks section 35 of the driver's license 30.
[0064] In addition, it is possible to distinguish between cases based on whether there is a missing part or an addition in the remarks section 35 of the driver's license 30, and to carry out further inspections according to each case, thereby further improving the efficiency of inspections of whether or not there is an entry in the remarks section 35 of the driver's license 30 and the accuracy of the judgment. [Explanation of symbols]
[0065] 1. Card Judgment System 10. Management server device (determination device) 20. Portable terminal device 30. Driver's license (identification card) 35...Remarks column 35a, 35b... Line segment 40...Images
Claims
1. an image acquisition means for acquiring an image of a face of the personal identification card having a remarks section where additional information can be added; a partial image cutting means for cutting out a partial image of the remarks column from the image based on information of the standard pattern of the personal identification card; A line segment extracting means for extracting line segments of the partial image; a determination means for determining whether or not the remarks section is filled in based on a comparison of lines between the partial image and a template image of the remarks section; A determination device comprising:
2. 2. The determination device according to claim 1, The determination device is characterized in that the determination means determines whether or not there is any writing in the remarks section by comparing the partial image with a template image of the remarks section.
3. 3. The determination device according to claim 1, The determination device is characterized in that the determination means determines whether or not there is any information in the remarks column based on character recognition of the partial image.
4. an image acquiring step in which an image acquiring means acquires an image of a side of the personal identification card having a remarks section where additional information can be added; a partial image cutting step in which a partial image cutting means cuts out a partial image of the remarks section from the image based on information of a standard pattern of the personal identification card; a line segment extraction step in which line segment extraction means extracts line segments from the partial image; a determination step in which a determination means determines whether or not there is an entry in the remarks section based on a comparison of a line segment between the partial image and a template image of the remarks section; A method for determining whether or not a particular
5. Computer, an image acquisition means for acquiring an image of a face of the personal identification card having a remarks section where additional information can be added; a partial image cutting means for cutting out a partial image of the remarks column from the image based on information of the fixed pattern of the personal identification card; a line segment extraction means for extracting line segments from the partial image; and A program for a judgment device, characterized in that it functions as a judgment means for determining whether or not there is any writing in the remarks section based on a comparison of lines between the partial image and a template image of the remarks section.
Citation Information
Patent Citations
Electronic device and program
JP2021174370A
