Image processing device, image processing method, and non-transitory computer-readable medium

The image processing device accurately detects human regions and performs masking by combining person and face area detection with adjustable thresholds and conditions, addressing the challenge of incomplete masking in existing technologies and ensuring effective personal information protection.

WO2024195126A1PCT designated stage expired Publication Date: 2024-09-26NEC CORP
View PDF 3 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing image processing technologies fail to accurately detect human regions in images, leading to incomplete or ineffective masking of personal information, especially in cases where detection accuracy is low due to environmental factors.

Method used

An image processing device and method that includes an image acquisition unit, person area detection unit, person likelihood calculation unit, face area detection unit, and masking units to accurately detect human regions and perform masking based on likelihood thresholds and predetermined conditions, ensuring effective protection of personal information.

Benefits of technology

The solution enables accurate detection and masking of human regions, even in scenarios with low detection accuracy, ensuring robust protection of personal information by utilizing a combination of person and face area detection with adjustable masking thresholds and conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023011578_26092024_PF_FP
    Figure JP2023011578_26092024_PF_FP
Patent Text Reader

Abstract

An image processing device (100) comprises an image acquisition unit (110) that acquires an image, a person region detection unit (120) that detects a person region presumed to be a person from the image, a person likelihood calculation unit (130) that calculates a likelihood for the person detected at detection of the person region, a first masking unit (140) that masks at least a portion of the person region when the calculated likelihood for the person is at or above a threshold value, a face region detection unit (150) that detects a face region presumed to be the face of the person from the image for which the person region was detected, and a second masking unit (160) that masks at least a portion of the person region and the face region when the calculated likelihood for the person is below the threshold value and the person region and the face region satisfy a prescribed condition.
Need to check novelty before this filing date? Find Prior Art

Description

Image processing device, image processing method and non-transitory computer-readable medium

[0001] The present disclosure relates to an image processing device, an image processing method, and a non-transitory computer-readable medium.

[0002] Video footage captured by on-board cameras such as dashcams is collected and used for various purposes. When a person or other object is captured in the video, the area in which the person is captured may be masked to protect personal information.

[0003] Patent Document 1 describes a technique for performing concealment processing, such as mosaic or blurring, on the area of ​​a non-monitored person whose privacy is to be protected, based on an evaluation value for each person.

[0004] JP 2011-130203 A

[0005] However, there are cases where people cannot be detected properly, and therefore, in order to protect personal information, it may not be possible to perform masking processing on the detected people.

[0006] The present disclosure has been made to solve such problems, and aims to provide an image processing device, an image processing method, and a non-transitory computer-readable medium that can accurately detect human areas from an image and perform masking processing.

[0007] An image processing device according to one aspect of the present disclosure includes: an image acquisition unit that acquires an image; a person area detection unit that detects a person area that is estimated to be a person from the image; a person likelihood calculation unit that calculates the likelihood of the person detected when detecting the person area; a first masking unit that masks at least a portion of the person area if the calculated likelihood of the person is equal to or greater than a threshold; a face area detection unit that detects a face area that is estimated to be the face of a person from the image in which the person area has been detected; and a second masking unit that masks at least a portion of the person area and the face area if the calculated likelihood of the person is less than a threshold and the person area and the face area satisfy a predetermined condition.

[0008] An image processing method according to one aspect of the present disclosure includes acquiring an image, detecting a person region from the image that is estimated to be a person, calculating a likelihood of the person detected when detecting the person region, and masking at least a portion of the person region if the calculated likelihood of the person is equal to or greater than a threshold, detecting a face region that is estimated to be the face of the person from the image in which the person region was detected, and masking at least a portion of the person region and the face region if the calculated likelihood of the person is less than a threshold and the person region and the face region satisfy predetermined conditions.

[0009] A non-transitory computer-readable medium according to one aspect of the present disclosure stores a program that causes a computer to acquire an image, detect a person region that is estimated to be a person from the image, calculate a likelihood of the person detected when the person region is detected, and mask at least a portion of the person region if the calculated likelihood of the person is equal to or greater than a threshold, detect a face region that is estimated to be a person's face from the image in which the person region is detected, and mask at least a portion of the person region and the face region if the calculated likelihood of the person is less than a threshold and the person region and the face region satisfy predetermined conditions.

