Determination method, determination program, and information processing device

By analyzing the positional relationship between a face image and surrounding shapes in multiple photographs, the method enhances the accuracy of determining if a photographed image is a display object or an actual person.

JP7552913B2Active Publication Date: 2024-09-18FUJITSU LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2023537789
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-07-27
Publication Date
2024-09-18
Estimated Expiration
2041-07-27

AI Technical Summary

Technical Problem

Existing methods for determining whether a photographed image is a photograph of an actual person or a display of a person, such as a photograph of a person or a display screen showing a person, suffer from insufficient judgment accuracy, particularly when the frame image representing the object is located around the face image, leading to erroneous determinations.

Method used

The method involves acquiring multiple images taken by a camera at different times, detecting the image area of a person's face and the positional relationship between this area and any surrounding shapes, and analyzing changes in this relationship across the images to determine if the face is a display object.

Benefits of technology

This approach significantly improves the accuracy of distinguishing between a photograph of a display object and an actual person by synchronizing the positional relationship between the face image area and surrounding linear areas across multiple images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007552913000005
    Figure 0007552913000005
  • Figure 0007552913000001
    Figure 0007552913000001
  • Figure 0007552913000010
    Figure 0007552913000010
Patent Text Reader

Abstract

In the present invention, a computer acquires a plurality of images which have been captured by a camera at different times. When the acquired plurality of images each include a person's face image region and an image region which is positioned outside the face image region and which has a shape satisfying predetermined conditions, the computer determines whether or not the person's face is a display. The computer performs this determination on the basis of the status of change in the positional relation between the face image region and the image region having the shape among the plurality of images.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a technique for judging an image. [Background technology]

[0002] Biometric authentication technology is a technology that uses biometric characteristics such as fingerprints, faces, veins, etc. When biometric authentication technology is used, the biometric characteristics acquired when confirmation is required are compared (matched) with biometric characteristics registered in advance, and identity verification is performed by determining whether the two match.

[0003] Facial recognition technology, one of the biometric authentication technologies, is attracting attention as a means of contactless identity verification. Facial recognition technology is used for a variety of purposes, including access management for personal devices such as personal computers (PCs) and smartphones, entrance and exit management, and identity verification at boarding gates at airports.

[0004] The facial image information used as a biometric feature in this facial recognition technology is different from the information used as a biometric feature in other biometric authentication technologies such as fingerprint authentication and palm vein authentication, and can be obtained by taking a picture with a general camera without using a special sensor. In addition, facial images are often made public on the Internet, such as on social networking services (SNS). For this reason, there is a concern that someone may impersonate a person by presenting a printed photo of a publicly available facial image or a smartphone screen displaying the facial image to a camera.

[0005] In response to this, several techniques have been proposed for determining whether an image captured by a camera is an image of an actual person, or an image of an object that represents a person, such as a photograph of the person or a display screen showing the person (see, for example, Patent Documents 1 to 5).

[0006] For example, a biometric discrimination device is known that discriminates whether an object from which biometric information (e.g., a face image) is acquired is a biometric or non-biometric object. This device acquires an image including the biometric information of the object, detects a biometric area (face area) from the acquired image, and compares the image features of the detected biometric area with the image features of the biometric area obtained when a normal object is present in a predetermined position. When the device determines that there is a difference between the two image features that is equal to or greater than a predetermined value as a result of this comparison, the device discriminates that the object is a non-biometric object. As another method, the device also discriminates that the object is a non-biometric object when it detects an object that surrounds the biometric area in a rectangular, curved, or polygonal shape in the background area around the face.

[0007] Also, for example, an identification card photographing system is known that can accurately and automatically correct the tilt distortion of an image of an identification card, thereby allowing the contents written on the identification card to be properly recognized. In this system, when a face is detected by face detection means in an image obtained by an imaging device, a photograph area is detected by photo detection means, and the aspect ratio of the image after tilt correction is corrected using the size of the photo obtained by the photo detection means.

[0008] Also, for example, a face recognition processing device that accurately detects spoofing during authentication is known. This device includes a face recognition unit, a frame detection unit, a placement determination unit, and a validity determination unit. The face recognition unit acquires a captured image of a target person, and detects the target person's face in an input image of the captured image. The frame detection unit detects a linear frame in the input image. The placement determination unit determines whether or not a frame surrounding the target person's face exists, using face position information acquired by face detection and frame position information acquired by frame detection. The validity determination unit determines the validity of the authentication result of the target person's face information based on the placement determination result of the frame.

[0009] Also, for example, a face authentication system is known that detects with high accuracy impersonation using an image that may be performed when authenticating a target person, and effectively prevents malicious third parties from committing fraud through impersonation. In this system, a flat panel detection unit inputs two captured images in which the same face image is captured by two imaging devices. Two face detection units detect the face images in the two captured images. A determination unit determines whether the two face images are flat based on feature points corresponding to the two face images and the two face images. A validity determination unit determines the validity of the face authentication result based on the determination result of whether the two face images are flat.

[0010] Also, a face authentication system is known that, for example, eliminates fraudulent acts using photographs or the like and prevents a decrease in convenience due to erroneous judgment of fraudulent acts. This system performs face authentication of a person passing through an authentication area adjacent to a controlled area, and includes an image acquisition means, a storage means, a face matching means, a scheme judgment means, and an authentication means. The storage means photographs the authentication area from the controlled area side and sequentially acquires face images including the face of a person. The storage means stores registered face images of users registered in advance. The face matching means matches the acquired face image with the registered face image. The scheme judgment means judges fraudulent acts when there is little change in the face image over time. The authentication means authenticates a person who matches the registered face image and has not been judged to be engaging in fraudulent acts as a user. In this system, the scheme judgment means judges that there is no fraudulent act when a change in a predetermined local area in the face image is detected.

