Image processing device, image processing method, and non-transitory computer-readable medium
The image processing device accurately detects and masks human regions by estimating body parts from face areas, addressing the challenge of incomplete personal information protection in existing technologies.
Patent Information
- Application Number
- PCT/JP2023/011580
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-23
- Publication Date
- 2024-09-26
AI Technical Summary
Existing image processing technologies face challenges in accurately detecting and masking human regions in images, particularly when face detection is successful but body detection is not, leading to incomplete protection of personal information.
An image processing device and method that includes units for acquiring images, detecting person and face areas, estimating body parts from face areas when person areas are not detected, and performing masking on both face and body parts to ensure comprehensive privacy protection.
The solution enables accurate detection and masking of human regions, ensuring reliable protection of personal information even when face detection is accurate but body detection is not, thereby preventing identification based on clothing or body shape.
Smart Images

Figure JP2023011580_26092024_PF_FP
Abstract
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 a person cannot be detected properly. For example, a person's face can be detected, but some parts of the person's body cannot be detected. Personal information can also be identified from body parts based on clothing, body shape, etc. Therefore, to protect personal information, it may not be possible to reliably mask the detected person.
[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 and estimate 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 face area detection unit that detects a face area that is estimated to be the face of the person from the image; a first masking unit that, when the person area and the face area are detected from the image, masks at least a portion of the person area and the face area; a body part estimation unit that, when the face area is detected from the image but the person area is not detected, estimates a body part of the person from the face area; and a second masking unit that masks at least a portion of the detected face area and the estimated body part.
[0008] An image processing method according to one aspect of the present disclosure includes acquiring an image, detecting a person area from the image that is estimated to be a person, detecting a face area from the image that is estimated to be the person's face, and when the person area and the face area are detected from the image, masking at least a portion of the person area and the face area, and when the face area is detected from the image but the person area is not detected, estimating a body part of the person from the face area, and masking at least a portion of the detected face area and the estimated body part.
[0009] A non-transitory computer-readable medium according to one aspect of the present disclosure stores a program that causes a computer to execute the following steps: acquire an image; detect a person region that is estimated to be a person from the image; detect a face region that is estimated to be the person's face from the image; if the person region and the face region are detected from the image, mask at least a portion of the person region and the face region; if the face region is detected from the image but the person region is not detected, estimate a body part of the person from the face region; and mask at least a portion of the detected face region and the estimated body part.
[0010] 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 face area detection unit that detects a face area that is estimated to be a person's face from the image; a first masking unit that, when the person area and the face area are detected from the image, masks at least a portion of the person area and the face area; a face part estimation unit that, when the person area is detected from the image but the face area is not detected, estimates a face part from the person area; and a second masking unit that masks at least a portion of the detected person area and the estimated face part.
[0011] An image processing method according to one aspect of the present disclosure includes acquiring an image, detecting a person area from the image that is estimated to be a person, detecting a face area from the image that is estimated to be the person's face, and when the person area and the face area are detected from the image, masking at least a portion of the person area and the face area, and when the person area is detected from the image but the face area is not detected, estimating a face portion from the person area, and masking at least a portion of the detected person area and the estimated face portion.
[0012] A non-transitory computer-readable medium according to one aspect of the present disclosure stores a program that causes a computer to execute the following steps: acquire an image; detect a person area that is estimated to be a person from the image; detect a face area that is estimated to be the person's face from the image; if the person area and the face area are detected from the image, mask at least a portion of the person area and the face area; if the person area is detected from the image but the face area is not detected, estimate a face portion from the person area; and mask at least a portion of the detected person area and the estimated face portion.
[0013] According to the present disclosure, it is possible to provide an image processing device or the like that can accurately detect and estimate a person area from an image and perform masking processing.
[0014] FIG. 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 diagram showing another example of an acquired video frame according to embodiment 2. FIG. 8 is a flowchart showing an image processing method according to embodiment 2. FIG. 9 is a block diagram showing the configuration of an image processing device according to embodiment 3.
[0015] 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 a vehicle, road, or other surrounding area 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 face area detection unit 130, a first masking unit 140, a body part estimation unit 150, and a second masking unit 160. The image processing device 100 may be implemented by a computer having a processor, memory, and the like. The image processing device 100 is connected to a wired or wireless network (not shown). A camera (not shown) capturing an image of the vehicle's surroundings is connected to the network. The image captured by the camera is a video and includes multiple consecutive frames arranged in chronological order. Here, a frame is still image data captured by a camera.
[0016] 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.
[0017] 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.
[0018] The face area detection unit 130 detects a face area estimated to be a person's face from the video image acquired by the image acquisition unit 110. Specifically, the face area detection unit 130 detects a person's face area for each frame included in the video using a known person's face area detection engine. The face area detection unit 130 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.
[0019] When a person region and a face region are detected from the acquired image, the first masking unit 140 masks at least a portion of the person region and the face region (e.g., portions corresponding to the face, clothing, etc.) or all of the person region and the face region. In other words, when 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 the face region. Various masking techniques that are understandable to those skilled in the art can be used.
[0020] When a face region is detected from an image but a person region is not detected, the body part estimation unit 150 estimates the person's body part from the face region. Generally, it can be estimated from the position of the detected face region that a body part is located below. Furthermore, the person's body part may be estimated from the face region using various methods that are understandable to those skilled in the art.
[0021] The second masking unit 160 masks at least a part (parts corresponding to the face, clothing, etc.) or all of the detected face area and estimated body parts.
[0022] FIG. 2 shows an example of a frame 10 included in the acquired video. The frame 10 shown in FIG. 2 shows 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 area detection unit 120 detects a person area R1, which is an area including an image of the person 30. The face area detection unit 130 performs face detection processing on the same frame 10 in which the person area was detected. A face area R2 is detected. In this case, as described above, the first masking unit 140 masks at least a portion (e.g., portions corresponding to the face, clothing, etc.) or all of the person area and face area.
[0023] FIG. 3 shows another example of a frame 10 included in the acquired video. In the example of FIG. 3, a face region R2 is detected by the face region detection unit 130, but a person region R1 is not detected by the person region detection unit 120. In this case, it can be estimated that a body part BD of a person 30 is located between the face region R2 and the sidewalk below the face region R2. In some embodiments, the body part may be estimated statistically based on attributes of the detected face (e.g., age, gender, race). The second masking unit 160 masks at least a portion (e.g., parts corresponding to the face and clothing) or all of the detected face region and estimated body part. This ensures personal information protection even when person detection accuracy is low.
[0024] The estimation method described here is merely an example, and various estimation methods can be used based on the relationship between the face region and the body part, as understood by those skilled in the art.
[0025] 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 face area detection unit 130, a first masking unit 140, a body part estimation unit 150, and a second masking unit 160.
[0026] Furthermore, the image acquisition unit 110, the person area detection unit 120, the face area detection unit 130, the first masking unit 140, the body part estimation 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.
[0027] 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.
[0028] 4 is a flowchart showing an image processing method according to the first embodiment. The image acquisition unit 110 acquires image frames of video captured by a camera installed in a vehicle (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 the location).
[0029] 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 face area detection unit 130 detects a face area estimated to be a person's face from the video acquired by the image acquisition unit 110 using a known face area detection engine (step S103).
[0030] If both a face region and a person region are detected as a result of the face region detection and person region detection (Yes in step S104), the first masking unit 140 masks at least a part or all of the face region and the person region (step S105). Image processing then ends. This allows the person to be concealed using the person region detection engine and the face region detection engine if there is a high probability that the detected object is a person.
[0031] On the other hand, as shown in FIG. 3 , if only a face region is detected and no person region is detected (No in step S104), body parts are estimated from the face region (step S106). The second masking unit 160 masks at least a part or all of the detected face region and the estimated body parts (step S107). This makes it possible to estimate body parts from the face region and perform masking processing even when the detection accuracy of the person region detection engine is poor (for example, due to external environmental factors such as weather). Body parts can also be masked to prevent individuals from being identified based on distinctive clothing, distinctive body shape, etc.
[0032] 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.
[0033] The image processing system 200 detects and masks people 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 truck, bus, or other vehicle. The camera device 310 is installed in the vehicle 300. 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.
[0034] 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.
[0035] The memory 410 is a storage area that temporarily stores the 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 attribute information 431 of a person's face, a program 432, and the like. The attribute information 431 of a person's face may include, for example, various attributes determined from the face (e.g., gender, race, age) and physical information for each attribute. The program 432 is a computer program that implements the image processing procedure according to this embodiment.
[0036] The control unit 440 includes an image acquisition unit 441, a person area detection unit 442, a face area detection unit 443, a vehicle area detection unit 444, a first masking unit 445, a body part estimation unit 446, and a second masking unit 447. 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. As a result, the control unit 440 realizes the functions of the image acquisition unit 441, the person area detection unit 442, the face area detection unit 443, the vehicle area detection unit 444, the first masking unit 445, the body part estimation unit 446, and the second masking unit 447.
[0037] The image acquisition unit 441 acquires image frames of the video transmitted from the image capture device 310. The video includes multiple consecutive frames. The video may also include identification information, time information, and the like. The identification information is information for identifying the vehicle 300 on which the image capture device 310 that captured the video is installed. The time information is information on the time the video was captured.
[0038] The person area detection unit 442 detects a person area for each frame included in the video acquired by the image acquisition unit 110. The face area detection unit 443 detects a face area estimated to be a person's face from the image frame in which the person area has been detected. The vehicle area detection unit 444 detects a vehicle area for each frame included in the video acquired by the image acquisition unit 110. A known vehicle area detection engine can be used.
[0039] In some embodiments, the face region detection unit 443 can detect a face region of a person and identify attributes (for example, age, sex, race, etc.) of the detected face.
[0040] In some embodiments, the body part estimation unit 446 can estimate body parts according to the identified face attributes (e.g., based on statistical data for each attribute). For example, in the case of a child, the body parts may correspond to a 4-5 degree height from the detected face region. In the case of an adult male, the body parts may correspond to a 7 degree height from the detected face region. In the case of an adult female, the body parts may correspond to a 6 degree height from the detected face region. In other examples, in the case of a man with a chubby face, the width of the body parts may be estimated to be wider than that of a normal man. The width of the body parts may also be estimated according to the aspect ratio of the face.
[0041] FIG. 7 illustrates another example of an acquired video frame according to the second embodiment. In FIG. 7 , a person 30 riding in a vehicle 40 is detected. The face region detection unit 443 detects a face region R2, but the person region detection unit 442 does not detect a person region R1. Here, if the body part estimation unit 446 estimates a body part from the face region R2 and the second masking unit 447 masks the estimated body part, a portion of the vehicle will be hidden. Such an image frame may not be usable for multiple purposes. Therefore, as shown in FIG. 7 , when the face region R2 is within the vehicle region R3, neither body part estimation nor the second masking process is performed, and only the face region is masked. In FIG. 7 , the vehicle 40 is depicted as a passenger car, but it may also be a truck, bus, or other vehicle. For example, in the case of a bus, it is possible to mask only the face regions of multiple passengers and the driver.
[0042] Next, an image processing method according to the second embodiment will be described with reference to Fig. 8. The image acquisition unit 441 acquires image frames of video captured by a camera installed in a vehicle (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 the location).
[0043] 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 face area detection unit 443 detects a face area estimated to be a person's face from the image frame in which the person area has been detected (step S203). The vehicle area detection unit 444 detects a vehicle area for each frame included in the video acquired by the image acquisition unit 110 (step S204). A known vehicle area detection engine can be used.
[0044] If not only a face area but also a person area is detected (Yes in step S205), the first masking unit 445 performs masking processing on at least a part or all of the detected face area and person area in the frame (step S206).
[0045] On the other hand, as shown in FIG. 7 , if a face area is detected but no person is detected (No in step S205), or if a vehicle is detected and the face area is within the vehicle area (Yes in step S207), the face area detected by the face area detection unit 443 is masked. In other words, if the face area is within the vehicle area, no body part estimation is performed. Therefore, masking the estimated body part of the person can be prevented from concealing part of the vehicle. Therefore, unnecessary masking can be prevented while protecting personal information, and the image frame can be used for multiple purposes.
[0046] On the other hand, if a face area is detected but no person is detected (No in step S205), or if no vehicle is detected or the face area is not within the vehicle area (No in step S207), the body part estimation unit 446 estimates body parts from the face area detected by the face area detection unit 443 (step S209). The body part estimation unit 446 can also more accurately estimate body parts according to the attributes of the identified face. The second masking unit 447 masks the face area and at least a portion of the estimated body parts. Here, masking refers to image processing performed on the area to prevent the person and their clothing from being identified, such as solid painting or filtering. The first masking unit 445 and the second masking unit 447 may also perform masking on a portion of the person image area (e.g., the portion corresponding to the face). The masking processing includes filling in, mosaic generation, and blurring. Alternatively, the masking process can change a person's image into an avatar that resembles the person's attributes while respecting the protection of personal information.
[0047] 9 is a block diagram showing the configuration of an image processing device according to embodiment 3. Contrary to embodiment 1, when a person area is detected but a face area is not detected, an image processing device 100a according to this embodiment estimates a face portion of the person from the person area and masks the detected person area and the estimated face portion. Specifically, the image processing device 100a includes an image acquisition unit 110a, a person area detection unit 120a, a face area detection unit 130a, a first masking unit 140a, a face portion estimation unit 150a, and a second masking unit 160a.
[0048] The image acquisition unit 110a acquires an image. The person area detection unit 120a detects a person area estimated to be a person from the image. The face area detection unit 130a detects a face area estimated to be a person's face from the image. If a person area and a face area are detected from the image, the first masking unit 140a masks at least a portion of the person area and the face area. If a person area is detected from the image but no face area is detected, the face portion estimation unit 150a estimates the person's face area from the person area. For example, it can be estimated that the person's face area is located vertically upward from the detected person area. The second masking unit 160a masks at least a portion or all of the detected person area and the estimated face area.
[0049] 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.
[0050] 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.
[0051] 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. Furthermore, the image capture device 310 of each vehicle 300 may be equipped with the functions of the image acquisition unit 110, person area detection unit 120, face area detection unit 130, first masking unit 140, body part estimation 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 image acquisition unit 441, person area detection unit 442, face area detection unit 443, vehicle area detection unit 444, first masking unit 445, body part estimation unit 446, and second masking unit 447 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.
[0052] 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.
[0053] Some or all of the above embodiments may 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 face region detection unit that detects a face region estimated to be the face of the person from the image; a first masking unit that, when the person region and the face region are detected from the image, masks at least a portion of the person region and the face region; a body part estimation unit that, when the face region is detected from the image but the person region is not detected, estimates a body part of the person from the face region; and a second masking unit that masks at least a portion of the detected face region and the estimated body part. (Supplementary Note 2) The image processing device according to Supplementary Note 1, wherein the body part estimation unit identifies an attribute from the detected face region and estimates the body part according to the attribute. (Supplementary Note 3) The image processing device according to Supplementary Note 1, further comprising: a vehicle area detection unit that detects a vehicle area estimated to be a vehicle from the image, and if the detected face area is within the vehicle area, the body part estimation unit refrains from estimating a body part of a person from the face area, and the second masking unit masks at least a part of the face area. (Supplementary Note 4) The image processing device according to Supplementary Note 1, wherein the masking includes filling in, mosaicing, or blurring at least a part of the person area and the face area. (Supplementary Note 5) The image processing device according to Supplementary Note 4, wherein the masking includes placing an avatar resembling attributes of the person in the person area and the face area. (Supplementary Note 6) An image processing method comprising: acquiring an image; detecting a person area estimated to be a person from the image; detecting a face area estimated to be the person's face from the image; if the person area and the face area are detected from the image, masking at least a part of the person area and the face area; if the face area is detected from the image but the person area is not detected, estimating a body part of the person from the face area; and masking at least a part of the detected face area and the estimated body part.(Supplementary Note 7) 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 from the image that is estimated to be a person; detect a face area from the image that is estimated to be the person's face; if the person area and the face area are detected from the image, mask at least a part of the person area and the face area; if the face area is detected from the image but the person area is not detected, estimate a body part of the person from the face area; and mask at least a part of the detected face area and the estimated body part. (Supplementary Note 8) An image processing device comprising: 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 face area detection unit that detects a face area that is estimated to be a person's face from the image; a first masking unit that, when the person area and the face area are detected from the image, masks at least a part of the person area and the face area; a face part estimation unit that, when the person area is detected from the image but the face area is not detected, estimates a face part from the person area; and a second masking unit that masks at least a part of the detected person area and the estimated face part. (Supplementary Note 9) An image processing method comprising: acquiring an image; detecting a person area estimated to be a person from the image; detecting a face area estimated to be the person's face from the image; if the person area and the face area are detected from the image, masking at least a part of the person area and the face area; if the person area is detected from the image but the face area is not detected, estimating a face part from the person area; and masking at least a part of the detected person area and the estimated face part.(Supplementary Note 10) 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 that is estimated to be a person from the image; detect a face area that is estimated to be the person's face from the image; if the person area and the face area are detected from the image, mask at least a part of the person area and the face area; if the person area is detected from the image but the face area is not detected, estimate a face part from the person area; and mask at least a part of the detected person area and the estimated face part.
[0054] 10 Frame 30 Person 40 Vehicle 50 Roadway 100 Image processing device 100a Image processing device 110 Image acquisition unit 110a Image acquisition unit 120 Person area detection unit 120a Person area detection unit 130 Face area detection unit 130a Face area detection unit 140 First masking unit 140a First masking unit 150 Body part estimation unit 150a Face part estimation unit 160 Second masking unit 160a Second masking unit 400 Image processing device 410 Memory 420 Communication unit 430 Storage unit 431 Face attribute information 432 Program 440 Control unit 441 Image acquisition unit 442 Person area detection unit 443 Face area detection unit 444 Vehicle area detection unit 445 First masking unit 446 Body part estimation unit 447 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 R3 Vehicle area BD Body part
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 estimated to be a person from the image; a face region detection unit that detects a face region estimated to be the face of a person from the image; a first masking unit that, when the person region and the face region are detected from the image, masks at least a portion of the person region and the face region; a body part estimation unit that, when the face region is detected from the image but the person region is not detected, estimates a body part of the person from the face region; and a second masking unit that masks at least a portion of the detected face region and the estimated body part.
2. The image processing device according to claim 1, wherein the body part estimation unit identifies an attribute from the detected face area and estimates the body part according to the attribute.
3. An image processing device as described in claim 1, further comprising a vehicle area detection unit that detects a vehicle area estimated to be a vehicle from the image, and if the detected face area is within the vehicle area, the body part estimation unit refrains from estimating a person's body part from the face area, and the second masking unit masks at least a portion of the face area.
4. The image processing device according to claim 1, wherein the masking includes painting, mosaicing, or blurring at least a portion of the person region and the face region.
5. The image processing device according to claim 4, wherein said masking includes placing an avatar resembling attributes of the person in said person region and said face region.
6. An image processing method comprising: acquiring an image; detecting a person area estimated to be a person from the image; detecting a face area estimated to be the person's face from the image; if the person area and the face area are detected from the image, masking at least a part of the person area and the face area; if the face area is detected from the image but not the person area, estimating a body part of the person from the face area; and masking at least a part of the detected face area and the estimated body part.
7. A non-transitory computer-readable medium storing a program that causes a computer to execute the following steps: acquire an image; detect from the image a person area that is estimated to be a person; detect from the image a face area that is estimated to be the person's face; if the person area and the face area are detected from the image, mask at least a portion of the person area and the face area; if the face area is detected from the image but not the person area, estimate a body part of the person from the face area; and mask at least a portion of the detected face area and the estimated body part.
8. An image processing device comprising: an image acquisition unit that acquires an image; a person area detection unit that detects a person area estimated to be a person from the image; a face area detection unit that detects a face area estimated to be a person's face from the image; a first masking unit that masks at least a portion of the person area and the face area when the person area and the face area are detected from the image; a face portion estimation unit that estimates a face portion from the person area when the person area is detected from the image but the face area is not detected; and a second masking unit that masks at least a portion of the detected person area and the estimated face portion.
9. An image processing method comprising: acquiring an image; detecting a person area estimated to be a person from the image; detecting a face area estimated to be the person's face from the image; if the person area and the face area are detected from the image, masking at least a portion of the person area and the face area; if the person area is detected from the image but the face area is not detected, estimating a face portion from the person area; and masking at least a portion of the detected person area and the estimated face portion.
10. A non-transitory computer-readable medium storing a program that causes a computer to execute the following steps: acquire an image; detect from the image a person area that is estimated to be a person; detect from the image a face area that is estimated to be the person's face; if the person area and the face area are detected from the image, mask at least a portion of the person area and the face area; if the person area is detected from the image but the face area is not detected, estimate a face portion from the person area; and mask at least a portion of the detected person area and the estimated face portion.
Citation Information
Patent Citations
Subject area detection device, method and program for controlling the same, imaging device and display device
JP2013228930A
Image processing apparatus, image processing method, and program
JP2014016818A
Image process device and image process device control method, imaging device and display device
JP2014120139A
Image processing apparatus, image processing system, and image processing method
JP2019220091A
Detection device, detection method, and detection program
JP2023020504A