[0010] According to the present disclosure, it is possible to provide an image processing device or the like that can accurately detect a person area from an image and perform masking processing.

[0011] 1 is a block diagram showing the configuration of an image processing device according to embodiment 1. FIG. 2 is a diagram showing an example of an acquired video frame according to embodiment 1. FIG. 3 is a diagram showing another example of an acquired video frame according to embodiment 1. FIG. 4 is a flowchart showing an image processing method according to embodiment 1. FIG. 5 is a block diagram showing the configuration of an image processing system according to embodiment 2. FIG. 6 is a block diagram showing the configuration of an image processing device according to embodiment 2. FIG. 7 is a flowchart showing an image processing method according to embodiment 2.

[0012] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings. In each drawing, the same or corresponding elements are denoted by the same reference numerals, and redundant description will be omitted as necessary for clarity of description. <Embodiment 1> FIG. 1 is a block diagram showing the configuration of an image processing device 100 according to embodiment 1. When an image acquired from a camera capturing an image of the surroundings of a vehicle includes a person, the image processing device 100 performs a masking process to conceal the person and their clothing so that they cannot be identified. The image processing device 100 includes an image acquisition unit 110, a person area detection unit 120, a person likelihood calculation unit 130, a first masking unit 140, a face area detection unit 150, and a second masking unit 160. The image processing device 100 may be realized by a computer having a processor, memory, etc. The image processing device 100 is connected to a wired or wireless network (not shown). A camera (not shown) capturing an image of the surroundings of the vehicle is connected to the network. The image captured by the camera is a video and includes multiple consecutive frames arranged in chronological order of capture time. Here, a frame is still image data captured by a camera.

[0013] The image acquisition unit 110 acquires image frames of video captured by a camera installed in a vehicle or near a road. The video may include multiple frames. The video captured by the camera is transmitted to the image processing device 100 via a network.

[0014] The person area detection unit 120 detects a person area that is estimated to be a person from the video acquired by the image acquisition unit 110. Specifically, the person area detection unit 120 uses a known person area detection engine to detect a person area for each frame included in the video.

[0015] The person likelihood calculation unit 130 uses a known person region detection engine to calculate the likelihood of a person detected during person region detection. Generally, the person likelihood is a value ranging from 0 to 100%, and the higher the value, the higher the probability that the detected object is a person. The person likelihood is also referred to as a person detection score, etc. The person detection score is a higher value in areas where a person is likely to be present compared to other areas. The predetermined person detection score threshold is a preset value and is used when detecting people from frames constituting a video. The person detection score threshold may be set to a different value depending on the area within the frame. Note that in this specification, machine learning may be, but is not limited to, deep learning. Furthermore, the method of calculating the person detection score is not limited to the above, and other existing technologies may be applied.

[0016] If the calculated likelihood of a person is equal to or greater than a threshold (e.g., 80% or greater), the first masking unit 140 can mask at least a portion (e.g., a portion corresponding to a face, clothing, etc.) or all of the person region. That is, if the object detected by the person detection engine is highly likely to be a person, the first masking unit 140 performs various concealment processes to prevent the person from being identified. Examples of masking include, but are not limited to, filling in, mosaic-ing, and blurring at least a portion of the person region and face region. Various masking techniques that are understandable to those skilled in the art can be used. In addition, in some embodiments, a range that at least partially extends the person region can also be masked.

[0017] If the calculated likelihood of a person is less than a threshold (e.g., less than 80%), the face area detection unit 150 detects a face area estimated to be a person's face from the image in which the person area has been detected. Specifically, the face area detection unit 150 uses a known person face area detection engine to detect a person's face area for each frame included in the video. The face area detection unit 150 also detects a person's face area in the image frame in which the person area detection unit 120 has detected a person area. Note that the recognition accuracy of the above-mentioned person detection engine and the person face detection engine may differ even for the same person. In some examples, for example, the recognition accuracy of the person face detection engine may be higher than the person recognition accuracy of the person detection engine.