[0011] In addition, as a technique used in image determination, for example, a technique for detecting an image area of ​​a human face from a captured image has been proposed (for example, see Non-Patent Document 1). [Prior art documents] [Patent documents]

[0012] [Patent Document 1] JP 2006-99614 A [Patent Document 2] JP 2011-9986 A [Patent Document 3] JP 2018-169943 A [Patent Document 4] JP 2019-197426 A [Patent Document 5] JP 2014-219703 A [Non-patent literature]

[0013] [Non-Patent Document 1] Kaipeng Zhang et al., "Joint Face Detection and Alignment using Multi-task Cascaded Convolutional Networks", IEEE Signal Processing Letters (SPL), Volume 23, Issue 10, Oct. 2016, p.1499-1503 Summary of the Invention [Problem to be solved by the invention]

[0014] When a determination is made based on a single captured image as to whether the captured image is an image of an actual person or an image of a person's display object, such as a photograph of the person or a display screen showing the person, sufficient determination accuracy may not be obtained. For example, in a captured image acquired at a certain point in time, even if the captured image is actually an image of an object in the background, an image of a frame representing the object may be positioned around a face image, leading to a false determination that the captured image is an image of an object.

[0015] According to one aspect, the present invention aims to improve the accuracy of determining whether or not a captured image is a photograph of an object of a person. [Means for solving the problem]

[0016] In one proposal, the computer acquires multiple images taken by a camera at different times. In each of the acquired multiple images, an image area of ​​a person's face and an image area outside the image area of ​​the face are identified. Line If the image area includes a face shape, the computer determines whether the object is a human face. line This is done based on the change in the positional relationship of the shape to the image region between multiple images. Effect of the Invention

[0017] According to one aspect, it is possible to improve the accuracy of determining whether or not a captured image is a photograph of an object of a person. [Brief description of the drawings]

[0018] [Figure 1] FIG. 1 is a diagram illustrating a configuration of an exemplary information processing device. [Diagram 2] 11A and 11B are diagrams illustrating a method for detecting a linear image area. [Diagram 3] 13 is an example of a captured image obtained by photographing a real person. [Figure 4] FIG. 2 illustrates an example of a hardware configuration of a computer. [Diagram 5] 11 is a flowchart showing the process of photographed image determination processing. [Figure 6] 13 is a flowchart showing the process of a line-shaped region detection process. [Figure 7] 13 is a flowchart showing the processing contents of a vertical direction area detection process. [Figure 8] 13 is a flowchart showing the contents of a horizontal direction area detection process. [Figure 9A] 13 is a flowchart (part 1) illustrating the process contents of the determination process. [Figure 9B] 13 is a second flowchart showing the contents of the determination process. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0019] Hereinafter, the embodiments will be described in detail with reference to the drawings.

[0020] 1 shows the configuration of an exemplary information processing device 1. This information processing device 1 judges whether an image captured by a camera 2 is obtained by capturing an actual person or an object representing the person.

[0021] The information processing device 1 includes an image acquisition unit 10, a first area detection unit 11, a second area detection unit 12, and a determination unit 13.

[0022] The image acquisition unit 10 acquires a plurality of images taken by the camera 2 at different times.

[0023] The first area detection unit 11 detects an image area of ​​a person's face in each of the multiple images acquired by the image acquisition unit 10. Note that several methods are known for detecting an image area of ​​a person's face from a captured image. The first area detection unit 11 may use any of these methods, and may use, for example, the method proposed in the above-mentioned Non-Patent Document 1.

[0024] The second area detection unit 12 detects an image area having a shape that satisfies a predetermined condition from the remaining area outside the image area of ​​the person's face in each of the multiple images acquired by the image acquisition unit 10.

[0025] The determination unit 13 determines whether or not a human face shown in a plurality of images acquired by the image acquisition unit 10 is an object. The determination unit 13 performs this determination based on a change in the positional relationship between the image area of ​​the face detected by the first area detection unit 11 and the image area of ​​the above-mentioned shape detected by the second area detection unit 12 between the plurality of images.

[0026] Next, a method for detecting a linear image region from an image region of a captured image will be described with reference to Fig. 2. This method is used by the second region detection unit 12 in the information processing device 1 in Fig. 1 to detect a linear image region as an image region having a shape that satisfies a predetermined condition.

[0027] In Figure 2, the example image shown as [A] is a photograph of a person's face (representation). Because photo paper bends easily, the edge of the photo frame, which should be straight, is curved in this example image.

[0028] In this technique, first, an edge strength map, in which the edge strength at each pixel position is expressed as the edge strength of each pixel, is generated from the captured image as an edge strength image.

[0029] In Fig. 2, [B] is an example of an edge strength image, which is for a region of 7 pixels vertically and horizontally (a region including part of the frame), which is a portion of the image [A] (a portion of the remaining region after excluding the face image region from the edge strength image of the photographed image). In this example of an edge strength image, the edge strength value for each pixel is displayed by arranging it at the position of each pixel.

[0030] Next, pixels constituting the linear image region are selected. In the following description, the pixels constituting the linear image region are referred to as "specific pixels." The selection of the specific pixels is performed according to the following procedure.

[0031] In the explanation of this procedure, in the edge intensity image of Fig. 2[B], the top pixel row (horizontally aligned pixel row) is referred to as the first pixel row, and the pixel row adjacent below the first pixel row is referred to as the second pixel row. Similarly, the third, fourth, fifth, and sixth pixel rows are defined below, and the bottom pixel row in this edge intensity image is referred to as the seventh pixel row.

