Image processing device, image processing method, and program

The image processing device addresses the challenge of reliably detecting faces for anonymization by verifying person presence and suitability, ensuring accurate anonymization and maintaining model accuracy for behavior prediction, enhancing driving support systems.

WO2024180759A1PCT designated stage expired Publication Date: 2024-09-06HONDA MOTOR CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/007793
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-02
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Conventional image processing technologies face challenges in reliably detecting the face area of images for anonymization processing, leading to potential misidentification of non-human patterns as faces, which affects the accuracy of behavior prediction models.

Method used

An image processing device and method that extracts and verifies the presence of a person in an image by checking for the absence of other faces, recognition of passable areas, and continuity across time series images, with the option to replace or mosaic faces based on suitability criteria, ensuring accurate anonymization and data quality for behavior prediction models.

Benefits of technology

Enhances the reliability and accuracy of face detection for anonymization, preventing misidentification and maintaining the integrity of behavior prediction models by ensuring only valid human faces are processed, thus improving driving support systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023007793_06092024_PF_FP
    Figure JP2023007793_06092024_PF_FP
Patent Text Reader

Abstract

An image processing device comprising an extraction unit that extracts a person from a converted image obtained by applying image conversion processing to an inputted image, and a processing unit that assesses whether the extracted person satisfies a requirement relating to the suitability of the presence of the person and then applies prescribed processing to the converted image on the basis of the result of assessment.
Need to check novelty before this filing date? Find Prior Art

Description

Image processing device, image processing method, and program

[0001] The present invention relates to an image processing device, an image processing method, and a program.

[0002] A technique for identifying a face area of ​​a person from an image captured by a camera has been known. For example, Patent Document 1 describes a technique for preventing erroneous detection of a pattern on a wall in front of an image input unit as a face, even if the pattern on the wall resembles a person's face.

[0003] Japanese Patent Application Laid-Open No. 2005-242777

[0004] The technology described in Patent Literature 1 reliably detects the face of a person by turning on a light that illuminates the face of the person when a motion sensor detects the arrival of the person. However, with the conventional technology, there are cases where it is not possible to more easily and reliably detect the face area of ​​an image to be anonymized.

[0005] The present invention has been made in consideration of these circumstances, and one of its objects is to provide an image processing device, an image processing method, and a program that can more easily and reliably detect facial areas in images that are to be anonymized.

[0006] The image processing device, image processing method, and program according to the present invention employ the following configuration: (1): An image processing device according to one aspect of the present invention includes an extraction unit that extracts a person from a converted image obtained by performing image conversion processing on an input image, and a processing unit that determines whether the extracted person satisfies requirements related to the suitability of the person's presence, and performs predetermined processing on the converted image based on the result of the determination.

[0007] (2): In the aspect (1) above, the extraction unit extracts the face of the person as the person, and the requirement for the suitability of the presence of the person is that parts other than the face of the person are recognized around the face.

[0008] (3): In the above aspect (1), the requirement regarding the suitability of the presence of the person is that the area in the converted image in which the person is present is recognized as an area through which pedestrians can pass.

[0009] (4) In the above aspect (1), the requirement for the suitability of the presence of the person is that the person is also present in the converted images at previous and subsequent points in time among the converted images in the time series.

[0010] (5): In the above aspect (1), if the judgment result of whether the requirements regarding the suitability of the presence of the person are met is negative, the processing unit deletes the converted image or performs the image conversion processing on the input image again as the specified processing.

[0011] (6): In the above aspect (1), if the judgment result of whether the requirements regarding the suitability of the presence of the person are met is positive, the processing unit stores the converted image as learning data as the specified processing.

[0012] (7): In any of the above aspects (1) to (6), the image conversion process is a process of changing the face of the person into the face of another person while aligning the orientation of the person's face before and after the image conversion process.

[0013] (8): Another aspect of the image processing method of the present invention is a method in which a computer extracts a person from a converted image obtained by performing image conversion processing on an input image, determines whether the extracted person satisfies requirements regarding the suitability of the person's presence, and performs a predetermined process on the converted image based on the results of the determination.

[0014] (9): Another aspect of the present invention is a program that causes a computer to extract a person from a converted image obtained by performing image conversion processing on an input image, determine whether the extracted person satisfies requirements regarding the suitability of the person's presence, and perform a predetermined process on the converted image based on the results of the determination.

[0015] According to the above aspects (1) to (9), it is possible to more easily and reliably detect a face area in an image to be subjected to anonymization processing.