[0018] If the calculated likelihood of a person is less than a threshold (e.g., less than 80%) and the person region and face region satisfy predetermined conditions, the second masking unit 160 masks at least a part or all of the person region and face region. The masking methods of the first masking unit 140 and the second masking unit 160 may basically be the same. The predetermined conditions include, for example, that the degree of overlap between the person region and face region is equal to or greater than a threshold, that the distance between the person region and the face region is equal to or greater than a threshold, and the positional relationship between the person region and the face region. Details will be described later.

[0019] FIG. 2 shows an example of a frame 10 included in the acquired video. The frame 10 shown in FIG. 2 depicts a person 30 walking on the sidewalk and a vehicle 40 traveling ahead on a roadway 50. In the example shown in FIG. 2, the person region detection unit 120 detects a person region R1, which is a region including an image of the person 30. The person likelihood calculation unit 130 calculates the likelihood of the person, and if the calculated likelihood is less than a threshold (e.g., less than 80%, e.g., 50%), it is uncertain whether the person is a person. For example, at night or in rainy weather, the person detection accuracy of the person region detection unit 120 may decrease. Therefore, in the present disclosure, a face region detection engine is used to determine the likelihood of a person and a masking process is performed to ensure personal information protection. Specifically, the face region detection unit 150 performs face detection processing on the same frame 10 in which the person region was detected. In FIG. 2, the face region R2 of the detected person is included in the detected person region R1. In other words, the overlapping degree between the person region R1 and the face region R2 is 100% (>threshold value = 20%, 30%, 50%, etc.). Therefore, when the overlapping degree between the person region and the face region satisfies the condition that it is equal to or greater than the threshold value, the second masking unit 160 can determine that there is a high possibility that the region is a person, and masks at least a part of the person region and the face region.

[0020] FIG. 3 shows another example of a frame 10 included in the acquired video. In the example of FIG. 3, the person region R1 detected by the person region detection unit 120 includes only the body part of the person 30. In this case, the face region R2 detected by the face region detection unit 150 is not included in the person region R1. That is, the overlap between the person region R1 and the face region R2 is 0% (<threshold = 20%), so masking processing is not performed under the above-mentioned conditions. However, because the distance between the person region R1 and the face region R2 is below the threshold (the person region R1 and the face region R2 are close to each other), the second masking unit can determine that the person region R1 is likely to be a person and can mask at least a portion of the person region and the face region. Note that the distance between the center of the rectangle representing the person region R1 (or the center of the upper part of the rectangle) and the center of the rectangle representing the face region R2 can be used to determine the distance between the person region R1 and the face region R2.

[0021] It should be noted that the predetermined conditions described here are merely examples, and various conditions that can be understood by a person skilled in the art and that can determine that an image is a person from the relationship between a person area and a face area can be used. Although not shown, the display screen may also display the likelihood of a person along with the detected person area.

[0022] The image processing device 100 includes a processor, a memory, and a storage device (not shown). The storage device stores a computer program that implements the image processing method according to this embodiment. The processor then loads the computer program from the storage device into the memory and executes the computer program. As a result, the processor realizes the functions of an image acquisition unit 110, a person area detection unit 120, a person likelihood calculation unit 130, a first masking unit 140, a face area detection unit 150, and a second masking unit 160.

[0023] Furthermore, the image acquisition unit 110, the person area detection unit 120, the person likelihood calculation unit 130, the first masking unit 140, the face area detection unit 150, and the second masking unit 160 may each be realized by dedicated hardware. Furthermore, some or all of the components of each device may be realized by general-purpose or dedicated circuits, processors, etc., or a combination thereof. These may be configured by a single chip, or may be configured by multiple chips connected via a bus. Some or all of the components of each device may be realized by a combination of the above-mentioned circuits, etc., and a program. Furthermore, a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), an FPGA (Field-Programmable Gate Array), etc. may be used as the processor.

[0024] Furthermore, when some or all of the components of the image processing device 100 are realized by multiple information processing devices, circuits, etc., the multiple information processing devices, circuits, etc. may be centrally or decentralized. For example, the information processing devices, circuits, etc. may be realized as a client-server system, a cloud computing system, or the like, in which they are connected via a communication network. Furthermore, the functions of the image processing device 100 may be provided in a SaaS (Software as a Service) format.