[0032] First, a pixel having the maximum edge strength among the pixels in the first pixel row in the edge strength image is selected as the first specific pixel.

[0033] In the edge strength image of Fig. 2[B], the pixel with the maximum edge strength among the seven pixels constituting the first pixel row is the pixel with an edge strength value of "50." Therefore, this pixel is selected as the first specific pixel. Note that in Fig. 2[B], the position of the selected specific pixel is shaded.

[0034] Next, in the edge strength image, from the pixel row adjacent to the pixel row that was selected in the above-mentioned specific pixel selection (the pixel row that included the specific pixel), the pixel adjacent to the specific pixel and having the maximum edge strength is selected as the next specific pixel.

[0035] As described above, in the first pixel selection, a pixel with an edge strength value of "50" is selected as the specific pixel from the first pixel row to be selected in the edge strength image of FIG. 2[B]. Therefore, in this case, the pixel row adjacent to the pixel row to be selected in the selection of the specific pixel is the pixel row of the second row. Among the pixels included in this pixel row of the second row, the three pixels adjacent to the specific pixel are those with edge strength values ​​of "44," "67," and "38," respectively. Of these three adjacent pixels, the pixel with the greatest edge strength is the pixel with an edge strength value of "67," so this pixel is selected as the next specific pixel.

[0036] After the next specific pixel is selected in this manner, the above-described selection of the next specific pixel is repeated for each pixel column.

[0037] In the edge strength image of Fig. 2[B], when a specific pixel with an edge strength value of "67" is selected from the pixel row in the second column, the pixel row adjacent to the pixel row to be selected in the selection of the specific pixel is then the pixel row in the third column. Among the pixels included in the pixel row in the third column, the three pixels adjacent to the specific pixel are those with edge strength values ​​of "58," "40," and "27," respectively. Of these three pixels, the pixel with the greatest edge strength is the pixel with an edge strength value of "58," so this pixel is selected as the next specific pixel.

[0038] Thereafter, the same process is repeated to select the next specific pixel from each of the pixel columns in the fourth, fifth, sixth, and seventh columns, and by repeating this process, pixels with edge strength values ​​of "76", "64", "51", and "57", respectively, are selected as specific pixels from each of the pixel columns.

[0039] Next, an image area formed by a specific pixel group obtained by repeatedly selecting the specific pixels is detected in the edge strength image, thereby detecting a linear image area in the captured image.

[0040] As a result of the selection described above, pixels having edge strength values ​​of "50," "67," "58," "76," "64," "51," and "57," respectively, are selected as specific pixels from each of the pixel columns of the first to seventh examples in the edge strength image of Fig. 2[B]. A linear image area formed by a specific pixel group consisting of these specific pixels is detected from the captured image exemplified in Fig. 2[A].

[0041] In Fig. 2, the image example [C] shows the results of detecting linear image regions in the image example [A] using dashed lines. Note that in the image example [C], linear image regions are detected along both the left and right borders of the photograph of the person's face. This is because linear image regions were detected in each of the two divided images obtained by dividing the image [A] into left and right parts.

[0042] In this embodiment, a linear image region is detected from an image region of a captured image in the above manner. In the following description, the linear image region may be referred to as a "linear region."

[0043] Next, a method for determining whether or not a human face shown in a captured image is an object will be described. This method is used by the determination unit 13 in the information processing device 1 of FIG.

[0044] As described above, the image example [A] in Fig. 2 is a captured image obtained by taking a photograph (display) of a person's face. In such captured images, it is estimated that changes in the positional relationship between the image area of ​​the person's face and the linear area (the frame of the edge of the photograph) detected as described above are synchronized between the captured images taken at different times.

[0045] On the other hand, the image example in Figure 3 is an example of a captured image obtained by capturing an actual person. In this image example, a wall is captured as the background of the person. This wall includes a linear object, and this linear object is also captured in the captured image.

[0046] In the above-mentioned method for detecting linear regions, the image region of such linear objects is also detected from the captured image. However, in such captured images, the positional relationship between the image region of the person's face and the linear object (linear object on the wall) is not synchronized between the captured images taken at different times, and it is estimated that the changes are independent.

[0047] Therefore, in this method, it is determined whether or not the changes in the positional relationship between the image area of ​​the person's face and the linear area are synchronized between the captured images taken at different times. If it is determined that the changes in the positional relationship between the two are not synchronized, it is determined that the person's face included in the captured image is not an object.

[0048] The above-mentioned determination may be made, for example, based on the similarity of the motion vectors for the face image area and the linear area, calculated using a plurality of captured images taken at different times.

[0049] On the other hand, if it is determined in the above-mentioned judgment that the change in the positional relationship between the two is synchronized, it may be determined that the face of a person included in the captured image is an object.

[0050] Furthermore, if it is determined that the changes in the positional relationship between the two are synchronized, it may be determined whether or not the linear region represents the contour of an object (the frame of an edge of a photograph, a display device, etc.) If it is determined in this determination that the linear region represents the contour of an object, it may be determined that the object is a person's face, thereby further improving the accuracy of determining that the object is a person's face.

[0051] Incidentally, in a captured image that includes an object, the contour of the object is estimated to have the following characteristics. The contour of the object is clear in the captured image, and the pixels that make up the contour are likely to have strong edge strength. In a captured image, the line shape that represents the outline of an object is likely to be nearly parallel or perpendicular to the direction of the face of the person depicted in the object. In a captured image, the distance between the line shape expressing the outline of an object and the face of a person depicted on the object is likely to be close.

