Information processing device, control method, program, and storage medium

JP2023038449A5Active Publication Date: 2024-09-18CANON KK
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Existing image capturing technologies struggle to capture a person under suitable conditions, particularly when exposure adjustments are not optimal for human body regions, leading to inaccurate detection and quality issues.

Method used

An information processing apparatus that includes an image acquisition unit, human body detection unit, face detection unit, and adjustment unit to optimize image quality based on detected human body and face regions, using exclusion information to avoid unnecessary adjustments.

Benefits of technology

Enables imaging a person under more suitable conditions by improving image quality specifically for human subjects, reducing erroneous detections and enhancing accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To image a person to be a subject, under a condition more suitable for the person.SOLUTION: An information processing device comprises: an image acquisition unit for acquiring an image; a human body detection unit for detecting a human body area from the image acquired by the image acquisition unit; an adjustment unit for adjusting the image quality of the image based on the image of the human body area detected by the human body detection unit; a face detection unit for detecting a face area from the image after the adjustment of the image quality by the adjustment unit; an exclusion information acquisition unit for acquiring exclusion information being information on an optional area in the image; and a comparison unit for comparing the human body area or the face area with the exclusion information. The adjustment unit adjusts the image quality of the image on the basis of an image of the face area detected by the face detection unit, but does not adjust the image quality of the image in accordance with a comparison result by the comparison unit.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an information processing apparatus, a control method, a program, and a storage medium.

Background Art

[0002] Conventionally, a technique has been disclosed that enables imaging of a person with appropriate exposure by adjusting the exposure amount based on the detection result of a face region or a human body region (Patent Document 1).

Prior Art Documents

Patent Documents

[0003]

Patent Document 1

Summary of the Invention

Problems to be Solved by the Invention

[0004] The problem to be solved by the present invention is to enable imaging of a person as a subject under more suitable conditions.

Means for Solving the Problems

[0005] In order to solve the above problems, an information processing apparatus according to an aspect of the present invention includes an image acquisition unit that acquires an image, a human body detection unit that detects a human body region from the image acquired by the image acquisition unit, an adjustment unit that adjusts the image quality of the image based on an image of the human body region detected by the human body detection unit, a face detection unit that detects a face region from the image after the image quality is adjusted by the adjustment unit, an exclusion information acquisition unit that acquires exclusion information which is information regarding an arbitrary region in the image, and a comparison unit that compares the human body region or the face region with the exclusion information. The adjustment unit adjusts the image quality of the image based on an image of the face region detected by the face detection unit, and the adjustment unit does not adjust the image quality of the image according to the comparison result of the comparison unit.

Effects of the Invention

[0006] According to the present invention, it becomes possible to image a person who is the subject of the photograph under more favorable conditions. [Brief explanation of the drawing]

[0007] [Figure 1] This diagram shows an example of the system configuration of an information processing system. [Figure 2] This is a block diagram showing an example of the functional configuration of an information processing device. [Figure 3] This is a diagram illustrating an example of image quality adjustment for an information processing device. [Figure 4] This is a flowchart illustrating an example of processing performed by an information processing device. [Figure 5] This diagram illustrates another example of image quality adjustment for an information processing device. [Figure 6] This flowchart shows another example of processing performed by an information processing device. [Figure 7] This diagram illustrates another example of image quality adjustment for an information processing device. [Figure 8] This flowchart shows another example of processing performed by an information processing device. [Figure 9] This flowchart shows another example of processing performed by an information processing device. [Figure 10] This diagram shows an example of the hardware configuration of an information processing device. [Modes for carrying out the invention]

[0008] The embodiments for carrying out the present invention will be described in detail below with reference to the attached drawings. The embodiments described below are examples of means for realizing the present invention and should be modified or changed as appropriate depending on the configuration of the apparatus to which the present invention is applied and various conditions, and the present invention is not limited to the embodiments described below. Furthermore, some of the embodiments described later may be combined as appropriate.

[0009] <Embodiment 1> (System Configuration) Figure 1 shows the system configuration in this embodiment. The system in this embodiment includes an information processing device 100, an imaging device 110, and a recording device 120.

[0010] The information processing device 100, the imaging device 110, and the recording device 120 are interconnected via a network 140. The network 140 is implemented using multiple routers, switches, cables, etc., that comply with a communication standard such as ETHERNET®. The network 140 may also be implemented using the Internet, a wired LAN (Local Area Network), a wireless LAN (Wireless LAN), a WAN (Wide Area Network), etc.

[0011] The information processing device 100 is implemented by a personal computer or the like on which a program for realizing the information processing functions according to this embodiment, which will be described later, is installed.

[0012] The imaging device 110 is a device that captures images. The imaging device 110 associates the image data of the captured image, the information of the time the image was captured, and identification information that identifies the imaging device 110, and transmits this information to external devices such as the information processing device 100 and the recording device 120 via the network 140. In the system according to this embodiment, there is one imaging device 110, but there may be multiple.

[0013] The recording device 120 records the image data of the captured image, the information of the time of capture, and the identification information in association with each other. In addition, in accordance with a request from the information processing device 100, the recording device 120 transmits the recorded data (image, time of capture, identification information, etc.) to the information processing device 100.