[0025] 4 is a flowchart showing an image processing method according to embodiment 1. The image acquisition unit 110 acquires image frames of video captured by a camera installed near a vehicle or a road (step S101). The acquired image frames are stored in a storage device together with the time of acquisition, acquired location information (e.g., latitude and longitude), and other information (e.g., weather at that location).

[0026] The person area detection unit 120 detects a person area estimated to be a person from the video acquired by the image acquisition unit 110 using a known person area detection engine (step S102). The person likelihood calculation unit 130 calculates the likelihood of the person detected during the person area detection using the known person area detection engine (step S103). The person area detection and the person likelihood calculation can generally be performed simultaneously using the person area detection engine.

[0027] If the calculated likelihood of a person is equal to or greater than a threshold (i.e., if the probability that the detected object is a person is high) (Yes in step S104), the first masking unit 140 masks at least a part or all of the person area (step S105). Image processing then ends. As a result, if the object detected in the image frame is highly likely to be a person using the person area detection engine, a person concealment process is performed.

[0028] On the other hand, even if the calculated likelihood of a person is less than the threshold (i.e., the probability that the detected target is a person is relatively low) (No in step S104), if a predetermined condition is met, masking processing can be performed to ensure personal information protection. The face area detection unit 150 detects a face area estimated to be a person's face from the image in which the person area has been detected (step S106). Next, if the detected person area and face area meet a predetermined condition (Yes in step S107), the second masking unit 160 masks at least a portion of the person area and face area (step S108). This makes it possible to accurately detect people whose personal information should be protected and perform masking processing, even if the detection accuracy of the person detection engine is poor (for example, due to external environmental factors such as weather).

[0029] 5 is a block diagram showing the configuration of an image processing system 200 according to a second embodiment. The image processing system 200 may include at least an image capturing device 310 and an image processing device 400. The image capturing device 310 is connected to the image processing device 400 via a network 500. Note that descriptions that overlap with those of the first embodiment will be omitted as appropriate.

[0030] The image processing system 200 is a system for detecting a person from video captured by a camera device 310 mounted on a vehicle 300. The vehicle 300 is, for example, an automobile, but may also be a vehicle other than an automobile, such as a motorcycle or bicycle. The vehicle 300 is equipped with the camera device 310. The camera device 310 is a device that captures the scenery around the vehicle 300, such as a drive recorder. The camera device 310 includes a camera unit 311 and a communication unit 312. The camera unit 311 is a camera. The camera unit 311 captures, for example, the scenery ahead of the vehicle 300, i.e., the scenery that can be seen by a driver seated in the driver's seat of the vehicle 300. The orientation of the camera unit 311 can be changed as desired, or it may be omnidirectional. The communication unit 312 is a communication interface with the network 500. The communication unit 312 transmits the video captured by the camera unit 311 to the image processing device 400 via the network 500.

[0031] Next, the configuration of the image processing device 400 will be described in detail with reference to Fig. 6. Fig. 6 is a block diagram showing the configuration of the image processing device 400. The image processing device 400 includes a memory 410, a communication unit 420, a storage unit 430, and a control unit 440.

[0032] The memory 410 is a storage area that temporarily stores processing contents of the control unit 440 and is a volatile storage device such as a RAM (Random Access Memory). The communication unit 420 is an interface that communicates with the outside of the image processing device 400. The storage unit 430 is a storage device that stores a first threshold 431 of person likelihood, a second threshold 432, a predetermined condition 433, a program 434, and the like. The first threshold 431 of person likelihood may be, for example, 80% and is a numerical value used by a first masking unit 445 (described below) when determining whether to mask a person detected from a frame included in a video. The first threshold 431 of person likelihood may be set to a different value for each frame or depending on the region within a frame. The second threshold 432 of person likelihood may be, for example, 20%. If the detected person likelihood is less than the second threshold 432, the first masking unit 445 determines that the detected object is not a target for masking processing and refrains from masking processing.