[0052] Therefore, by utilizing these characteristics, it may be possible to determine whether or not the linear region represents the contour of the display object. That is, for example, this determination may be made using edge strength (edge ​​strength for each pixel included in the specific pixel group) at the position of each pixel constituting the linear region. In addition, the inclination of a straight line approximating the linear region with respect to a line segment connecting the positions of the left and right eyes of a person represented in the face image region may be used as an index representing the orientation of the linear region with respect to the orientation of the person's face, and this determination may be made using the inclination of this approximated straight line. Alternatively, the distance between the approximated straight line and the position of the nose of the person represented in the face image region may be used as an index representing the distance between the linear region and the person's face, and this determination may be made using the distance between the approximated straight line and the position of the nose. In addition, this determination may be made using any two of the edge strength, the inclination of the approximated straight line, and the distance. Furthermore, this determination may be made using all three of the edge strength, the inclination of the approximated straight line, and the distance described above.

[0053] Furthermore, when the above-mentioned determination is made using the edge strength and the slope and distance of the approximation line as described above, the edge strength, the slope and distance of the approximation line may be used to calculate the probability that the linear region represents the contour of the displayed object. In this case, the determination as to whether or not the linear region represents the contour of the displayed object may be made based on the result of a comparison between the calculated probability and a predetermined probability threshold value.

[0054] As the probability that the linear region represents the contour of the display object, for example, a probability R calculated by calculating the following formula (1) may be used.

[0055] R = α×μ+β×cosθ+γ / d ·············································Formula (1)

[0056] In formula (1), μ is the average value of edge strength at the position of each pixel constituting the linear region (the average value of edge strength for each specific pixel constituting the specific pixel group). In formula (1), θ is the gradient of an approximation line for the linear region with respect to a line segment connecting the positions of the left and right eyes of the person depicted in the face image region. Also, d is the distance between the approximation line and the position of the nose of the person depicted in the face image region. In addition, α, β, and γ are weighting constants determined according to the importance of each value of μ, θ, and d with respect to the accuracy R, and appropriate values ​​are determined in advance, for example, by experiment.

[0057] Formula (1) is used when the line shape representing the contour of the displayed object is nearly parallel to the direction of the face of the person depicted in the displayed object, more specifically, when the value of the inclination θ is -45°≦θ≦+45°. On the other hand, when the line shape representing the contour of the displayed object is nearly perpendicular to the direction of the face of the person depicted in the displayed object, more specifically, when the value of the inclination θ is -90°<θ<-45° or +45°<θ≦+90°, the following formula (2) is used to calculate the accuracy R.

[0058] R = α×μ+β×cos(90°-|θ|)+γ / d...Equation (2)

[0059] In this embodiment, as described above, it is determined whether or not the face of a person shown in a captured image is an object.

[0060] The information processing device 1 in FIG. 1 may be configured as a combination of a computer and software.

[0061] FIG. 4 shows an example of the hardware configuration of the computer 20.

[0062] The computer 20 includes, as components, for example, each piece of hardware, such as a processor 21, a memory 22, a storage device 23, a reading device 24, a communication interface 26, and an input / output interface 27. These components are connected via a bus 28, allowing data to be exchanged between the components.

[0063] The processor 21 may be, for example, a single processor, or a multi-processor and a multi-core processor. The processor 21 uses the memory 22 to execute, for example, a captured image determination program in which the procedure of a captured image determination process described later is written.

[0064] The memory 22 is, for example, a semiconductor memory, and may include a RAM area and a ROM area. The storage device 23 is, for example, a semiconductor memory such as a hard disk or a flash memory, or an external storage device. Note that RAM is an abbreviation for Random Access Memory. Also, ROM is an abbreviation for Read Only Memory.

[0065] The reader 24 accesses the removable storage medium 25 in accordance with instructions from the processor 21. The removable storage medium 25 is realized by, for example, a semiconductor device (such as a USB memory), a medium (such as a magnetic disk) from which information is input and output by magnetic action, or a medium (such as a CD-ROM or DVD) from which information is input and output by optical action. Note that USB is an abbreviation for Universal Serial Bus. CD is an abbreviation for Compact Disc. DVD is an abbreviation for Digital Versatile Disk.

[0066] The communication interface 26 transmits and receives data via a communication network (not shown) according to instructions from the processor 21, for example.

[0067] The input / output interface 27 acquires various data such as image data of a captured image sent from the camera 2. The input / output interface 27 also outputs the result of a determination process output from the processor 21, which will be described later.

[0068] The program executed by the processor 21 of the computer 20 is provided, for example, in the following form. (1) Pre-installed in the storage device 23. (2) Provided by a removable storage medium 25. (3) It is provided to the communication interface 26 from a server such as a program server via a communication network.

[0069] The hardware configuration of the computer 20 is merely an example, and the embodiment is not limited thereto. For example, some or all of the functions of the above-mentioned functional units may be implemented as hardware using an FPGA, SoC, or the like. FPGA is an abbreviation for Field Programmable Gate Array. SoC is an abbreviation for System-on-a-chip.

[0070] Next, the captured image determination process will be described. Fig. 5 is a flow chart showing the process contents of this captured image determination process. When the information processing device 1 of Fig. 1 is configured by combining the computer 20 of Fig. 4 with software, the processor 21 is made to execute a determination program in which this captured image determination process is described.

[0071] 5, first, in S100, a process of acquiring a plurality of captured images is performed. In this process, a plurality of time-series images captured by the camera 2 at different times are acquired from the camera 2 via the input / output interface 27 and stored in the memory 22.

[0072] The processor 21 performs the process of S100 to provide the function of the image acquisition unit 10 in FIG.

[0073] Next, in S200, a process is performed to detect an image area of ​​a human face in each of the multiple images acquired in the process of S100.

[0074] As described above, there are several known methods for detecting an image area of ​​a human face from a captured image. In the process of S200, any of these methods may be used, and for example, the method proposed in the above-mentioned Non-Patent Document 1 may be used.