[0014] The display 130 is composed of an LCD (Liquid Crystal Display) or the like, and displays the result of information processing of the information processing apparatus 100, the image captured by the imaging apparatus 110, and the like. The display 130 is connected to the information processing apparatus 100 via a display cable compliant with a communication standard such as HDMI (Registered Trademark) (High Definition Multimedia Interface). Further, the display 130 functions as display means and displays the image captured by the imaging apparatus 110, the result of information processing described later, and the like.

[0015] Note that at least any two or all of the display 130, the information processing apparatus 100, and the recording apparatus 120 may be provided in a single housing. Also, the information processing apparatus 100 and the imaging apparatus 110 may be provided in a single housing. That is, the imaging apparatus 110 may have the functions and configuration of the information processing apparatus 100 described later.

[0016] In addition, the result of information processing of the information processing apparatus 100 and the image captured by the imaging apparatus 110 are not limited to the display 130 connected to the information processing apparatus 100 via a display cable, and may be displayed on a display of an external device such as the following, for example. That is, for example, the information processing result and the captured image may be displayed on a display of a mobile device such as a smartphone or a tablet terminal connected via the network 140. In addition, the information processing result of the information processing apparatus 100 may be transmitted to an image analysis apparatus provided in the same housing as the information processing apparatus 100 or in another housing connected via the network 140. For example, the image analysis apparatus is an apparatus including face authentication processing for detecting the same person as a person registered in advance from the captured image.

[0017] (Functional Configuration) FIG. 2 is a block diagram exemplarily explaining the functional configuration of the information processing apparatus 100 according to the present embodiment. Among the functional blocks shown in FIG. 2, for the functions realized by software, it is assumed that they are realized using a CPU (Central Processing Unit) 1000 and a ROM (Read Only Memory) 1020, which will be described later with reference to FIG. 10. That is, each function shown in FIG. 2 is realized by the CPU 1000 of the information processing apparatus 100 executing a computer program stored in the ROM 1020 of the information processing apparatus 100.

[0018] In addition, in addition to the RAM (Random Access Memory) 1010 and the HDD (Hard Disk Drive) 1030, which will be described later with reference to FIG. 10, each function shown in FIG. 2 may be realized. For example, the computer program stored in the ROM 1020 may be transferred to the faster RAM 1010, and the CPU 1000 may read the computer program from the RAM 1010. Also, the computer program may be stored in the HDD 1030 with a larger capacity, and only a part necessary for the execution of the computer program may be transferred to the RAM 1010.

[0019] The communication unit 200 can be realized by an I / F (Interface) 1040, which will be described later with reference to FIG. 10, and communicates with the imaging device 110 and the recording device 120 via the network 140. The communication unit 200, for example, receives image data of a captured image from the imaging device 110 or transmits a control command for controlling the imaging device 110 to the imaging device 110. Therefore, the communication unit 200 functions as an image acquisition unit to acquire an image. The control command includes, for example, a command for instructing the imaging device 110 to capture an image, a command for adjusting the exposure, focus, white balance, etc. of the imaging device 110, and a command for setting an exposure correction value.

[0020] The memory unit 201 can be implemented using a RAM 1010, HDD 1030, etc., as described later with reference to Figure 10, and stores information and data related to information processing by the information processing device 100. For example, the detection unit 202, described later, stores in advance in the HDD 1030 patterns for pattern matching (patterns corresponding to characteristic parts of the human body) used when performing human body detection. To speed up the process, some patterns may be read from the HDD 1030 to the RAM 1010.

[0021] The detection unit 202 detects the region corresponding to a person captured as a subject in the image. As a specific example, the detection unit 202 may detect a human body region corresponding to a person's face or body from the target image (for example, an image acquired from the imaging device 110 or recording device 120). Therefore, the detection unit 202 is both a human body detection unit and a face detection unit. The second human body detection described later may be face detection. Note that known methods can be applied to detect human body regions from images, so a detailed explanation of such detection methods will be omitted. In other words, the method of human body detection is not limited to a specific detection method, and various methods can be adopted, such as machine learning-based detection or detection based on distance information. Here, first, the first human body detection is performed, and if a human body region is detected, information about the human body region is temporarily stored in the storage unit 201.

[0022] The determination unit 203 (comparison unit) determines whether information similar to the human body region detected by the detection unit 202 exists in the exclusion information described below. More specifically, it compares the human body region or face region with the exclusion information and makes a determination according to the comparison result of the comparison unit.

[0023] If the detection unit 202 detects a human body region and the determination unit 203 does not find any information similar to that human body region in the exclusion information described later, the adjustment unit 204 performs an appropriate image quality adjustment (first image quality adjustment) to match the human body region. For example, if the human body region is dark due to backlighting, the adjustment unit 204 adjusts the image quality related to exposure, such as exposure adjustment or exposure compensation, to make the human body region brighter.

[0024] Next, the detection unit 202 performs one or more second human body detections during the first image quality adjustment, after the first image quality adjustment, or both. For example, human body detection in a brightened state due to adjustment by the adjustment unit 204 has higher detection accuracy (higher probability of being a person) than human body detection in a dark state before adjustment. Therefore, if a human body region is detected in the second human body detection, there is a high probability that a person has been accurately detected, so the adjustment unit 204 performs a second image quality adjustment to match the human body region. In this way, the image quality is adjusted to match the accurately detected human body region, resulting in an image quality adjustment that is more suitable for people. Note that if a human body is detected in the second human body detection, there is a high probability that the human body detected in the first human body detection was also a person, so the first image quality adjustment may be maintained. Note that both the first and second image quality adjustments may be adjustments to the image quality related to exposure, or they may be different adjustments such as white balance correction or focus.