[0033] If the likelihood of a person is less than the first threshold 431 and greater than or equal to the second threshold 432, there is a possibility that the detected subject is a person whose personal information should be protected, and therefore, a predetermined condition 433 specifies another condition for the masking process. The predetermined condition 433 includes the degree of overlap between the person region and the face region being greater than or equal to a threshold, the distance between the person region and the face region being greater than or equal to a threshold, the positional relationship between the person region and the face region, etc. Furthermore, a program 434 is a computer program in which the image processing procedure according to this embodiment is implemented.

[0034] The control unit 440 includes an image acquisition unit 441, a person area detection unit 442, a person likelihood calculation unit 443, a face area detection unit 444, a first masking unit 445, and a second masking unit 446. The control unit 440 is a control device that controls the operation of the image processing device 400, and is, for example, a processor such as a CPU. The control unit 440 loads the program 434 from the storage unit 430 into the memory 410 and executes it. In this way, the control unit 440 realizes the functions of the image acquisition unit 441, the person area detection unit 442, the person likelihood calculation unit 443, the face area detection unit 444, the first masking unit 445, and the second masking unit 446.

[0035] The image acquisition unit 441 acquires the video transmitted from the image capture device 310. The video includes a plurality of consecutive frames. The video may also include identification information, time information, and the like. The identification information is information for identifying the vehicle 300 in which the image capture device 310 that captured the video is installed. The time information is information about the time the video was captured.

[0036] The person area detection unit 442 detects a person area for each frame included in the video captured by the image capture unit 110. The person likelihood calculation unit 443 calculates the person likelihood in the person area detected by the person area detection unit 442. The face area detection unit 444 detects a face area estimated to be a person's face from the image frame in which the person area has been detected. In some embodiments, the person area detection unit 442 can also identify attributes of the person (e.g., age, gender, race, etc.).

[0037] The first masking unit 445 performs masking processing when the calculated likelihood of a person for the detected object in the frame is equal to or greater than a first threshold (e.g., 80% or greater). On the other hand, the first masking unit 445 can refrain from masking processing when the calculated likelihood of a person for the detected object in the frame is equal to or greater than a second threshold (e.g., less than 20%).

[0038] If the likelihood of a person is less than the first threshold (e.g., less than 80%) and greater than or equal to the second threshold (e.g., 20% or greater), it can be determined that the detected object is a person based on the relationship between the person area detected by the person area detection unit 442 and the face area detected by the face area detection unit 444.

[0039] The second masking unit 446 masks at least a portion of the person region and the face region when the calculated likelihood of the person is less than the first threshold and greater than or equal to the second threshold, and when the person region and the face region satisfy predetermined conditions. Here, the masking process refers to image processing performed on the region so that the person cannot be identified, such as a solid-coloring process or a filtering process. The first masking unit 445 and the second masking unit 446 may also perform a masking process on a portion of the person image region (e.g., a portion corresponding to the face). The masking process may include filling in, mosaic generation, or blurring. Alternatively, the masking process may change the avatar to one that resembles the person's attributes while respecting the protection of personal information.

[0040] Next, an image processing method according to the second embodiment will be described with reference to Fig. 7. The image acquisition unit 441 acquires image frames of video captured by a camera installed near a vehicle or a road (step S201). The acquired image frames are stored in a storage device together with the time of acquisition, acquired location information (e.g., latitude and longitude), and other information (e.g., weather at that location).

[0041] The person area detection unit 442 detects a person area estimated to be a person from the video acquired by the image acquisition unit 441 using a known person area detection engine (step S202). The person likelihood calculation unit 443 calculates the likelihood of a person detected during person area detection using a known person area detection engine (step S203). Person area detection and person likelihood calculation can generally be performed simultaneously using a person detection engine. The face area detection unit 444 detects a face area estimated to be a person's face from the image frame in which the person area was detected (step S204).

[0042] If the calculated likelihood of a person is equal to or greater than the first threshold (i.e., if the probability that the detected object is a person is high) (Yes in step S205), the first masking unit 415 masks at least a part or all of the person area and face area (step S206). As a result, if the probability that the object detected in the image frame is a person is high, a person concealment process is performed using the person detection engine. Then, the image processing ends.