[0075] The processor 21 performs the process of S200 to provide the function of the first area detection unit 11 in FIG.

[0076] In the following description, the image area of ​​a person's face, which is the image area detected from the captured image by the process at S200, may be referred to as a "face area."

[0077] Next, a linear region detection process is performed in S300. This linear region detection process is a process for detecting a linear region from the remaining region outside the face region detected in the process of S200 in each of the multiple images acquired in the process of S100. The details of this linear region detection process will be described later.

[0078] Next, a determination process is performed in S400. This determination process is a process for determining whether or not the face of a person shown in the multiple images acquired by the process of S100 is an object. This determination is performed according to the above-mentioned method based on the change in the positional relationship between the face area and the segregated notice area detected by the processes of S200 and S300, respectively, between the multiple images. The details of this determination process will be described later.

[0079] When the process of S400 is completed, the captured image determination process ends.

[0080] Next, the linear region detection process, which is the process of S300 in Fig. 5, will be described in detail. Fig. 6 is a flowchart showing the process of the linear region detection process. The processor 21 provides the function of the second region detection unit 12 in Fig. 1 by executing this linear region detection process.

[0081] Note that this linear region detection process is executed on each of the multiple captured images acquired in the process of S100 in FIG.

[0082] In FIG. 6, first, in S310, a process is performed in which each of the plurality of photographed images acquired in the process of S100 in FIG. 5 is rotationally transformed to generate a plurality of rectangular images.

[0083] Affine transformation, for example, is known as a transformation process for rotating an image. In this embodiment, affine transformation is used as a method for rotational transformation of a captured image.

[0084] In the process of S310, first, the positions of the left and right eyes are detected from the face area detected from the photographed image by the process of S200 in Fig. 5. Next, the photographed image is rotated to make the line segment connecting the positions of the left and right eyes horizontal. Next, the edges of the photographed image after the rotational transformation are trimmed to generate a rectangular image whose upper and lower edges are parallel to the above-mentioned line segment and whose left and right edges are perpendicular to the above-mentioned line segment.

[0085] In addition, if the captured image obtained by the processing of S100 in Figure 5 already has such characteristics of a rectangular image, the processing of S310 may not be performed, and the subsequent processing performed on the rectangular image may be performed on the captured image.

[0086] Next, in S320, a process is performed to generate a plurality of edge strength images from the plurality of rectangular images generated in the process of S310.

[0087] There are several known methods for extracting edges from an image. In this embodiment, an edge strength image is generated from a rectangular image using a Laplacian filter out of these methods.

[0088] Next, in S330, a process is performed to generate a residual edge strength image by excluding the area corresponding to the face area in the original captured image from the edge strength image generated by the process of S320. By this process, in each of the multiple edge strength images generated by the process of S320, the edge strength for each pixel included in the area corresponding to the face area in the original captured image is set to "0", and multiple residual edge strength images are generated.

[0089] Next, a vertical area detection process is performed in S340, followed by a horizontal area detection process in S350. Both of these processes use the residual edge strength image generated by the process of S330 to detect linear areas from a rectangular image according to the method described above. However, the vertical area detection process is a process for detecting linear areas in the vertical direction, and the horizontal area detection process is a process for detecting linear areas in the horizontal direction. Details of these processes will be described later.

[0090] When the processes of S340 and S350 are completed, the linear region detection process ends, and the processor 21 returns the process to the captured image determination process of FIG.

[0091] The above-described processing is the linear region detection processing.

[0092] Next, a detailed description will be given of the vertical direction area detection process which is the process of S340 in Fig. 6. Fig. 7 is a flowchart showing the contents of the vertical direction area detection process.

[0093] 7, first, in S341, a process is performed in which a pixel with the maximum edge strength among the pixels included in the uppermost pixel row in the residual edge strength image generated by the process in S330 is selected as the first specific pixel. The position of the first specific pixel selected by this process becomes the starting point of the linear region.

[0094] Next, in S342, a process is performed to extract pixels adjacent to the specific pixel selected by the process executed most recently before this process (the process of S341 described above or the process of S343 described below) from a pixel row adjacent to the pixel row containing the specific pixel.

[0095] Next, in S343, the adjacent pixel having the maximum edge strength among the adjacent pixels extracted in the process of S342 is selected as the next specific pixel.

[0096] Next, in S344, a process is performed to determine whether or not the edge strength of the specific pixel selected in the process of S343 is equal to or greater than a predetermined strength threshold value.

[0097] The process of S344 is for determining whether or not the edge strength of the specific pixel selected in the process of S343 is high enough to be regarded as a line region in an image area.

[0098] In the determination process of S344, when it is determined that the edge strength of the specific pixel is equal to or greater than the predetermined strength threshold (when the determination result is YES), the process proceeds to S345. On the other hand, in this determination process, when it is determined that the edge strength of the specific pixel is less than the predetermined strength threshold (when the determination result is NO), the position of the specific pixel selected in the process of S343 is regarded as the end of the linear region, and the process proceeds to S346.

[0099] Next, in S345, a process is performed to determine whether or not the pixel row including the specific pixel selected in the process of S343 is the pixel row at the bottom end in the residual edge strength image generated in the process of S330. In this determination process, when it is determined that the pixel row including the specific pixel is the pixel row at the bottom end (when the determination result is YES), the position of the specific pixel selected in the process of S343 is regarded as the end of the linear region, and the process proceeds to S346. On the other hand, in this determination process, when it is determined that the pixel row including the specific pixel is not the pixel row at the bottom end (when the determination result is NO), there is a possibility that the linear region continues further downward in the image, so the process returns to S342 and the above-mentioned process is repeated.