[0025] Next, if no human body region is detected in the second human body detection, it is highly likely that the human body region detected in the first human body detection was not a person, so the human body region temporarily stored in the memory unit 201 is registered as exclusion information. The method of registering as exclusion information is either to add it to the memory area that holds the exclusion information, or to set a flag indicating that the temporarily stored human body region information is exclusion information. Also, since it is highly likely that the first image quality adjustment was performed on an object that is not a person, the image quality may be reverted to its state before the adjustment. In this embodiment, the case of storing in the memory unit 201 is explained as an example, but the information may also be acquired from an external storage device by an exclusion information acquisition unit (not shown). The exclusion information acquisition unit acquires exclusion information, which is information about an arbitrary region in the image. In this embodiment, an arbitrary region is a region detected by the first human body detection but not detected by the second human body region. In addition, for human body regions or face regions detected in the first detection (or second detection), the user may indicate via an external device (described later) that it is exclusion information, thereby storing the exclusion information in the memory unit 201, or the exclusion information acquisition unit may acquire it.

[0026] The output control unit 207 outputs the adjusted image, adjusted by the adjustment unit 204, to an external device (such as a recording device 120 or a display 130). For example, if the external device is a display 130, the image adjusted by the adjustment unit 204 is displayed on the display 130. Alternatively, the image may be output to another information processing device or another program installed on the information processing device 100 and used for image analysis such as facial recognition.

[0027] Next, with reference to Figures 3(a), 3(b), and 3(c), the information processing performed by the information processing device 100 according to this embodiment will be described.

[0028] Figure 3(a) shows the state in which the communication unit 200 has acquired an image 300 from the imaging device 110 and the recording device 120 at a certain point in time. An object 301 is captured in the image 300, and the detection unit 202 has detected a human body region 302 through a first human body detection. The detected human body region 302 is temporarily stored in the storage unit 201. Here, the determination unit 203 determines that there is no information similar to the human body region 302 in the exclusion information described later. As a result, the adjustment unit 204 performs a first image quality adjustment to match the human body region 302. Here, for example, exposure correction is performed so that the average brightness value of the pixels within the human body region 302 becomes a suitable brightness value. In the example in this figure, since the brightness within the human body region is low, exposure correction is performed to increase it (make it brighter). Alternatively, to achieve a more suitable image quality adjustment for the face portion within the human body region, the position of the face region may be estimated from the human body region, and the average brightness value of the estimated face region may be calculated. For example, the horizontal position of the estimated face region is defined as the 80% center of the horizontal position of the human body region, and the vertical position of the estimated face region is defined as the 60% to 90% upper part of the vertical position of the human body region.

[0029] Image quality adjustments are not limited to exposure compensation; you can also directly adjust exposure-related elements such as shutter speed, aperture, and gain, or adjust focus and white balance. The goal is to make adjustments that are appropriate for the human body.

[0030] Figure 3(b) shows the result of image quality adjustment by the first image quality adjustment. In image 310, the adjustment unit 204 performs exposure correction on object 301 in Figure 3(a), making object 301 brighter and appearing as object 311.

[0031] Here, the detection unit 202 performs a second human body detection, but since object 311 is not a person, no human body region is detected. Therefore, the human body region 302 detected in Figure 3(a) was not a person, and the storage unit 201 registers the temporarily stored human body region 302 as excluded information. Since the first image quality adjustment has been performed on an object that is not a person, the image quality is returned to its state before the adjustment.

[0032] Figure 3(c) shows the result when the image returns to its dark state before image quality adjustment. In image 320, an object 321 exists, similar to Figure 3(a), and it is detected as a human body region 322 by the first human body detection. When the image is dark or unclear, it may be misdetected as a human body, and as shown in this figure, when it becomes dark, the same object may be detected as a human body again. Here, it is determined whether there is human body region information similar to human body region 322 in the excluded information. A specific method for determining whether there is similar human body region information is to compare its position with all the human body region information registered in the excluded information. If there is human body region information registered in the excluded information whose position is closer than a threshold, it is determined that similar human body region information exists in the excluded information. In the example in this figure, since the x and y coordinate positions of human body region 322 and human body region 302 registered in the excluded information are close to each other in the image, it is determined that similar human body region information exists in the excluded information. The x and y coordinates can be compared using the coordinates of the centroid of the human body region, the position of any of the four corner points, the position of all four corner points, the average of these positions, or any coordinate within the human body region.

[0033] Next, the adjustment unit 204 determines that the determination unit 203 has determined that there is human body region information similar to the human body region 322 in the excluded information, and therefore does not perform image quality adjustment (second image quality adjustment) on the human body region 322.

[0034] Furthermore, as a method for determining similar human body region information, the condition that the size of the human body region is similar may be used. Alternatively, the condition that the image information within the human body region is similar, such as the contour (edge) information of the object or the surface texture information of the object, may be used, or a combination of these may be used. In addition, since similarity determination based on positional proximity will not be made if the object moves significantly, known techniques such as motion detection or motion tracking may be used to capture the movement of the human body region and perform similarity determination other than position, treating it as the same object even if the human body region has moved significantly.

[0035] In this way, by registering areas of the human body that are determined not to be people as exclusion information, and ignoring any similar areas of the human body detected in subsequent human body detection, meaningless image quality adjustments are not performed on objects other than people. As a result, image quality adjustments optimized only for people are performed.