[0043] On the other hand, even if the calculated likelihood of a person is less than a first threshold (e.g., 80%) (i.e., the probability that the detected object is a person is relatively low) (No in step S205), if it is equal to or greater than a second threshold (e.g., 20%) (Yes in step S207) and the following predetermined conditions are met, a masking process is performed. This ensures the protection of personal information. If the detected person area and face area meet predetermined conditions (Yes in step S208), the second masking unit 416 masks at least a portion of the person area and face area (step S209). This makes it possible to accurately detect people whose personal information should be protected and perform a masking process using the detection results of the face area detection engine, even if the detection accuracy of the person detection engine is poor (e.g., due to external environmental factors such as weather).

[0044] If the calculated likelihood of a person is less than a second threshold (e.g., 20%) (i.e., the probability that the detected object is a person is very low) (No in step S207), the detected object is determined to be not a person, and masking processing can be refrained from. This allows the collected images to be utilized for multiple purposes.

[0045] Although the above-described embodiment has been described as a hardware configuration, the present disclosure is not limited to this. The processes described in Figures 4 and 7 can also be realized by causing a CPU to execute a computer program.

[0046] In the above examples, the program includes instructions (or software code) that, when loaded into a computer, cause the computer to perform one or more functions described in the embodiments. The program may be stored on a non-transitory computer-readable medium or a tangible storage medium. By way of example and not limitation, computer-readable medium or tangible storage medium includes random-access memory (RAM), read-only memory (ROM), flash memory, solid-state drive (SSD) or other memory technology, CD-ROM, digital versatile disc (DVD), Blu-ray disc or other optical disk storage, magnetic cassette, magnetic tape, magnetic disk storage or other magnetic storage device. The program may also be transmitted on a transitory computer-readable medium or communication medium. By way of example and not limitation, transitory computer-readable medium or communication medium includes electrical, optical, acoustic, or other forms of propagated signals.

[0047] The present disclosure is not limited to the above-described embodiments and may be modified as appropriate without departing from the spirit and scope of the present disclosure. Furthermore, the present disclosure may be implemented by appropriately combining the respective embodiments. The masking target may include not only a person's face but also clothing and the like that may lead to the identification of the person. Furthermore, the image capture device 310 of each vehicle 300 may be equipped with the functions of the person area detection unit 120, person likelihood calculation unit 130, first masking unit 140, face area detection unit 150, and second masking unit 160 of the image processing device 100. Similarly, the image capture device 310 of each vehicle 300 may be equipped with the functions of the person area detection unit 442, person likelihood calculation unit 443, face area detection unit 444, first masking unit 445, and second masking unit 446 of the image processing device 400. This allows the image capture device 310 of each vehicle 300 to individually perform person detection and masking processing.

[0048] Although the present invention has been described above with reference to the embodiments, the present invention is not limited to the above-described embodiments. Various modifications that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention.

[0049] Some or all of the above embodiments can be described as, but are not limited to, the following supplementary notes. (Supplementary Note 1) An image processing device comprising: an image acquisition unit that acquires an image; a person region detection unit that detects a person region estimated to be a person from the image; a person likelihood calculation unit that calculates the likelihood of the person detected when detecting the person region; a first masking unit that masks at least a portion of the person region if the calculated likelihood of the person is equal to or greater than a threshold; a face region detection unit that detects a face region estimated to be the face of the person from the image in which the person region is detected; and a second masking unit that masks at least a portion of the person region and the face region if the calculated likelihood of the person is less than the threshold and the person region and the face region satisfy a predetermined condition. (Supplementary Note 2) The image processing device according to Supplementary Note 1, wherein the predetermined condition is that the degree of overlap between the person region and the face region is equal to or greater than a threshold. (Supplementary Note 3) The image processing device according to Supplementary Note 1, wherein the predetermined condition is that the distance between the person region and the face region is equal to or less than a threshold. (Supplementary Note 4) The image processing device according to Supplementary Note 1, wherein the masking includes filling in, mosaicking, or blurring at least a portion of the person region and the face region. (Supplementary Note 5) The image processing device according to Supplementary Note 1, wherein the masking includes placing an avatar in the person region and the face region. (Supplementary Note 6) The image processing device according to Supplementary Note 1, wherein the image acquisition unit acquires an image captured by a camera installed in a vehicle. (Supplementary Note 7) An image processing method comprising: acquiring an image; detecting a person region estimated to be a person from the image; calculating a likelihood of the person detected when detecting the person region; and masking at least a portion of the person region if the calculated likelihood of the person is equal to or greater than a threshold; detecting a face region estimated to be a person's face from the image in which the person region was detected; and masking at least a portion of the person region and the face region if the calculated likelihood of the person is less than a threshold and the person region and the face region satisfy a predetermined condition.(Supplementary Note 8) A non-transitory computer-readable medium storing a program that causes a computer to perform the following steps: acquire an image; detect a person area that is estimated to be a person from the image; calculate the likelihood of the person detected when detecting the person area; mask at least a portion of the person area if the calculated likelihood of the person is equal to or greater than a threshold; detect a face area that is estimated to be the face of a person from the image in which the person area has been detected; and mask at least a portion of the person area and the face area if the calculated likelihood of the person is less than a threshold and the person area and the face area satisfy predetermined conditions.