[0100] Next, in S346, a process is performed in which a specific pixel group made up of the specific pixels selected by repeating the process of S341 and the process of S343 is detected from the rectangular image as a vertical line-shaped region.

[0101] When the process of S346 ends, the vertical direction area detection process ends, and the processor 21 returns the process to the line-shaped area detection process of FIG.

[0102] The above processing is the vertical direction area detection processing. In the processing of S341 in this vertical direction area detection processing, the pixel row targeted for the selection of the first specific pixel is the pixel row at the top end of the remaining edge strength image. The edge strength image is generated from a rectangular image, and the top edge of the rectangular image is parallel to the line segment connecting the positions of the left and right eyes in the face area. Therefore, the repetition of the processing from S342 to S345 is an example of the repetition of the first selection when the first pixel row is parallel to the line segment, and the detection of the vertical line-shaped area by the processing of S346 corresponds to the detection of the first line-shaped image area.

[0103] Next, a detailed description will be given of the horizontal area detection process which is the process of S350 in Fig. 6. Fig. 8 is a flowchart showing the contents of the horizontal area detection process.

[0104] The vertical area detection process described above searches for vertical linear areas from the top to the bottom of the image, whereas the horizontal area detection process described below searches for horizontal linear areas from the left to the right of the image.

[0105] 8, first, in S351, a process is performed in which a pixel having the maximum edge strength among the pixels included in the leftmost pixel row in the residual edge strength image generated by the process of S330 is selected as the first specific pixel. The position of the first specific pixel selected by this process becomes the starting point of the linear region.

[0106] Next, in S352, a process is performed to extract pixels (adjacent pixels) adjacent to the specific pixel selected by the process executed most recently before this process (the process of S351 described above or the process of S353 described below) from the pixel row adjacent to the right of the pixel row containing the specific pixel.

[0107] Next, in S353, the adjacent pixel having the maximum edge strength among the adjacent pixels extracted in the process of S352 is selected as the next specific pixel.

[0108] Next, in S354, a process is performed to determine whether or not the edge strength of the specific pixel selected in the process of S353 is equal to or greater than a predetermined strength threshold.

[0109] The process of S354, like the process of S344 in FIG. 7, is for determining whether or not the edge strength for the specific pixel selected by the process of S353 is sufficient to be regarded as an image region of a line region.

[0110] In the determination process of S354, when it is determined that the edge strength of the specific pixel is equal to or greater than the predetermined strength threshold (when the determination result is YES), the process proceeds to S355. On the other hand, in this determination process, when it is determined that the edge strength of the specific pixel is less than the predetermined strength threshold (when the determination result is NO), the position of the specific pixel selected in the process of S353 is regarded as the end of the linear region, and the process proceeds to S356.

[0111] Next, in S355, a process is performed to determine whether or not the pixel row including the specific pixel selected in the process of S353 is the rightmost pixel row in the residual edge strength image generated in the process of S330. In this determination process, when it is determined that the pixel row including the specific pixel is the rightmost pixel row (when the determination result is YES), the position of the specific pixel selected in the process of S353 is regarded as the right end of the linear region, and the process proceeds to S356. On the other hand, in this determination process, when it is determined that the pixel row including the specific pixel is not the rightmost pixel row (when the determination result is NO), there is a possibility that the linear region continues further to the right of the image, so the process returns to S352 and the above-mentioned process is repeated.

[0112] Next, in S356, a process is performed in which a specific pixel group made up of the specific pixels selected by repeating the process of S351 and the process of S353 is detected from the rectangular image as a horizontal line-shaped region.

[0113] When the process of S356 ends, the horizontal direction area detection process ends, and the processor 21 returns the process to the line-shaped area detection process of FIG.

[0114] The above processing is the horizontal area detection processing. In the processing of S351 in this horizontal area detection processing, the pixel row targeted for the selection of the first specific pixel is the leftmost pixel row in the remaining edge strength image. The edge strength image is generated from a rectangular image, and the leftmost side of the rectangular image is perpendicular to the line segment connecting the positions of the left and right eyes in the face area. Therefore, the repetition of the processing from S352 to S355 is an example of the repetition of the second selection when the first pixel row is perpendicular to the line segment, and the detection of the horizontal linear area by the processing of S356 corresponds to the detection of the second linear image area.

[0115] Next, the details of the determination process, which is the process of S400 in Fig. 5, will be described. Fig. 9A and Fig. 9B are flowcharts showing the process contents of the determination process. The processor 21 provides the function of the determination unit 13 in Fig. 1 by executing this determination process.

[0116] The processes from S401 to S405 shown in FIG. 9A are performed for each of the vertical line-shaped regions detected in the process of S340 in FIG. 6 and the horizontal line-shaped regions detected in the process of S350 in FIG. 6.

[0117] In FIG. 9A, first, in S401, a process is performed to calculate an average value μ of edge strengths of pixels constituting a linear region for each rectangular image of the multiple images acquired in the process of S100 in FIG.

[0118] Next, in S402, a straight line approximating the linear region is obtained for each rectangular image of the multiple images, and a process is performed to calculate the inclination θ of the approximated straight line with respect to a line segment connecting the positions of the left and right eyes of the person depicted in the face region of the rectangular image. Note that, in this embodiment, the least squares method is used to obtain the approximated straight line for the linear region from the positions of each pixel constituting the linear region, but other methods may be used to obtain the approximated straight line.

[0119] Next, in S403, a process is performed to calculate the distance d between the approximate line obtained by the process of S402 and the position of the nose of the person depicted in the face area for each rectangular image of the multiple images acquired by the process of S100 in Figure 1.