[0016] 1 is a diagram showing an overview of a system 1 including an image processing device 100 according to the present embodiment. FIG. 2 is a diagram showing an example of the functional configuration of the image processing device 100 according to the present embodiment. FIG. 3 is a diagram showing an example of an interior image and an exterior image acquired from a vehicle M1. FIG. 4 is a diagram for explaining processing performed by an image processing unit 130. FIG. 5 is a diagram for explaining processing performed by an image conversion unit 140. FIG. 6 is a diagram for explaining a failure of processing performed by a conventional image processing unit 130. FIG. 7 is a diagram for explaining processing performed by the image processing unit 130 according to the present embodiment. FIG. 8 is a diagram showing an example of annotation work performed by an annotator. FIG. 9 is a diagram showing an example of driving assistance using a trained model 180. FIG. 10 is a diagram showing an example of the flow of processing performed by the image conversion unit 140. FIG. 11 is a diagram showing an example of the flow of processing performed by the image determination unit 150.

[0017] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of an image processing device, an image processing method, an image processing system, and a program according to the present invention will be described with reference to the accompanying drawings.

[0018] [Overview] Fig. 1 is a diagram showing an overview of a system 1 including an image processing device 100 according to this embodiment. As shown in Fig. 1, the system 1 includes at least one vehicle M1 and one vehicle M2, the image processing device 100, and a terminal device 200. For convenience of explanation, the vehicle M1 and the vehicle M2 are illustrated as different vehicles, but these vehicles may be the same.

[0019] The vehicle M1 is, for example, a hybrid vehicle, an electric vehicle, or the like, and includes at least a camera that captures images of the interior of the vehicle M1 and a camera that captures images of the exterior of the vehicle M1. While the vehicle M1 is traveling, the vehicle M1 transmits images of the interior and exterior of the vehicle captured by these cameras to the image processing device 100 via a network NW such as a cellular network, a Wi-Fi network, or the Internet.

[0020] The image processing device 100 is a server device that, upon receiving captured image data including vehicle interior images and vehicle exterior images from the vehicle M1, performs image conversion, described below, on the received captured image data. This image conversion is a process for protecting the privacy of people appearing in the vehicle interior images and vehicle exterior images. The image processing device 100 transmits the obtained converted image data to the terminal device 200 via the network NW.

[0021] The terminal device 200 is a terminal device such as a desktop personal computer or a smartphone. When the user of the terminal device 200 acquires converted image data from the image processing device 100, the user performs an annotation assignment process (described later) on the acquired converted image data. When the annotation assignment process is completed, the user of the terminal device 200 transmits the annotated image data, in which the annotations have been assigned to the converted image data, to the image processing device 100.

[0022] When the image processing device 100 receives annotated image data from the terminal device 200, it uses the received annotated image data as learning data and generates a trained model (described later) using an arbitrary machine learning model. This trained model is, for example, a behavior prediction model that, in response to an input of an exterior image of a vehicle, outputs the predicted behavior (trajectory) of a person depicted in the exterior image of the vehicle, or, in response to input of an interior image and an exterior image of the vehicle, takes into account the line of sight of the driver depicted in the interior image of the vehicle and calls attention to a pedestrian depicted in the exterior image of the vehicle.

[0023] The image data used as the training data at this time may be annotated image data in which annotations are added to converted image data, or may be annotated image data in which the converted image data is reconverted into captured image data while leaving the annotations intact (i.e., annotated image data in which annotations are added to captured image data). By using annotated image data in which annotations are added to captured image data as training data, it is possible to use training data that is more realistic and in which the effects of image conversion have been removed.

[0024] After generating the trained model, the image processing device 100 distributes the generated trained model to the vehicle M2 via the network NW. Like the vehicle M1, the vehicle M2 is, for example, a hybrid vehicle or an electric vehicle. While the vehicle M2 is traveling, at least one of an interior image and an exterior image captured by a camera is input into the trained model, thereby obtaining behavior prediction data for people present around the vehicle M2. The driver of the vehicle M2 can refer to the obtained behavior prediction data and use it to drive the vehicle M2. Each process will be described in more detail below.