[0050] 10 Frame 30 Person 40 Vehicle 50 Roadway 100 Image processing device 110 Image acquisition unit 120 Person area detection unit 130 Person likelihood calculation unit 140 First masking unit 150 Face area detection unit 160 Second masking unit 400 Image processing device 410 Memory 420 Communication unit 430 Storage unit 431 First threshold 432 Second threshold 433 Predetermined condition 434 Program 440 Control unit 441 Image acquisition unit 442 Person area detection unit 443 Person likelihood calculation unit 444 Face area detection unit 445 First masking unit 446 Second masking unit 200 Image processing system 300 Vehicle 310 Imaging device 311 Imaging unit 312 Communication unit 500 Network R1 Person area R2 Face area

Claims

1. An image processing device comprising: an image acquisition unit that acquires an image; a person region detection unit that detects a person region presumed to be a person from the image; a person likelihood calculation unit that calculates the likelihood of the person detected when detecting the person region; a first masking unit that masks at least a portion of the person region if the calculated likelihood of the person is equal to or greater than a threshold; a face region detection unit that detects a face region presumed to be a person's face from the image in which the person region was detected; and a second masking unit that masks at least a portion of the person region and the face region if the calculated likelihood of the person is less than a threshold and the person region and the face region satisfy predetermined conditions.

2. The image processing device according to claim 1, wherein the predetermined condition is that the degree of overlap between the person area and the face area is equal to or greater than a threshold value.

3. The image processing device according to claim 1, wherein the predetermined condition is that the distance between the person area and the face area is equal to or less than a threshold value.

4. The image processing device according to claim 1, wherein the masking includes painting, mosaicking, or blurring at least a portion of the person region and the face region.

5. The image processing device according to claim 1, wherein the masking step includes placing an avatar in the person region and the face region.

6. An image processing method comprising: acquiring an image; detecting a person area presumed to be a person from the image; calculating a likelihood of the person detected when detecting the person area; masking at least a portion of the person area if the calculated likelihood of the person is equal to or greater than a threshold; detecting a face area presumed to be a person's face from the image in which the person area was detected; and masking at least a portion of the person area and the face area if the calculated likelihood of the person is less than a threshold and the person area and the face area satisfy predetermined conditions.

7. A non-transitory computer-readable medium storing a program that causes a computer to execute the following steps: acquire an image; detect a person area from the image that is estimated to be a person; calculate a likelihood of the person detected when detecting the person area; mask at least a portion of the person area if the calculated likelihood of the person is equal to or greater than a threshold; detect a face area that is estimated to be a person's face from the image in which the person area was detected; and mask at least a portion of the person area and the face area if the calculated likelihood of the person is less than a threshold and the person area and the face area satisfy predetermined conditions.

Citation Information

Patent Citations

  • Information processing device and program

    JP2014085796A

  • Imaging system, and display method of image or video image

    JP2017188771A

  • Detection device, detection method, and detection program

    JP2023020504A