[0120] Next, in S404, a process is performed in which linear regions in two rectangular images for two images selected from the multiple images acquired in the process of S100 in FIG. 1 are associated with each other between the two rectangular images.

[0121] In the process of S404, the two images are selected from the multiple images acquired by the process of S100 in Fig. 1, which are consecutively captured in time series by the camera 2. Between these two images, there is no significant difference in the linear regions that represent the outer frame of the photograph or the linear objects on the wall that is the background, and therefore the average value μ of the edge strength, the inclination θ, and the distance d calculated by the processes of S401 to S403 are likely to be close to each other. Thus, the process of S404 is performed to associate the linear regions, in which these values ​​are close between the rectangular images of the two images, between the two rectangular images.

[0122] Next, in S405, a process is performed in which a motion vector for the linear region associated in the process of S404 is calculated based on the position of the linear region in each of the two rectangular images (for example, the position of the center of gravity of the linear region).

[0123] Next, in S406, a process is performed to calculate a motion vector for the face area in each of the two rectangular images based on the position of the face area in each of the two rectangular images (e.g., the position of the nose of a person depicted in the face area).

[0124] Next, in S407, a process is performed to calculate the cosine similarity between the motion vector for the linear region and the motion vector for the face region. In this process of S407, the average of the motion vectors for the linear regions in the vertical and horizontal directions is used as the motion vector for the linear region. The motion vectors for the linear regions in the vertical and horizontal directions are calculated in the process of S405. In this process of S407, the motion vector calculated in the process of S406 is used as the motion vector for the face region.

[0125] Next, in S408 of Fig. 9B, a process is performed to determine whether the value of the cosine similarity calculated in the process of S407 is equal to or greater than a predetermined similarity threshold. This determination process is a process for determining whether the change in the positional relationship between the linear region and the face region is synchronized. In this determination process, when it is determined that the value of the cosine similarity is equal to or greater than the similarity threshold (when the determination result is YES), it is determined that the change in the positional relationship between the linear region and the face region is synchronized, and the process proceeds to S409. On the other hand, in this determination process, when it is determined that the value of the cosine similarity is smaller than the similarity threshold (when the determination result is NO), it is determined that the change in the positional relationship between the linear region and the face region is not synchronized, and the process proceeds to S412.

[0126] Next, in S409, the average edge strength μ, the inclination θ, and the distance d calculated in the processes from S401 to S403 are used to calculate the likelihood R that the linear region represents the contour of the object. In this process, the aforementioned formula (2) is used to calculate the likelihood R for the vertical linear region, and the aforementioned formula (1) is used to calculate the likelihood R for the horizontal linear region.

[0127] Next, in S410, a process is performed in which the average value of the accuracy R for each of the vertical and horizontal linear regions is compared with a predetermined accuracy threshold. This process is for determining whether or not the linear region represents the contour of an object. In this comparison, if it is determined that the average value of the accuracy R is equal to or greater than the accuracy threshold (if the determination result is YES), it is determined that the linear region represents the contour of an object, and the process proceeds to S411. On the other hand, in this comparison, if it is determined that the average value of the accuracy R is smaller than the accuracy threshold (if the determination result is NO), it is determined that the linear region does not represent the contour of an object, and the process proceeds to S412.

[0128] In addition, in the processing of S410, in order to determine whether the linear regions represent the contour of an object, the sum of the likelihoods R for each of the vertical and horizontal linear regions may be compared with a predetermined likelihood threshold value.

[0129] Next, in S411, a process is performed to output a determination result that the human faces shown in the multiple images acquired by the process of S100 in Fig. 5 are objects. After that, when the process of S411 is completed, the determination process shown in Fig. 9A and Fig. 9B ends, and the processor 21 returns the process to the captured image determination process in Fig. 5.

[0130] On the other hand, in S412, a process is performed to output a determination result that the face of the person shown in the multiple images acquired by the process of S100 in Fig. 5 is not a displayed object (is a real person). After that, when the process of S412 is completed, the determination process shown in Fig. 9A and Fig. 9B is completed, and the processor 21 returns the process to the captured image determination process in Fig. 5.

[0131] The above-mentioned processing is the determination processing.

[0132] By performing each of the above processes by the computer 20 in FIG. 4, it is possible to accurately determine whether or not a captured image is a photograph of an object of a person.

[0133] Although the disclosed embodiments and their advantages have been described in detail above, it will be appreciated that those skilled in the art may make various modifications, additions, and omissions therein without departing from the scope of the present invention as clearly set forth in the claims.

[0134] For example, one vertical linear region is detected in the vertical region detection process of Fig. 7. Alternatively, for example, the captured image acquired by the process of S100 of Fig. 1 may be divided into two, left and right, and vertical region detection process may be performed on each of the divided images to detect two vertical linear regions.

[0135] Similarly, the captured image obtained by the processing of S100 in FIG. 1 may be divided into two parts, top and bottom, and the horizontal area detection processing of FIG. 8 may be performed on each of the divided images to detect two horizontal linear areas.

[0136] 7, a vertical linear region may be detected that starts at the top of the image and ends at a position above the bottom of the image. If such a linear region is detected, a vertical linear region may be detected that starts at the bottom of the image and extends upward from the starting point.

[0137] Such vertical linear region detection can be performed by sequentially selecting pixels of interest from the bottom pixel row of the image upward in the vertical region detection process of Fig. 7. More specifically, if the determination result of S344 in Fig. 7 is NO, processing similar to the processing of S341 to S346 can be performed.