[0036] (Operation instructions) Next, the image quality adjustment process performed in the information processing device 100 of this embodiment will be described with reference to the flowchart in Figure 4. Note that the process in this flowchart is executed repeatedly. Furthermore, this flowchart shows the processes performed in the functional blocks shown in Figure 2 within the information processing device 100.

[0037] First, in step S401, the detection unit 202 performs a first human body detection on the image captured by the imaging device 110, which is acquired by the communication unit 200. As mentioned above, the method of human body detection is not limited to a specific detection method, and various methods can be employed, such as pattern matching, machine learning-based detection, and distance information-based detection.

[0038] Next, in step S402, if a human body was detected in step S401, the process proceeds to step S403; otherwise, this flowchart is terminated.

[0039] Next, in step S403, the determination unit 203 determines whether information similar to the human body region detected in step S401 exists in the exclusion information. If it exists in the exclusion information, it is already registered in the exclusion information as a human body region that is not a person, so the processing of this flowchart is terminated without performing image quality adjustment. At this time, the information of the human body region detected in step S401, which is the latest information, may be used to update or replace the information of the human body region that was determined to be similar and stored in the exclusion information. If no similar human body region information exists in the exclusion information, the detected human body region may be a person, so the process proceeds to step S404 and the subsequent image quality adjustment processing is performed.

[0040] Next, in step S404, the information of the human body region detected in step S401 is temporarily stored in the memory unit 201.

[0041] Next, in step S405, the adjustment unit 204 performs a first image quality adjustment according to the human body region detected in step S401. As described above, the image quality adjustment may be performed according to the entire human body region, or the position of the face region may be estimated from the human body region, and the image quality adjustment may be performed according to the estimated face region. The image quality adjustment may include adjustments to exposure compensation, ISO sensitivity, shutter speed, aperture, gain, focus, white balance, etc. Any image quality adjustment is acceptable as long as it is suitable for the human body region.

[0042] Next, in step S406, the detection unit 202 performs one or more second human body detections during the first image quality adjustment in step S405, after the first image quality adjustment, or both. The method of human body detection is the same as that of the first human body detection in step S401.

[0043] Next, in step S407, if a human body was detected in step S406, the process proceeds to step S408; otherwise, the process proceeds to step S409.

[0044] Next, in step S408, the adjustment unit 204 performs a second image quality adjustment in accordance with the human body region detected in step S406. The method of image quality adjustment is the same as that of the first image quality adjustment in step S405. By performing the second image quality adjustment, the image quality adjustment is performed using the results of the second human body detection, which is detected under better conditions than the first human body detection, thus enabling image quality adjustment that is more suitable for the human body. However, since image quality adjustment has already been performed on the first human body detection result in the first image quality adjustment, the second image quality adjustment may be omitted and the first image quality adjustment result may be maintained in order to shorten the processing time.

[0045] Next, in step S409, since no human body was detected in the second human body detection, the memory unit 201 determines that the human body region information temporarily stored in step S404 was not a person, and registers the human body region information as excluded information. By registering it as excluded information here, in subsequent processing of this flowchart, even if the same object is detected as a human body region in step S401, it will be ignored in step S403 as a human body region similar to the one registered as excluded information here.

[0046] Next, in step S410, the adjustment unit 204 determines that since no human body was detected in the second human body detection, the first image quality adjustment is set to match an object other than a person, and returns the image quality settings to the state before the first image quality adjustment. However, returning the image quality settings is not mandatory.

[0047] As explained above, according to this embodiment, even if the first human body detection, performed in a state where the image quality is unsatisfactory, mistakenly detects something other than a person as a human body, the second human body detection is performed in a state where the image quality has been improved by the first image quality adjustment. If no human body is detected in this second human body detection, it is determined that the human body region detected in the first human body detection was not a person, and the information of that human body region is registered in the exclusion information. In subsequent image quality adjustment processing, even if a human body region similar to the information of a human body region registered in the exclusion information is detected by the first human body detection, that human body region is ignored.

[0048] Therefore, according to this embodiment, even if there is a human body area that is mistakenly detected as a human body, for example, in a dark area due to backlighting, if information similar to that human body area is registered in the exclusion information, no image quality adjustment will be performed, and meaningless image quality adjustments will not be made. Consequently, image quality adjustments suitable only for people will be performed.

[0049] <Embodiment 2> In the first embodiment, an example was shown in which image quality adjustment is not performed when a human body region similar to the human body region information registered in the exclusion information is detected and ignored. However, even if a person is actually detected in the first human body detection, the second human body detection may not be able to detect the person for reasons such as the person being facing sideways. In this case, the information of the human body region detected in the first human body detection is registered in the exclusion information, and the human body region is ignored despite it being a person.

[0050] Therefore, in this embodiment, we will describe an example in which the similarity of a human body region is determined by combining the position of the human body region with image information such as contour information and texture information of the image within the human body region, and if there is a change in the image information, the image quality is adjusted again to determine whether it is a human body.

[0051] First, the information processing performed by the information processing device 100 according to this embodiment will be described with reference to Figures 5(a), 5(b), 5(c), and 5(d). Note that the functional configuration of the information processing device according to this embodiment is the same, so its description will be omitted.