[0025] [Functional Configuration of Image Processing Device] FIG. 2 is a diagram illustrating an example of the functional configuration of the image processing device 100 according to this embodiment. The image processing device 100 includes, for example, a communication unit 110, a transmission / reception control unit 120, an image processing unit 130, an image conversion unit 140, an image determination unit 150, a trained model generation unit 160, and a storage unit 170. These components are implemented by, for example, a hardware processor such as a CPU (Central Processing Unit) executing a program (software). Some or all of these components may be implemented by hardware (including circuitry) such as an LSI (Large Scale Integration), an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or a GPU (Graphics Processing Unit), or may be implemented by a combination of software and hardware. The program may be stored in advance in a storage device (a storage device with a non-transitory storage medium) such as a hard disk drive (HDD) or flash memory, or may be stored in a removable storage medium (a non-transitory storage medium) such as a DVD or CD-ROM, and installed by inserting the storage medium into a drive device. The storage unit 170 is, for example, an HDD, flash memory, or random access memory (RAM). The storage unit 170 stores, for example, captured image data 172, converted image data 174, annotation image data 176, annotated image data 178, and a trained model 180. For convenience of explanation, the image processing device 100 includes the trained model generation unit 160 and the storage unit 170 that stores the trained model 180. However, the function of generating a trained model and the generated trained model may be stored in a server device different from the image processing device 100.

[0026] The communication unit 110 is an interface that communicates with the communication device 10 of the vehicle M via the network NW. For example, the communication unit 110 includes a network interface card (NIC) and an antenna for wireless communication.

[0027] The transmission / reception control unit 120 transmits and receives data to and from the vehicles M1 and M2 and the terminal device 200 using the communication unit 110. More specifically, the transmission / reception control unit 120 first acquires from the vehicle M1 a plurality of interior and exterior images captured in time series by a camera mounted on the vehicle M1. The time series in this case refers to images captured at a predetermined interval (e.g., every second) during one driving cycle from when the vehicle M1 starts to when it stops.

[0028] Fig. 3 is a diagram showing an example of an interior image and an exterior image acquired from vehicle M1. The left part of Fig. 3 shows an interior image acquired from vehicle M1, and the right part of Fig. 3 shows an exterior image acquired from vehicle M1. As shown in the left part of Fig. 3, the interior image is captured with a camera installed so as to capture at least the facial area of ​​the driver of vehicle M1, and as shown in the right part of Fig. 3, the exterior image is captured with a camera installed so as to capture at least the area ahead in the direction of travel of vehicle M1. The transmission / reception control unit 120 associates the interior image and the exterior image acquired from vehicle M1 with an image ID and stores them in the storage unit 170 as captured image data 172.

[0029] 4 is a diagram illustrating the processing executed by the image processing unit 130. The image processing unit 130 performs image processing on the captured image data 172 to acquire (extract) information such as image attributes, facial attributes, and orientation of each image included in the captured image data 172. More specifically, when an image is input, the image processing unit 130 acquires image attributes indicating whether each image included in the captured image data 172 is an inside-vehicle image or an outside-vehicle image using a trained model that outputs a classification result indicating whether the image is an inside-vehicle image or an outside-vehicle image.

[0030] Furthermore, when an image is input, the image processing unit 130 acquires face attributes of each image included in the captured image data 172 using a trained model that outputs, for all faces included in the image, the face area, the face size (area of ​​the face area), and the distance from the image capture position to the face. In FIG. 3 , as an example, a face area FA1 of person P1 is acquired from the inside-of-vehicle image, and a face area FA2 of person P2, a face area FA3 of person P3, and a face area FA4 of person P4 are acquired from the outside-of-vehicle image. For convenience, the face areas FA1, FA2, FA3, and FA4 are acquired as rectangular areas, but the present invention is not limited to such a configuration. For example, a trained model that acquires face areas along the contours of the faces of people may be used.

[0031] Furthermore, the image processing unit 130 acquires directional information of faces captured in each image included in the captured image data 172 using a trained model that, upon input of an image, outputs at least one of the face direction and the gaze direction for all faces included in the image, for example, as a vector. More specifically, for an image of the captured image data 172 having an attribute of an in-vehicle image, the image processing unit 130 acquires directional information using a trained model that, upon input of the image, outputs the face direction and the gaze direction for all faces included in the image. On the other hand, for an image of the captured image data 172 having an attribute of an outside-vehicle image, the image processing unit 130 acquires directional information using a trained model that, upon input of the image, outputs the face direction for all faces included in the image. This is because, compared to an outside-vehicle image, faces captured in an inside-vehicle image generally tend to be closer to the shooting position and are larger enough to allow the gaze direction to be extracted. In Figure 3, as an example, the face direction FD1 and gaze direction ED1 of person P1 are obtained from the in-vehicle image, and the face direction FD2 of person P2, the face direction FD3 of person P3, and the face direction FD4 of person P4 are obtained from the outside-vehicle image.