[0138] 7, in this similar process, instead of S341, a process is performed in which a pixel having the maximum edge strength among pixels included in a pixel row at the bottom end of the residual edge strength image is selected as the first specific pixel. Also, instead of S342, a process is performed in which pixels adjacent to the specific pixel selected by the process executed immediately before this process are extracted from a pixel row adjacent above the pixel row including the specific pixel selected by the process executed immediately before this process is executed. Then, instead of S346, a process is performed in which it is determined whether the pixel row including the specific pixel selected by S343 is the uppermost pixel row in the residual edge strength image generated by S330.

[0139] 8, a horizontal linear region may be detected that starts at the left edge of the image and ends at a position to the left of the right edge of the image. If such a linear region is detected, a horizontal linear region may be detected that starts at the right edge of the image and extends from the starting point to the left of the image.

[0140] Such a horizontal linear region can be detected by sequentially selecting pixels of interest from the pixel row at the right end of the image to the left in the horizontal region detection process of Fig. 8. More specifically, if the determination result of S354 in Fig. 8 is NO, processing similar to the processing of S351 to S356 can be performed.

[0141] 7, in this similar process, instead of S351, a process is performed in which a pixel having the maximum edge strength among pixels included in the rightmost pixel row in the residual edge strength image is selected as the first specific pixel. Also, instead of S352, a process is performed in which a pixel adjacent to the specific pixel selected by the process executed immediately before this process is extracted from a pixel row adjacent to the left of the pixel row including the specific pixel selected by the process executed immediately before this process is executed. Then, instead of S356, a process is performed in which it is determined whether the pixel row including the specific pixel selected by S353 is the leftmost pixel row in the residual edge strength image generated by S330.

[0142] In this way, when multiple vertical and horizontal linear regions are detected, the process of Fig. 9A and Fig. 9B performs the processes from S401 to S405 for each of the detected linear regions. In the process of S407, the average of the motion vectors for each of the detected linear regions is used as the motion vector for the linear region. In the process of S409, a probability R that each of the linear regions represents the contour of an object is calculated, and in the process of S410, the average or sum of the calculated probabilities R is compared with a probability threshold. [Explanation of symbols]

[0143] 1. Information processing device 2 Camera 10 Image acquisition section 11 First area detection unit 12 Second area detection unit 13 Judgment section 20. Computers 21 Processors 22 Memory 23 Storage device 24 Reading device 25 Removable storage media 26 Communication Interface 27 Input / Output Interface 28 Bus

Claims

1. Acquire multiple images taken by the camera at different times, when each of the plurality of images includes an image area of ​​a person's face and a linear image area located outside the image area of ​​the face, a determination is made as to whether or not the face of the person is an object based on a change in a positional relationship between the image area of ​​the face and the linear image area among the plurality of images; A determination method characterized in that the above steps are performed by a computer.

2. Detecting an image region of the face in each of the plurality of images; generating a plurality of edge intensity images for each of the plurality of images, the edge intensity at each pixel position being represented as a value of each pixel; detecting the line-shaped image region in each of the plurality of images using the plurality of edge strength images; 2. The method according to claim 1, wherein the first and second determination methods are performed in a stepwise manner.

3. a pixel having the maximum edge strength among pixels included in a first pixel row arranged at one end of the remaining edge strength images is selected as a first specific pixel from a pixel row adjacent to a pixel row including the specific pixel and the pixel having the maximum edge strength is selected as the next specific pixel for a plurality of remaining edge strength images obtained by excluding the image region of the face from each of the plurality of edge strength images; detecting the line-shaped image region in each of the plurality of residual edge strength images by detecting an image region formed by a specific pixel group obtained by repeating the pixel selection in each of the plurality of residual edge strength images; The method according to claim 2 .

4. The method according to any one of claims 1 to 3, characterized in that in the judgment, it is determined whether or not the changes in the positional relationship between the multiple images are synchronized, and if it is determined that they are not synchronized, it is determined that the person's face is not an object.

5. The method according to claim 4, characterized in that a determination is made as to whether or not changes in the positional relationship are synchronized based on the similarity of motion vectors for each of the face image area and the linear shape image area, calculated using the multiple images.

6. The method of any one of claims 1 to 3, characterized in that in the judgment, it is determined whether or not the change in the positional relationship is synchronized between the multiple images, and if it is determined that they are synchronized, it is determined whether or not the linear image area represents the contour of the displayed object, and if it is determined that the linear image area represents the contour of the displayed object, it is determined that the person's face is the displayed object.

7. The method of claim 6, characterized in that the determination of whether the linear image area represents the contour of the object is performed using at least one of the edge strength at the position of each pixel that constitutes the linear image area, the slope of a straight line that approximates the linear image area with respect to a line segment connecting the positions of the left and right eyes of the person represented in the face image area, and the distance of the straight line from the position of the nose of the person represented in the face image area.

8. Acquire multiple images taken by the camera at different times, when each of the plurality of images includes an image area of ​​a person's face and a linear image area located outside the image area of ​​the face, a determination is made as to whether or not the face of the person is an object based on a change in a positional relationship between the image area of ​​the face and the linear image area among the plurality of images; A judgment program for causing a computer to execute a process.

9. An acquisition unit that acquires a plurality of images taken by a camera at different times; a determination unit that, when each of the plurality of images includes an image area of ​​a person's face and a linear image area located outside the image area of ​​the face, determines whether or not the person's face is an object based on a change in a positional relationship between the image area of ​​the face and the linear image area among the plurality of images; An information processing device comprising:

Citation Information

Patent Citations

  • Living body discrimination apparatus and living body discrimination method

    JP2006099614A

  • Identification imaging system, identification imaging method and program

    JP2011009986A

  • Face authentication system

    JP2014219703A

  • Face authentication processing device, face authentication processing method and face authentication processing system

    JP2018169943A

  • Face authentication device, face authentication method, and face authentication system

    JP2019197426A