[0052] Figure 5(a) shows the state in which the communication unit 200 has acquired an image 500 from the imaging device 110 and the recording device 120 at a certain point in time. The image 500 contains a person 501, and the detection unit 202 has detected a human body region 502 through a first human body detection. The detected human body region 502 is temporarily stored in the storage unit 201. Here, the determination unit 203 determines that there is no information similar to the human body region 502 in the excluded information. As a result, the adjustment unit 204 performs a first image quality adjustment to match the human body region 502. In the example shown in this figure, since the brightness within the human body region is low, exposure compensation is performed to increase it (make it brighter). The methods for human body detection, image quality adjustment, similarity determination, and other processes are the same as in the first embodiment, so their explanation is omitted.

[0053] Figure 5(b) shows the result of image quality adjustment by the first image quality adjustment. In image 510, the adjustment unit 204 performs exposure correction on person 501 in Figure 5(a), making person 501 brighter and appearing as person 511.

[0054] Here, the detection unit 202 performs a second human body detection, but since person 511 is facing sideways, it is unable to detect the face or human-like features such as the Ω shape of the head and shoulders, and therefore no human body region is detected. For this reason, the human body region 502 detected in Figure 5(a) was not a person, and the storage unit 201 registers the temporarily stored human body region 502 as excluded information. Then, the settings are returned to the state before the first image quality adjustment.

[0055] Figure 5(c) shows the result when the image quality returns to its dark state before adjustment. In image 520, unlike in Figure 5(a), person 501 exists as person 521 facing forward, and this is detected as a human body region 522 by the first human body detection. Here, the determination unit 203 determines whether there is human body region information similar to human body region 522 in the excluded information. In this case, it first determines whether there is human body region information close to the position of human body region 522 in the excluded information. In the example in this figure, it is determined that human body region 522 is close in position to human body region 502 which is registered in the excluded information.

[0056] Next, the determination unit 203 determines whether the image information (edge ​​information and texture information) within the human body region is similar if nearby human body region information is found in the excluded information. Here, when a person turns from a side view to a front view, the contour information changes, and the texture information also changes, such as the pattern of the clothing or the shift from a side view to a front view. Since known methods can be applied to extract edge information and texture information, a detailed explanation will be omitted. For example, the method for determining the similarity of edge information and texture information can be to extract edge information and texture information from the images before and after the change, and determine if the sum or average of the differences in pixel values ​​before and after the change for each extracted pixel is within a predetermined threshold. The similarity determination of edge information and texture information may be performed when both conditions are met, when only one of the conditions is met, or when only one of them is determined. In other words, it is sufficient to capture the change in state within the human body region, and it is also possible to determine that an object within the human body region has moved using known techniques such as motion detection or tracking. In this example, person 501, who was facing sideways, becomes person 521, facing forward. It is determined that there is a difference of more than a predetermined threshold between the image information within the human body region 502 registered in the exclusion information and the newly detected human body region 522, and therefore they are determined not to be similar.

[0057] Next, if the determination unit 203 determines that there are no human body regions or similar image information within the excluded information, the adjustment unit 204 adjusts the image quality to match the human body region detected by the detection unit 202. In the example shown in this figure, although there is human body region information within the excluded information that is close in position to the human body information 522, it is determined that there is no similar image information, so the image quality is adjusted to match the detected region 522. Here, exposure correction is performed so that the average brightness value of the pixels within the detected region 522 becomes an appropriate brightness value.

[0058] Figure 5(d) shows the result of image quality adjustment by the first image quality adjustment. In image 530, the adjustment unit 204 performs exposure correction on the person 521 in Figure 5(c), making the person 521 brighter and appearing as person 531.

[0059] Here, the detection unit 202 performs a second human body detection, and the person 531 is detected as a human body region 532. After this, image quality adjustment may be performed to match the human body region 532. Alternatively, since a human body region has been detected, the determination unit 203 may delete the human body region information registered in the exclusion information that it has determined to be close in location. Deletion methods include deleting the human body region information from the memory area where the exclusion information is registered, or lowering the exclusion flag set for the human body region information.

[0060] Next, referring to the flowchart in Figure 6, we will explain the process of determining the similarity of human body regions by combining the location of the human body region and the image information within the human body region. This flowchart shows the processes performed in the information processing device 100 using the functional blocks shown in Figure 2. Processes that are the same as or equivalent to those in Figure 4 are denoted by the same reference numerals, and redundant explanations are omitted.

[0061] First, steps S401 to S402 are the same as in Figure 4, and the detection unit 202 performs a first human body detection and determines whether a human body has been detected. If a human body is detected, the process proceeds to step S601; if no human body is detected, this flowchart ends.

[0062] Next, in step S601, the determination unit 203 determines whether there is information about a human body region close to the location of the human body region detected in step S401 in the excluded information. If there is information about a human body region close to the location in the excluded information, the process proceeds to step S602. If there is no information about a human body region close to the location in the excluded information, the detected human body region may be a person, so the process proceeds to step S404 and the subsequent image quality adjustment processing is performed.