[0032] When the image processing unit 130 acquires image attributes, facial attributes, and direction information for each image of the captured image data 172, the image processing unit 130 records the image attributes, facial attributes, and direction information in association with the image. Note that, as an example, in the above description, the image processing unit 130 acquires the image attributes, facial attributes, and direction information using a trained model, but the present invention is not limited to such a configuration, and the image processing unit 130 may acquire the image attributes, facial attributes, and direction information using any known method.

[0033] The image conversion unit 140 executes a process for replacing the face of a person depicted in each image with the face of another person using any software that implements such a function, without changing the directional information of the person, on the captured image data 172 processed by the image processing unit 130. FIG. 5 is a diagram for explaining the process executed by the image conversion unit 140. As shown in FIG. 5, the image conversion unit 140 replaces the faces of persons P1, P2, and P3 shown in FIG. 4 with the faces of other people without changing the line of sight direction ED1 and facial directions FD1, FD2, and FD3. On the other hand, the face of person P4 is covered with a mosaic MS as a result of the mosaic process performed by the image conversion unit 140.

[0034] That is, the image conversion unit 140 determines whether to replace each face captured in each image of the captured image data 172 with the face of another person or to apply mosaic processing based on the facial attributes of the face. More specifically, for each face captured in each image of the captured image data 172, the image conversion unit 140 determines whether the size of the face is equal to or greater than a first threshold Th1, and if it is determined that the size of the face is equal to or greater than the first threshold Th1, it determines to replace the face with the face of another person. On the other hand, if it is determined that the size of the face is less than the first threshold Th1, the image conversion unit 140 determines to apply mosaic processing to the face. Replacing the face of a person captured in a captured image with the face of another person or applying mosaic processing is an example of an "anonymization process."

[0035] Furthermore, for each face appearing in each image of the captured image data 172, the image conversion unit 140 determines whether the distance to the face is equal to or less than a second threshold Th2. If it is determined that the distance to the face is equal to or less than the second threshold Th2, the image conversion unit 140 determines to replace the face with the face of another person. On the other hand, if it is determined that the distance to the face is greater than the second threshold Th2, the image conversion unit 140 determines to apply mosaic processing to the face. The image conversion unit 140 repeatedly performs these determination processes the number of times equal to the number of faces appearing in the image, and either replaces each face with the face of another person or applies mosaic processing according to the determination results. The image conversion unit 140 stores the image data obtained by performing these processes on the captured image data 172 in the storage unit 170 as converted image data 174. This allows for the selection of data useful as learning data for generating a behavior prediction model, and also allows for the privacy of the people appearing in each image to be protected when annotators, described below, perform annotation work.

[0036] Note that at least one of the process of determining whether the face size is equal to or greater than the first threshold Th1 and the process of determining whether the face distance is equal to or less than the second threshold Th2 may be performed. When both processes are performed, the image conversion unit 140 may determine to replace the face with the face of another person when the face size is equal to or greater than the first threshold Th1 and the face distance is equal to or less than the second threshold Th2, or may determine to replace the face with the face of another person when the face size is equal to or greater than the first threshold Th1 or the face distance is equal to or less than the second threshold Th2.

[0037] Furthermore, the image conversion unit 140 may select faces to be used as learning data by performing mosaic processing on faces captured in each image of the captured image data 172 for which directional information could not be obtained.

[0038] In this way, when acquiring the converted image data 174 from the captured image data 172, the image processing unit 130 acquires information such as the facial area and facial direction of a person included in the image using the trained model, as described above. However, the trained model or other software having a similar function may output a non-person as a person due to, for example, wrinkles, stains, lighting conditions, cracks or dirt on the road or wall, or dirt, stickers, advertisements, etc., on other vehicles.

[0039] FIG. 6 is a diagram illustrating a processing failure performed by the conventional image processing unit 130 and image conversion unit 140. FIG. 6 shows converted images obtained by the conventional image processing unit 130 acquiring persons P1 to P6 by inputting vehicle interior and exterior images into a trained model, and by the image conversion unit 140 performing anonymization processing on the facial areas FA1 to FA6 of persons P1 to P6. As shown in FIG. 6 , for example, person P5 may be erroneously acquired and converted due to wrinkles, stains, lighting conditions, etc. on the clothing worn by a person depicted in the vehicle interior image, and person P6 may be erroneously acquired and converted due to cracks or dirt on the road depicted in the vehicle exterior image, or dirt, stickers, advertisements, etc. on other vehicles. Using converted image data 174 including such erroneously acquired persons P5 and P6 as training data without modification is undesirable, as it can degrade the accuracy of the behavior prediction model. Therefore, as described below, the image assessment unit 150 of this embodiment identifies converted images that contain erroneously acquired people depending on whether each person depicted in the converted image satisfies specified requirements regarding the suitability of presence, and maintains the accuracy of the behavior prediction model by either deleting the converted image or re-anonymizing the input image corresponding to the converted image.