[0063] Next, in step S601, the determination unit 203 determines whether there is similar human body region information in the excluded information that is similar to the image information within the human body region detected in step S401. As described above, the determination method is to determine similarity from the pixel-by-pixel difference of edge information and texture information within the human body region. Alternatively, techniques such as motion detection and tracking may be used to determine if it has moved, and if it has moved, it may be determined that it is not similar. Here, if there is human body region information in the excluded information that is similar in image information, it means that there is human body region information in the excluded information that is close in both position and image information. For this reason, it is determined that the same object as the human body region that was already determined not to be a human body has been detected again, and this flowchart is terminated without image quality adjustment. If there is no human body region information in the excluded information that is similar in image information, even if the position is close, a change is seen in the image information, so it means that there has been a change in the state of the object. For this reason, the process proceeds to step S404, where image quality adjustment and a second human body detection are performed, and it is determined again whether it is a human body or not. The processing from step S404 onwards is the same as in Figure 4, so the explanation is omitted. Furthermore, if it is determined in step S602 that no human body region information with similar image information exists in the excluded information, it means that the human body region information has been updated, and the relevant human body region information may be deleted from the excluded information, or a flag indicating that it has been invalidated may be set. In other words, if the amount of change in the information regarding the human body region (or the information regarding the face region) in the region indicated by the excluded information exceeds a predetermined threshold, it is determined that the state within the human body region has changed, and the information is deleted from the excluded information, or a flag indicating that it has been invalidated is set.

[0064] As explained above, according to this embodiment, even if human body area information has been registered in the exclusion information, if there is a change in the image information and it is determined that there has been a change in the state of the target object, the image quality is adjusted again and it is determined whether it is a human body. This means that, for example, even if a human body that is crouching or facing sideways is initially determined not to be a human body and registered in the exclusion information, it can be determined again as a human body when the person stands up or faces forward.

[0065] Therefore, according to this embodiment, it is possible to perform image quality adjustments suitable for the human body without missing the human body.

[0066] <Embodiment 3> In the first embodiment, the amount of human body region information in the excluded information increases; therefore, in this embodiment, an example of invalidating human body region information as excluded information will be described.

[0067] First, the information processing performed by the information processing device 100 according to this embodiment will be described with reference to Figures 7(a), 7(b), 7(c), 7(d), and 7(e).

[0068] Figure 7(a) shows the state in which the communication unit 200 has acquired an image 700 from the imaging device 110 and the recording device 120 at a certain point in time. The image 700 shows a chair 701, and the detection unit 202 has detected a human body region 702 through first human body detection. The detected human body region 702 is temporarily stored in the storage unit 201. Here, the determination unit 203 determines that there is no information similar to the human body region 702 in the excluded information. As a result, the adjustment unit 204 performs first image quality adjustment to match the human body region 702. In the example shown in this figure, since the brightness within the human body region is low, exposure compensation is performed to increase it (make it brighter). The methods for human body detection, image quality adjustment, similarity determination, and other processes are the same as in the first embodiment, so their explanation is omitted.

[0069] Figure 7(b) shows the result of image quality adjustment by the first image quality adjustment. In image 710, the adjustment unit 204 performs exposure correction on chair 701 in Figure 7(a), making chair 701 brighter and appearing as chair 711.

[0070] Here, the detection unit 202 performs a second human body detection, but since no person is present, no human body region is detected. Therefore, the human body region 702 detected in Figure 7(a) was not a person, and the storage unit 201 registers the temporarily stored human body region 702 as excluded information. Then, the settings are returned to the state before the first image quality adjustment.

[0071] Figure 7(c) shows the case where the image returns to its dark state before image quality adjustment. In image 720, the chair 701 remains almost unchanged from Figure 7(a), existing as chair 721, and is detected again as a human body region 722 by the first human body detection. At this point, the determination unit 203 determines whether there is human body region information similar to human body region 722 in the exclusion information. In the example shown in this figure, it is determined that human body region 722 is similar to human body region 702 registered in the exclusion information, and no image quality adjustment is performed, leaving the image dark.

[0072] Figure 7(d) shows the case where the chair 721, which was present in Figure 7(c), has moved out of the camera's field of view. In image 730, the chair 721 is not in the frame, and no human body is detected by the detection unit 202. Here, the time during which no human body region similar to the human body region 702 registered in the exclusion information is detected is measured, and if no similar human body region is detected for a predetermined period, the human body region information is invalidated as exclusion information. The method of invalidation is to delete the human body region information from the exclusion information, or to set a flag indicating that it has been invalidated. Alternatively, the human body region may be deleted from the exclusion information when it moves out of the frame using techniques such as motion detection or tracking.

[0073] Figure 7(e) shows the case where a person 741 appears in the location where chair 701 was. In image 740, person 741 is present, and the first human body detection by the detection unit 202 detects a human body region 742. Here, since the human body region 702, which was registered in the exclusion information at the time of Figure 7(a), has been removed from the exclusion information, the human body region 742 is not ignored and is subject to image quality adjustment.

[0074] Next, the process of removing human body area information from the excluded information will be explained with reference to the flowchart in Figure 8. This flowchart shows the processes performed in the information processing device 100 using the functional blocks shown in Figure 2. Processes that are the same as or equivalent to those in Figure 4 are denoted by the same reference numerals, and redundant explanations are omitted.

[0075] First, steps S401 to S402 are the same process as in Figure 4, and the detection unit 202 performs a first human body detection and determines whether a human body region has been detected.

[0076] First, in step S801, the memory unit 201 invalidates human body region information from its stored exclusion information for which no similar human body region has been detected even after a predetermined time has elapsed. Time can be measured, for example, in step S803 of the subsequent processing, by storing the current time registered in the exclusion information as the update time, linked to the human body region information (or face region information), and measuring the difference between this time and the time at the time of processing this step. Alternatively, in this step, motion detection or tracking technology may be used to determine if the human body region has moved out of the screen, and if it has, the human body region information may be invalidated as exclusion information. As mentioned above, the method of invalidation may be to delete the human body region information from the exclusion information, or a flag indicating that it has been invalidated may be set.

[0077] Next, the process from step S401 to step S410 is the same as the flowchart in Figure 4. If no human body region information similar to the human body region detected in step S401 exists in the exclusion information, the image quality is adjusted to match that human body region. If human body region information similar to the human body region exists in the exclusion information, the process proceeds to step S802.

[0078] Next, in step S802, the memory unit 201 updates the detection time of the human body information registered in the exclusion information because it found human body area information similar to the human body area detected in step S401 in the exclusion information, indicating that there are still objects to be excluded. In this way, the exclusion start time is updated as long as there are objects to be excluded, and the human body area information is not deleted in step S801. On the other hand, human body areas for which no similar human body areas were detected and whose exclusion start time was not updated are invalidated in step S801 after a predetermined period of time has elapsed.

[0079] As explained above, according to this embodiment, even if human body area information has been registered as exclusion information, if no similar human body area is detected for a certain period of time, the human body area information will be invalidated as exclusion information. Alternatively, if it is determined that the human body area has gone off-screen, the human body area information will be invalidated as exclusion information. As a result, even if the location is close to human body area information that has been registered as exclusion information, if the conditions are met, human body detection will occur again.

[0080] <Embodiment 4> In this embodiment, we will describe an example in which human body detection is divided into face detection, which detects only facial features, and human body detection, which detects other parts such as the head, upper body, and whole body. In face detection, because detection is performed according to facial features, people can be detected more accurately, and because only the face area can be extracted, image quality adjustments more suitable for people can be made.

[0081] First, the image quality adjustment process using face detection and human body detection will be explained with reference to the flowchart in Figure 9. This flowchart shows the processes performed in the information processing device 100 using the functional blocks shown in Figure 2. Processes identical or equivalent to those in Figure 4 are denoted by the same reference numerals, and redundant explanations are omitted.

[0082] First, in step S401, a first human body detection is performed, and in step S901, the detection unit 202 performs a first face detection. Face detection can also be performed using techniques such as pattern matching or machine learning, similar to human body detection. Note that the human body detection and face detection processes may be performed separately, or the information obtained from detecting the human body may be used to detect a face, for example, within the human body region.

[0083] Next, in step S902, it is determined whether a face was detected in step S901. If a face is detected, the process proceeds to step S905, where image quality adjustments are performed to match the detected face area, and this flowchart ends. After the image quality adjustment in step S905, face detection and image quality adjustments may be performed again to further improve the accuracy of the image quality adjustment. If no face is detected, the process proceeds to step S402, where a human body detection determination and the first image quality adjustment are performed, and if a human body area is detected for which no similar human body area information exists in the exclusion information, the process proceeds to step S903.

[0084] Next, in step S903, the detection unit 202 performs a second face detection. At this point, for example, a face may not have been detected in a dark state, but a human body has been detected, and the image quality is adjusted to match the human body, resulting in a brighter image. Performing face detection again in this state increases the likelihood of detecting a face.

[0085] Next, in step S904, it is determined whether a face was detected in step S903. If a face is detected, the process proceeds to step S905, where image quality adjustments are made to match the detected face area, and this flowchart ends. If no face is detected, the process proceeds to step S407, where a human body detection determination and a second image quality adjustment process are performed, or a process is performed to register the human body area as exclusion information.

[0086] As described above, according to this embodiment, by detecting highly accurate faces and human bodies separately, it is possible to perform image quality adjustments that are more suitable for faces with higher accuracy.

[0087] <Other Embodiments> Referring to Figure 10, the hardware configuration of the information processing device 100 for realizing each function of each embodiment will be described. Note that while the hardware configuration of the information processing device 100 will be described in the following explanation, the recording device 120 and the imaging device 110 will also be realized with a similar hardware configuration.

[0088] The information processing device 100 in this embodiment includes a CPU 1000, RAM 1010, ROM 1020, HDD 1030, and I / F 1040.

[0089] The CPU 1000 is a central processing unit that provides overall control over the information processing unit 100. The RAM 1010 temporarily stores computer programs executed by the CPU 1000. The RAM 1010 also provides a work area used by the CPU 1000 when executing processes. Furthermore, the RAM 1010 can function, for example, as frame memory or buffer memory.

[0090] ROM1020 stores programs and other information that the CPU1000 uses to control the information processing unit 100. HDD1030 is a storage device that records image data and other data. I / F1040 communicates with external devices via network 140 according to TCP / IP, HTTP, etc.

[0091] In the above-described embodiments, examples are given in which the CPU 1000 performs processing. However, at least a portion of the CPU 1000's processing may be performed by dedicated hardware. For example, the process of displaying a GUI (Graphical User Interface) or image data on the display 130 may be performed by a GPU (Graphics Processing Unit). Also, the process of reading program code from the ROM 1020 and loading it into the RAM 1010 may be performed by a DMA (Direct Memory Access) functioning as a data transfer device.

[0092] Furthermore, the present invention can also be realized by a process in which one or more processors read and execute a program that implements the functions of the above-described embodiment. The program may be supplied to a system or device having a processor via a network or storage medium. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions of the above-described embodiment. In addition, each part of the information processing device 100 may be implemented by the hardware shown in Figure 6, or by software.