[0040] 7 is a diagram illustrating the processing executed by the image determination unit 150 according to this embodiment. First, the image determination unit 150 extracts people P1 to P6 from the converted images obtained by the image conversion unit 140 converting the vehicle interior image and the vehicle exterior image. As described above, people P1 to P6 are identified in advance by the image processing unit 130 as people corresponding to each of the facial areas FA1 to FA6 before conversion by the image conversion unit 140. Note that person P4, who has been subjected to pixelation processing, may be excluded from the processing by the image determination unit 150.

[0041] For example, for each of the extracted persons P1 to P6, the image determination unit 150 searches for one or more body parts (e.g., a person's shoulders, hands, knees, feet, etc.) around the person's facial areas FA1 to FA6 using an arbitrary keypoint detection method. If one or more body parts are detected, the image determination unit 150 determines that the person and its facial area are real people. For example, in the case of the converted image of the interior of a vehicle shown on the left side of FIG. 7 , the image determination unit 150 detects keypoints KP1 and KP2 representing the shoulders of person P1 using the facial area FA1 of person P1 as a reference (in other words, taking into account their relative positions from the facial area FA1), and as a result, determines that person P1 is a real person. On the other hand, for person P5, there are no keypoints that can be extracted using the facial area FA5 of person P5 as a reference, and the image determination unit 150 determines that person P5 is not a real person. Similarly, in the case of the converted image of the outside-of-vehicle image shown on the right side of Fig. 7, the image determination unit 150 can extract key points such as the shoulders, hands, knees, and feet for persons P2 to P4 using facial areas FA2 to FA4 as reference points, but for person P6, there are no key points that can be extracted using the facial area FA6 of person P6 as reference points, and the image determination unit 150 can determine that person P6 is not a real human being. The detection of one or more body parts using a facial area as reference points is an example of a "predetermined requirement."

[0042] Alternatively, the image determination unit 150 may determine whether a person depicted in a converted image of the vehicle exterior image is a real person based on whether the area in which the person is present is a free space (in other words, an area where pedestrians can pass through). For example, in the case of the converted image of the vehicle exterior image shown on the right side of FIG. 7 , the image determination unit 150 detects the free space FS by inputting the converted image into a trained model that is trained to output the free space in the image when the image is input. Next, the image determination unit 150 determines whether each of the people P2 to P4 and P6 is present in the free space FS. The image determination unit 150 determines that the people P2 to P4 are present in the free space FS, while determining that the person P6 is not present in the free space FS because he is present on the vehicle body. As a result, the image determination unit 150 determines that the people P2 to P4 are real people, but determines that the person P6 is not a real person. For the converted image of the vehicle exterior image, the presence of a person in free space is an example of a "predetermined requirement."

[0043] Alternatively, the image determination unit 150 may determine whether a person is a real person based on whether the same person appears in the converted images of the vehicle interior and exterior images captured in chronological order at each point in time. For example, the image determination unit 150 determines that a person detected in a converted image at a certain point in time is a real person if the person also appears in converted images captured at previous and subsequent points in time. In this case, the image determination unit 150 may perform such determination only for points in time when the person is expected to be included in the captured image, taking into account the positional change (speed) of the person captured in the captured image. This prevents a non-person from being temporarily erroneously detected as a person due to wrinkles in clothing, stains, lighting conditions, cracks or dirt on the road, etc. The presence of a person detected in a converted image at a certain point in time in converted images captured at previous and subsequent points in time is an example of a "predetermined requirement."

[0044] If any person detected from the converted image is determined not to be a real person, the image determination unit 150 either deletes the converted image or re-anonymizes the input image corresponding to the converted image, thereby reacquiring the converted image. Deleting the converted image or re-anonymizing the input image corresponding to the converted image is an example of the "predetermined process."

[0045] On the other hand, if it is determined that all of the people detected in the converted image are real people, the image determination unit 150 re-inputs the converted image into a trained model trained to output at least one of a face direction and a gaze direction, and acquires the face direction FD or gaze direction ED in the converted image. The image determination unit 150 determines whether the face direction FD or gaze direction ED of the face of the person captured in the converted image is approximately consistent with the face direction FD or gaze direction ED of the face captured in the captured image before conversion. As described above, both the face direction FD and the gaze direction ED are acquired for the in-vehicle image, and only the face direction FD is acquired for the outside-vehicle image. Therefore, for the in-vehicle image, the image determination unit 150 determines whether the face direction FD and the gaze direction ED are approximately consistent between the captured image before conversion and the converted image, and for the outside-vehicle image, it determines whether the face direction FD is approximately consistent between the captured image before conversion and the converted image. More specifically, for example, the image determination unit 150 calculates the angle difference between a vector representing the face direction FD in the captured image before conversion and a vector representing the face direction FD in the converted image, and determines that the face directions FD substantially match when the calculated angle difference is within a threshold value.

[0046] If it is determined that the facial direction FD or the gaze direction ED does not substantially match between the captured image before conversion and the converted image, the image conversion unit 140 performs conversion processing again on the captured image for the faces determined to have a facial direction FD or a gaze direction ED that does not substantially match. In this case, the image conversion unit 140 may perform conversion processing again only on the faces determined to have a substantially mismatch, or may perform conversion processing again on all faces included in the converted image, including the faces determined to have a substantially mismatch. Furthermore, for example, the image conversion unit 140 may perform mosaic processing on the faces determined to have a substantially mismatch without performing conversion processing again, and exclude them from use as learning data. This prevents degradation of information due to unintended operation of the face conversion software.

[0047] Note that when there are multiple faces captured in the converted image (or when the number of faces captured in the converted image is equal to or greater than a predetermined value), the converted image determination process executed by the image determination unit 150 described above may be performed only on faces assumed to be of higher importance, rather than on all faces captured in the converted image. As an example of a face assumed to be of higher importance, the image determination unit 150 may perform this determination process only on faces in the captured image before conversion whose face size is equal to or greater than a third threshold Th3 (which is greater than the first threshold Th1), or may perform this determination process only on faces whose face distance is equal to or less than a fourth threshold Th4 (which is smaller than the second threshold Th2). Furthermore, for example, the image determination unit 150 may perform the determination process by assuming that the face of a person present in front of the vehicle M1 in the traveling direction or whose face is facing forward in the traveling direction of the vehicle M1 in the captured image before conversion is of higher importance.

[0048] When the image determination unit 150 completes the determination of the converted image, it stores the converted image data 174 that has been determined to be positive in the storage unit 170 as annotation image data 176. At this time, the converted image data 174 may be stored in the storage unit 170 as annotation image data 176 together with information indicating the purpose of use, for example, information indicating that the converted image data 174 is annotation image data for generating a behavior prediction model that predicts the behavior of a person depicted in the input image. The transmission / reception control unit 120 transmits the annotation image data 176 to the terminal device 200. An annotator, who is a user of the terminal device 200, generates annotated image data by annotating the annotation image included in the received annotation image data 176 and transmits the annotated image data to the image processing device 100. The image processing device 100 stores the received annotated image data in the storage unit 170 as annotation image data 178.

[0049] FIG. 8 is a diagram illustrating an example of annotation work performed by an annotator. The left part of FIG. 8 shows annotations to a converted image of an interior image, and the right part of FIG. 8 shows annotations to a converted image of an exterior image. The annotator assigns information to the converted image of the interior image, indicating whether the driver's gaze direction ED1 shown in the converted image is appropriate for the situation shown in the converted image of the exterior image at the same time (e.g., 1 if appropriate, 0 if inappropriate). For example, in the case of FIG. 8 , the converted image of the exterior image indicates the presence of a pedestrian on the left side of the vehicle's traveling direction, while the converted image of the interior image indicates the driver is looking leftward. In other words, since it is assumed that the driver is paying appropriate attention to pedestrians, the annotator assigns information indicating that the driver's gaze direction ED1 is appropriate (i.e., 1).

[0050] Furthermore, the annotator specifies a risk area RA for the converted image of the vehicle exterior image, excluding, for example, people who have been pixelated. Because the image conversion unit 140 and the image determination unit 150 convert the face of the person in the original image into the face of another person, the privacy of that person is protected. At the same time, because the face direction and gaze direction of the person are maintained even after conversion, the annotator can accurately specify the risk area RA while referring to the face direction and gaze direction of the other person in the converted image. This makes it possible to more easily and reliably detect the face area of ​​the image to be anonymized.

[0051] When the annotated image data 178 is stored in the storage unit 170, the trained model generation unit 160 uses an arbitrary machine learning model and the annotated image data 178 as training data to generate a trained model. As described above, this trained model is, for example, a behavior prediction model that, in response to an input of an exterior vehicle image, outputs the predicted behavior (trajectory) of a person depicted in the exterior vehicle image, or, in response to input of an interior vehicle image and an exterior vehicle image, takes into account the line of sight of the driver depicted in the interior vehicle image to call attention to a pedestrian depicted in the exterior vehicle image. The trained model generation unit 160 stores the generated trained model in the storage unit 170 as the trained model 180.

[0052] When the trained model 180 is generated, the transmission / reception control unit 120 distributes the generated trained model 180 to the vehicle M2 via the network NW. When the vehicle M2 receives the trained model 180, the vehicle M2 uses the trained model 180 (more precisely, an application program that utilizes the trained model 180) to provide driving assistance to the driver of the vehicle M2.

[0053] FIG. 9 is a diagram illustrating an example of driving assistance using a trained model 180. FIG. 9 illustrates an example in which a vehicle M2 inputs interior and exterior images captured by a camera mounted thereon while traveling into the trained model 180, and the trained model 180 outputs information to an HMI (human machine interface) to alert the driver to a pedestrian depicted in the exterior image, taking into account the driver's line of sight depicted in the interior image. As shown in FIG. 9 , for example, the HMI displays a risk area RA2 corresponding to a pedestrian P5 depicted in the exterior image, and, if the driver's line of sight depicted in the interior image is not directed toward the pedestrian P5, outputs a warning message ("Please be careful not to look away from the road") as text information or audio information. This makes it possible to realize driving assistance that takes into account the driver's state.

[0054] Next, the flow of processing executed by the image processing device 100 will be described with reference to Figures 10 and 11. Figure 10 is a diagram showing an example of the flow of processing executed by the image conversion unit 140. The processing shown in Figure 10 is executed, for example, when an interior image or an exterior image is captured by a camera mounted on the vehicle M1 and processed by the image processing unit 130.

[0055] First, the image conversion unit 140 acquires a captured image included in the captured image data 172 that has been processed by the image processing unit 130 (step S100). Next, the image conversion unit 140 selects one face that appears in the acquired captured image (step S102).

[0056] Next, the image conversion unit 140 determines whether the size of the selected face is equal to or greater than a first threshold Th1 (step S104). If it is determined that the size of the selected face is equal to or greater than the first threshold Th1, the image conversion unit 140 converts the selected face into the face of another person (step S106). On the other hand, if it is determined that the size of the selected face is less than the first threshold Th1, the image conversion unit 140 next determines whether the distance of the selected face is equal to or less than a second threshold Th2 (step S108).

[0057] If it is determined that the distance of the selected face is equal to or less than the second threshold Th2, the image conversion unit 140 proceeds to step S106 and converts the face into the face of another person. On the other hand, if it is determined that the distance of the selected face is greater than the second threshold Th2, the image conversion unit 140 applies mosaic processing to the face (step S110). Next, the image conversion unit 140 determines whether the processing has been performed on all faces captured in the acquired captured image (step S112).

[0058] If it is determined that the processing has been performed on all faces appearing in the acquired captured image, the image conversion unit 140 acquires the image obtained by performing the processing on all faces as a converted image and stores it in the storage unit 170 as converted image data 174 (step S114). On the other hand, if it is determined that the processing has not been performed on all faces appearing in the acquired captured image, the image conversion unit 140 returns the processing to step S102. This ends the processing of this flowchart.

[0059] Fig. 11 is a diagram showing an example of the flow of processing executed by the image determination unit 150. The processing shown in Fig. 11 is executed, for example, at the timing when a time-series converted image is obtained by performing the above-described conversion processing on a time-series captured image taken during one driving cycle of the vehicle M1 from start to stop.

[0060] First, the image determination unit 150 acquires one converted image (step S200). Next, the image determination unit 150 selects one person from the acquired converted image (step S202). Next, the image determination unit 150 determines whether the acquired person satisfies predetermined requirements for existence compatibility (step S204). If it is determined that the acquired person satisfies the predetermined requirements for existence compatibility, the image determination unit 150 then determines whether the acquired converted image is an in-vehicle image (step S206). On the other hand, if it is determined that the acquired person does not satisfy the predetermined requirements for existence compatibility, the image determination unit 150 causes the image conversion unit 140 to perform anonymization processing again on the input image corresponding to the converted image (step S208). Then, the image determination unit 150 performs the processing of step S202 again on the re-converted image.

[0061] If it is determined in step S206 that the converted image is an in-vehicle image, the image determination unit 150 determines whether the gaze direction and facial direction of these faces match those of the image before conversion (step S210). On the other hand, if it is determined that the acquired converted image is not an in-vehicle image, i.e., an outside-vehicle image, the image determination unit 150 determines whether the facial direction of these faces matches those of the image before conversion (step S212). If it is determined that they do not match in the processing of step S210 or step S212, the image determination unit 150 proceeds to step S208.

[0062] If a match is determined in step S210 or step S212, the image determination unit 150 determines that these faces have been converted normally and determines whether processing has been performed on all faces appearing in the converted images (step S214). If it is determined that processing has been performed on all faces appearing in the time-series converted images, the image determination unit 150 acquires these time-series converted images as annotation images and causes the transmission / reception control unit 120 to transmit the acquired annotation images to the terminal device 200 (step S216). On the other hand, if it is determined that processing has not been performed on all faces appearing in the time-series converted images, the image determination unit 150 returns the processing to step S202, thereby ending the processing of this flowchart.

[0063] According to the present embodiment described above, a person is extracted from a converted image obtained by performing image conversion processing on an input image, and it is determined whether the extracted person satisfies the requirements for suitability of the presence of a person. Based on the determination result, a predetermined process is performed on the converted image. This makes it possible to more easily and reliably detect a face area in an image to be anonymized.

[0064] The above-described embodiment can be expressed as follows: An image processing device comprising: a storage medium storing computer-readable instructions; and a processor connected to the storage medium, wherein the processor executes the computer-readable instructions to: extract a person region representing a person from a converted image obtained by performing image conversion processing on an input image; determine whether the extracted person region satisfies requirements related to the suitability of the presence of the person; and perform predetermined processing on the converted image based on the result of the determination.

[0065] The above describes the form for carrying out the present invention using an embodiment, but the present invention is not limited to such an embodiment, and various modifications and substitutions can be made within the scope that does not deviate from the gist of the present invention.

[0066] 100 Image processing device 110 Communication unit 120 Transmission / reception control unit 130 Image processing unit 140 Image conversion unit 150 Image determination unit 160 Trained model generation unit 170 Storage unit 172 Captured image data 174 Converted image data 176 Annotation image data 178 Annotated image data 180 Trained model

Claims

1. An image processing device comprising: an extraction unit that extracts a person from a converted image obtained by applying image conversion processing to an input image; and a processing unit that determines whether the extracted person satisfies requirements regarding the suitability of the person's presence, and applies a specified processing to the converted image based on the result of the determination.

2. The image processing device according to claim 1, wherein the extraction unit extracts the face of the person from the converted image as the person, and the requirement for suitability of the presence of the person is that parts other than the face of the person are recognized around the face.

3. The image processing device according to claim 1, wherein the requirement regarding suitability of the presence of the person is that the area in the converted image in which the person is present is recognized as an area through which pedestrians can pass.

4. The image processing device according to claim 1, wherein the requirement regarding suitability of the presence of the person is that the person is also present in the transformed images at previous and subsequent points in time among the transformed images in the time series.

5. The image processing device according to claim 1, wherein, when the judgment result as to whether the requirements regarding the suitability of the presence of the person are met is negative, the processing unit deletes the converted image or applies the image conversion process to the input image again as the specified processing.

6. The image processing device according to claim 1, wherein, when the result of the determination as to whether the requirements regarding suitability of the presence of a person are satisfied is affirmative, the processing unit stores the converted image as learning data as the predetermined process.

7. An image processing device according to any one of claims 1 to 6, wherein the image conversion process is a process of changing the face of the person into the face of another person while matching the orientation of the face of the person before and after the image conversion process.

8. An image processing method, in which a computer extracts a person from a converted image obtained by applying image conversion processing to an input image, determines whether the extracted person satisfies requirements regarding the suitability of the person's presence, and applies a specified process to the converted image based on the result of the determination.

9. A program that causes a computer to extract a person from a converted image obtained by applying image conversion processing to an input image, determine whether the extracted person satisfies requirements regarding the suitability of the person's presence, and apply a specified process to the converted image based on the result of the determination.

Citation Information

Patent Citations

  • Face detector, image pickup device, and face detecting method

    JP2008040710A

  • Speaker recognition system, speaker recognition method, and speaker recognition program

    JP2021105808A

  • Face Anonymization in Digital Images

    US20220148243A1