[0093] Furthermore, one or more functions of the information processing device 100 according to each of the embodiments described above may be provided by other devices. Also, the embodiments described above may be combined, for example, by arbitrarily combining the embodiments described above.

[0094] Although the present invention has been described above along with its embodiments, these embodiments are merely examples of how the present invention can be implemented, and the technical scope of the present invention should not be limited by them. In other words, the present invention can be implemented in various forms without departing from its technical concept or its main features. For example, combinations of the embodiments are also included in the disclosure of this specification.

[0095] Although preferred embodiments of the present invention have been described above, the present invention is not limited to these embodiments, and various modifications and changes are possible within the scope of its gist. [Explanation of Symbols]

[0096] 100 Information Processing Devices 110 Imaging device 200 Communications Department 201 Storage section 202 Detection Unit 203 Judgment section 204 Adjustment section 205 Output Control Unit

Claims

1. an image acquisition unit that acquires an image; a human body detection unit that detects a human body region from the image acquired by the image acquisition unit; an adjustment unit that adjusts the image quality of the image based on an image of a human body region detected by the human body detection unit; an exclusion information acquisition unit that acquires, as exclusion information, information regarding an area in the image where the image quality adjustment is not performed; a determination unit that compares the human body region with the exclusion information and determines whether the exclusion information is similar to the human body region; 2. The information processing apparatus according to claim 1, wherein, when the determination unit determines that there is exclusion information similar to the human body region, image quality adjustment based on the human body region is not performed.

2. a storage unit configured to store, when a human body region is not detected by the human body detection unit after the image quality is adjusted by the adjustment unit, information regarding a human body region detected before the image quality is adjusted by the adjustment unit as the exclusion information; The information processing apparatus according to claim 1 , wherein the exclusion information acquisition unit acquires the exclusion information stored in the storage unit.

3. The information processing device according to claim 2, characterized in that when storing information regarding the human body region, the memory unit stores the current time as an update time in association with the information regarding the human body region, and when a predetermined time has elapsed since the update time, deletes the information regarding the human body region linked to the update time.

4. The image acquisition unit further includes a face detection unit that detects a face area from the image acquired by the image acquisition unit, when a face area is detected by the face detection unit after the image quality adjustment by the adjustment unit, the adjustment unit further adjusts the image quality of the image based on an image of the face area; The information processing device according to claim 3, characterized in that, when, after image quality adjustment by the adjustment unit, a face area is not detected by the face detection unit and a human body area is not detected by the human body detection unit, the memory unit stores information regarding the human body area as the exclusion information.

5. 2. The information processing apparatus according to claim 1, further comprising a storage unit for storing an area designated by a user as the exclusion information.

6. The information processing device described in Claim 1, characterized in that the adjustment unit adjusts the image quality based on an image of the human body region that is not similar to the exclusion information, depending on the comparison result by the judgment unit.

7. An information processing device as described in any one of claims 1 to 6, characterized in that as a comparison result by the judgment unit, a difference between the information regarding the human body region and the exclusion information is calculated, and if the difference is smaller than a predetermined threshold, it is judged that the exclusion information similar to the human body region exists.

8. The image acquisition unit further includes a face detection unit that detects a face area from the image acquired by the image acquisition unit, The information processing device according to any one of claims 1 to 7, characterized in that the judgment unit calculates a difference between information regarding the face area detected by the face detection unit and the exclusion information, and if the difference is smaller than a predetermined threshold, judges that the exclusion information similar to the human body area exists.

9. An information processing device as described in any one of claims 1 to 8, characterized in that the exclusion information includes information regarding at least one of the position, size, edges and texture of the human body region.

10. An information processing device according to any one of claims 1 to 9, characterized in that when a change in information regarding a human body region or a face region in the area indicated by the exclusion information before and after the image quality adjustment by the adjustment unit is equal to or greater than a predetermined threshold, the exclusion information is deleted.

11. 11. The information processing apparatus according to claim 1, wherein the image quality adjustment by the adjustment unit includes an adjustment related to exposure.

12. The information processing device described in Claim 1, characterized in that the determination unit determines whether exclusion information similar to the human body region exists based on a comparison between the position of the human body region detected by the human body detection unit and the position of the region indicated by the exclusion information.

13. The information processing device described in Claim 1, characterized in that the judgment unit determines whether exclusion information similar to the human body region exists based on a comparison between an image in the human body region detected by the human body detection unit and an image of the region indicated by the exclusion information.

14. An information processing device as described in claim 1, characterized in that if a human body area is not detected by the human body detection unit after the image quality is adjusted by the adjustment unit, the image quality is restored to the state before it was adjusted by the adjustment unit.

15. an image acquisition step of acquiring an image; a human body detection step of detecting a human body region from the image acquired in the image acquisition step; an adjustment step of adjusting image quality of the image based on an image of the human body region detected in the human body detection step; a face detection step of detecting a face area from the image after the image quality adjustment step; an exclusion information acquisition step of acquiring exclusion information which is information regarding an arbitrary region in the image; a comparison step of comparing the human body region or the face region with the exclusion information, In the adjustment step, a quality of the image is adjusted based on an image of a face region detected in the face detection step; The method for controlling an information processing apparatus, wherein in the adjustment step, the image quality of the image is not adjusted depending on the comparison result in the comparison step.

16. A program for causing a computer to function as each of the means of the information processing apparatus according to any one of claims 1 to 14.

17. A computer-readable storage medium storing the program according to claim 16.