Video processing device, control method therefor, and program

JP2023055137A5Active Publication Date: 2024-10-09CANON KK
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The intensity of the periodic signal on the hue based on skin color change due to the pulse is affected by the degree of the hue value, leading to inaccuracies in biometric information detection.

Method used

A video processing device that includes acquisition, correction, and detection means to approximate the hue of skin pixels to a preset target hue, emphasizing the color change due to the pulse wave, thereby enhancing biometric information detection accuracy.

Benefits of technology

Enables precise detection of biometric information such as pulse rate, blood pressure, and stress indicators by correcting skin color to an ideal hue value, improving detection accuracy and robustness against environmental factors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

To obtain biological information with improved precision.SOLUTION: A video processing device for detecting biological information on a subject from a video of the subject consisting of a plurality of time-series frames, includes an obtaining unit that receives a video and obtains a skin region of a subject, a decision unit that decides a correction coefficient for approximating a hue in a pixel in the skin region obtained by the obtaining unit, to a preset target hue on the basis of a color of the skin region obtained by the obtaining unit and a color representing the target hue, a correction unit that, by using the correction coefficient, corrects at least a pixel in the skin region in each of the frames constituting the video, and a detection unit that detects biological information on the subject on the basis of the time-series images of the skin region corrected by the correction unit.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates to a technique for detecting biological information from an image including a subject. [Background technology]

[0002] There is a technology that obtains biometric information by observing changes in the color of a subject's skin due to their pulse from video of the subject. In particular, technology that obtains hue as color information from skin is highly robust against noise caused by the movement of the subject.

[0003] Patent Document 1 discloses a method for acquiring biological information such as pulse rate from an image based on the hue of the skin region of a subject. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Patent Publication No. 2021-23490 Summary of the Invention [Problem to be solved by the invention]

[0005] However, the intensity of the periodic signal on the hue based on the change in skin color due to the pulse is affected by the degree of the hue value.

[0006] Patent Document 1 discloses a color correction configuration that uses Retinex theory to correct the color of an image to a natural color that is independent of the lighting color, thereby acquiring biometric information robustly regardless of the lighting color.

[0007] The present invention provides a technique that enables detection of biological information with higher accuracy than ever before. [Means for solving the problem]

[0008] In order to solve this problem, for example, a video processing device of the present invention has the following configuration: 1. A video processing device that detects biological information of a subject from a video of the subject that is composed of a plurality of frames arranged in time series, an acquisition means for inputting the video and acquiring a skin region of a subject; a determining means for determining a correction coefficient for approximating the hue of the pixel in the skin region acquired by the acquiring means to a predetermined target hue, based on the color of the skin region acquired by the acquiring means and a color representing the target hue; a correction means for correcting at least pixels of the skin region in each frame constituting the video image using the correction coefficient; and detecting means for detecting biological information of the subject based on the time-series images of the skin region after correction by the correcting means. [Effects of the Invention]

[0009] According to the present invention, it is possible to acquire biometric information with higher accuracy. [Brief explanation of the drawings]

[0010] [Figure 1] FIG. 1 is a block diagram showing an example of the hardware configuration of a video processing device. [Figure 2] Conceptual diagram of how to calculate hue H from RGB. [Figure 3] FIG. 1 is a block diagram showing an example of the functional configuration of a video processing device. [Figure 4] 10 is a flowchart showing a process executed by a video processing device. [Figure 5] 10 is a flowchart showing a color correction and average hue acquisition process executed by the video processing device. [Figure 6] 10 is a flowchart showing a biological information detection process executed by the video processing device. [Figure 7] FIG. 10 is a diagram showing a correspondence table between H correction target values ​​and RGB correction target values. [Figure 8] FIG. 10 is a graph showing the relationship between the correction target hue value and the score in a preliminary experiment. [Figure 9]10 is a flowchart showing a process executed by a video processing device according to a second embodiment. DETAILED DESCRIPTION OF THE INVENTION

[0011] Hereinafter, embodiments will be described in detail with reference to the accompanying drawings. Note that the following embodiments do not limit the scope of the claimed invention. Although multiple features are described in the embodiments, not all of these multiple features are necessarily essential to the invention, and multiple features may be combined arbitrarily. Furthermore, in the accompanying drawings, the same reference numerals are used to designate the same or similar components, and redundant explanations will be omitted.

[0012] 1 is a diagram showing an example of the hardware configuration of a video processing device 100. The video processing device 100 has a CPU 101, a ROM 102, a RAM 103, a hard disk drive (HDD) 104, a communication unit 105, an input device 106, and an output device 107. The communication unit 105 is connected to a network 108.

[0013] The CPU 101 reads out a control program recorded in the ROM 102 and executes various processes. The RAM 103 is used as a temporary storage area such as a main memory or a work area. The HDD 104 is used for long-term data storage. The communication unit 105 is a circuit for communication via a network 108. The input device 106 is a device for inputting instructions and data to the video processing device 100 from the outside. Specifically, it includes a camera for acquiring images, a keyboard, a mouse, a touch panel, etc. for accepting user input. The output device 107 is a device for outputting instructions and data from the video processing device 100 to the outside. Specifically, it includes a display device such as a display for displaying results, and an interface for outputting determination results to an external device.

[0014] It should be noted that the video processing device 100 does not necessarily need to include all of the components shown in Fig. 1 if they are not functionally necessary. For example, if all input and output with the outside world is performed using other devices interconnected via a network 108, the input device 106 and the output device 107 are not necessary. Furthermore, the video processing device 100 may include components not shown in Fig. 1. For example, video processing may be performed by a GPU (graphical processing unit) or an FPGA (field programmable gate array).

[0015] As described above, the hardware configuration of the video processing device 100 is similar to that of a personal computer (PC). Therefore, various functions realized by the video processing device 100 can be implemented as application software executed on the PC. In other words, the video processing device 100 can realize various functions of the video processing device 100 and the flowcharts described below by the CPU 101 executing programs.

[0016] A general method for calculating the hue H from the R, G, and B component values ​​will be described with reference to FIG.

[0017] The pixels that make up a digital color image are often represented by the brightness information of each color component: R (red), G (green), and B (blue). To calculate the hue H from the RGB brightness information, the following method is generally used.

[0018] First, on the two-dimensional plane shown in FIG. 2, R vector 201, G vector 202, and B vector 203 are defined as follows. R vector 201 is a vector whose direction is 0° and whose magnitude is R luminance. G vector 202 is a vector whose direction is 120° and whose magnitude is G luminance. B vector 204 is a vector whose direction is 240° and whose magnitude is B luminance. Then, one pixel can be specified by sum vector 204 of R vector 201, G vector 202, and B vector 203. At this time, the direction of sum vector 204 (angle 205 with respect to the R axis in the figure) is hue H.

[0019] When the hue H of a region of interest in an image is calculated as described above, if there is a time-series color change in a direction nearly perpendicular to the direction of the sum vector 204, the change in hue H will be noticeable.

[0020] For example, consider a case where only the G luminance of RGB luminance changes over time. In this case, an image represented by a hue at an angle of 30° or 210° (perpendicular to the 120° direction of the G vector 202), which is perpendicular to the direction represented by the G luminance, is an image that is sensitive to time-series changes in the G component. Conversely, in the case of an image represented by a hue close to 120° or 300° (parallel to the 120° direction of the G vector 202), the change in hue relative to time-series changes in the G component is small, making it difficult to detect the hue change.

[0021] From the above considerations, when the color change due to the skin pulse is nearly perpendicular to H (the direction of the sum vector 204) in Fig. 2, the displacement due to the pulse included in the time-series data of H becomes large. Therefore, in this embodiment, by correcting the skin color in the image to a hue value that is ideal for detecting such biological information, it becomes possible to better acquire the color change due to the pulse.

[0022] The ideal hue values ​​experimentally determined for detecting biological information are specifically 50°, 230°, and their surroundings.

[0023] FIG. 8 is a graph showing the relationship between the correction target hue value and the average score in a preliminary experiment in which the correction target hue value was set in 10° increments for multiple videos and the colors were corrected. The color correction method will be described later in the explanation using FIG. 5 of the first embodiment. Through the color correction process, the average hue value of the skin region becomes a value close to the correction target hue value. The score calculation method will be described later in the explanation using FIG. 9 of the second embodiment. The score indicates the relative intensity of the periodic component of the pulse wave in the overall hue information; in FIG. 8, the higher the score, the more emphasized the signal from the pulse wave. In the graph, the scores are high for correction target hue values ​​of 50°, 230°, and their surroundings, indicating that these hue values ​​are ideal for detecting biological information.

[0024] [First embodiment] Fig. 3 is a block diagram showing the functional configuration of the video processing device 100 of Fig. 1 according to an embodiment. Each block shown here can be realized in hardware terms by elements or mechanical devices such as a computer CPU, and in software terms by a computer program, etc., but the functional blocks shown here are realized by the cooperation of these. Therefore, those skilled in the art who have read this specification will understand that these functional blocks can be realized in various ways by combining hardware and software.

[0025] The image processing device 100 has an image acquisition unit 302, a face detection unit 303, a skin region extraction unit 304, a color information acquisition unit 305, a biological information detection unit 306, and a result output unit 307. The image processing device 100 is connected to an image acquisition device 301 via a network 108. Note that the image acquisition device 301 may be connected via an input / output interface included in the input device 106 and the output device 107, rather than via the network 108. The image acquisition device 301 may also be provided within the image processing device 100.

[0026] Next, each component will be described. The image capture device 301 is an imaging device typically represented by a video camera. The image capture device 301 captures an image of a subject from which biometric information is to be detected at an appropriate frame rate, and transmits the captured image data to the image processing device 100 via the network 108. When transmitting the captured image data, the image capture device 301 may apply any format of video encoding, such as Motion JPEG or H.264, to reduce the amount of data to be transmitted.

[0027] It should be noted that the duration of the image captured by the image capturing device 301 needs to exceed the cycle indicated by the biometric information. In this embodiment, the pulse is detected as biometric information, so the image capturing device 301 captures an image of the subject for, for example, 10 seconds, which includes several beats. It should be noted that in this embodiment, the image capturing device 301 captures each of the R, G, and B color components that make up one pixel with an accuracy of 8 bits (256 gradations).

[0028] The video acquisition unit 302 acquires video data from the image capture device 301 via the network 108, and supplies the acquired video data to a face detection unit 303 at the subsequent stage.

[0029] The face detection unit 303 detects the face of the subject from the video data from the video acquisition unit 302, and supplies information specifying the detected face area to the skin area extraction unit 304. Any method can be used to detect the face. For example, a detector that detects the area of ​​a person's face from an image trained by deep learning may be used. The detection results are generally expressed on a computer by obtaining the coordinates of a circumscribing rectangle that completely encompasses the face on the image for each frame in the video, but other formats are also possible.

[0030] The skin region extraction unit 304 extracts a skin region pixel by pixel from the facial region of the video and supplies information indicating the extracted skin region to the color information acquisition unit 305. Any method can be used to extract the skin region. For example, the color representation of the video can be converted to HSV format, and the skin region can be defined as a set of pixels whose H, S, and V values ​​fall within a specific range determined in advance. Alternatively, based on the assumption that the skin region occupies the majority of the facial region, statistically outliers in the HSV values ​​of all pixels in the facial region can be excluded, and the set of remaining pixels can be defined as the skin region. Alternatively, an extractor trained by deep learning can be used to extract a person's skin region pixel by pixel. The results of the skin region extraction can be represented on a computer as a "mask image," in which pixels in the skin region are given a value of 1 and other pixels are given a value of 0.

[0031] Based on information from the skin region extraction unit 304, the color information acquisition unit 305 performs color correction on the skin region in the video so that color changes due to pulse waves are emphasized in the time-series data of the average hue value, and then acquires the average hue value. Color correction is performed by multiplying each RGB pixel value by a correction coefficient. The correction coefficient is calculated using the average value of each RGB within the skin region in a predetermined frame in the video and a predetermined correction target value for each RGB. The correction target values ​​of RGB are determined from the correction target value of H (correction target hue value) based on the correspondence table shown in FIG. 7. The correction target hue value is determined by a designer based on the results of a preliminary experiment in FIG. 8. A specific method according to this embodiment will be described later using a flowchart.

[0032] The biometric information detection unit 306 detects biometric information based on the pulse wave, based on the time-series data of the average hue value. Any biometric information that can be detected from a pulse wave using a known method can be detected. Examples include pulse rate (more precisely, the number of beats per minute), blood pressure, and a stress index. Alternatively, biometric information may be biometric determination information that determines whether a subject is a living organism or a non-living organism such as a photograph, using an index such as the strength of the pulse wave. This can be used to prevent impersonation using a photograph of another person in a face authentication system. In this embodiment, the subject's pulse rate is detected as the biometric information, for example. A specific method for detecting the pulse rate will be described later using a flowchart.

[0033] The result output unit 307 outputs the biological information (pulse rate in this embodiment) detected by the biological information detection unit 306. For example, the biological information is displayed on a display connected as the output device 107.

[0034] 4 is a flowchart showing the processing executed by the video processing device 100 in this embodiment. The flow of the biometric information detection processing of the video processing device 100 will be described below with reference to this figure. In the following description, each process (step) is represented by adding an S to the beginning, and the process (step) is not necessarily represented. However, the video processing device 100 does not necessarily have to perform all of the steps described in this flowchart.

[0035] After the process starts (for example, after the power of the video processing device 100 is turned on), the video acquisition unit 302 acquires video data obtained by capturing an image of a subject from the video acquisition device 301 in S401.

[0036] In S402, the face detection unit 303 detects the face of the subject in the acquired video data. As a result, the coordinates of a rectangle (typically a circumscribing rectangle) that exactly includes the face are obtained for each frame of the video.

[0037] In S403, the skin region extraction unit 304 extracts a skin region from the detected face region, thereby obtaining a set of pixels that form the skin region within the face region for each frame of the video.

[0038] In S404, the color information acquisition unit 305 performs color correction processing and average hue value acquisition processing on the extracted skin region. The color correction processing is processing for adjusting the average hue value of the skin region to a value close to an ideal hue value for biological information detection. The specific procedure will be described later using the flowchart in FIG. 5. This processing is performed for each frame of the video, and as a result, time-series data of the average hue value is obtained.

[0039] In S405, the biological information detection unit 306 calculates biological information (pulse rate in this embodiment) of the subject as biological information based on the time-series data of the average hue value. A specific procedure will be described later using the flowchart in FIG.

[0040] In S406, the result output unit 307 outputs the pulse rate of the subject obtained in S405. The output target is the output device 107 (display device), but it may also be a storage device because the calculated biometric information is saved as a file.

[0041] 5 is a flowchart for explaining the processing of S404 executed by the color information acquisition unit 305 in this embodiment. The flow of the color correction and average hue acquisition processing of the color information acquisition unit 305 will be explained below with reference to the same drawing.

[0042] In S501, the color information acquisition unit 305 sets the first frame among the unprocessed frames in the video as the frame to be processed. Subsequent processing is performed on the frame to be processed set here.

[0043] In S502, the color information acquisition unit 305 determines whether the currently processed frame is the first frame (leading frame) of the video. This is a determination process to determine whether the frame is a frame specified to be used for calculating the correction coefficients, and in this embodiment, the first frame is used for calculating the correction coefficients. If the frame is the first frame, the color information acquisition unit 305 proceeds to S503, and if the frame is a frame other than the first frame, the color information acquisition unit 305 proceeds to S505.

[0044] In S503, the color information acquisition unit 305 calculates the average values ​​of R, G, and B values ​​of all pixels included in the skin region in the frame to be processed. Hereinafter, the average value of R will be represented as aveR, the average value of G as aveG, and the average value of B as aveB.

[0045] In S504, the color information acquisition unit 305 calculates the correction coefficients Ar, Ag, and Ab according to the following equations (1) to (3).

[0046]

number

[0047]

number

[0048]

number

[0049] In the formula, tagR, tagG, and tagB are the correction target values ​​for R, G, and B, respectively, and are values ​​that are set in advance in the color information acquisition unit 305. The designer sets the correction target hue values ​​in advance, and the color information acquisition unit 305 automatically sets the correction target values ​​for R, G, and B, respectively, tagR, tagG, and tagB, based on the correction target hue values ​​(H correction target values) and the correspondence table of FIG. 7. The designer sets the hue value that is ideal for detecting biological information as the correction target hue value in the color information acquisition unit 305. Note that, from the results of a preliminary experiment shown in FIG. 8, it has been confirmed that it is best to use 50°, 230°, and values ​​in the vicinity thereof as the correction target hue values. In this embodiment, the correction target hue value is set to 50°. Therefore, in this embodiment, based on the correspondence table of FIG. 7, the correction target value for R (tagR) is set to "127," the correction target value for G (tagG) is set to "116," and the correction target value for B (tagB) is set to "63." Note that instead of the designer setting the correction hue target value, the correction target values ​​for R, G, and B may be set directly in the color information acquisition unit 305. Also, Fig. 7 shows an example of the correspondence between the correction target values ​​for R, G, B, and H, and it does not necessarily have to be this way.

[0050] In S505, the color information acquisition unit 305 corrects the RGB values ​​of each pixel in the skin region of the frame of interest using the correction coefficients Ar, Ag, and Ab. Specifically, according to the following equations (4) to (6), the R, G, and B component values ​​of each pixel in the skin region are multiplied by the correction coefficients Ar, Ag, and Ab to obtain corrected component values ​​R', G', and B'. Hereafter, R', G', and B' are used as the RGB pixel values ​​of that pixel.

[0051]

number

[0052]

number

[0053]

number

[0054] In S506, the color information acquisition unit 305 calculates the hue value H of each pixel. The hue value H is calculated from the RGB values ​​of the pixel using the following equation (7). Here, the RGB values ​​of the pixel are the values ​​(R', G', B') corrected in S505.

[0055]

number

[0056] In S507, the color information acquisition unit 305 calculates the H average value for the entire skin color region. The H average value is calculated by averaging the H values ​​for each pixel calculated in S506 for the entire skin color region.

[0057] In S508, the color information acquisition unit 305 determines whether the processed frame is the last frame of the video. If it is not the last frame, the color information acquisition unit 305 returns to S501 to set the next frame as the frame to be processed. The color information acquisition unit 305 then repeats the processes of S501 to S507 until it determines that it has completed processing for all frames. If it determines in S507 that it is the last frame, the color information acquisition unit 305 ends the color correction and average hue acquisition process.

[0058] As a result of the above, the hue of the skin region of the subject in each frame is converted to a hue that approximates the corrected hue target value while incorporating the influence of the pulse. In other words, time-series image data of the skin region having a hue that approximates the corrected hue target value is generated.

[0059] In the above, the first frame is used as the representative frame for calculating the average RGB values ​​of the skin region and determining the correction coefficients. However, other frames may be used, and multiple frames may also be used. In such cases, the processing of S502 to S504 should be changed accordingly. Furthermore, since the correction coefficients must be determined before processing S505 and subsequent steps, if a frame other than the first frame is used in S502 to S504, the order of the frames and steps to be processed should be appropriate. For example, when processing video captured in real time, it is preferable to use the first frame to determine the correction coefficients, as in the embodiment. On the other hand, if the video is temporarily accumulated and saved on HDD 104 and then processed later, it is also possible to perform the processing of S502 to S504 using the entire video frame to determine the correction coefficients, and then perform the processing of S505 and subsequent steps for each frame.

[0060] 6 is a flowchart showing details of the process of S405 executed by the biometric information detection unit 306 in this embodiment. The flow of the biometric information detection process by the biometric information detection unit 306 will be described below with reference to this drawing.

[0061] In S601, the biological information detection unit 306 acquires the time-series data after hue correction generated by the color information acquisition unit 305.

[0062] In S602, the biological information detection unit 306 applies a band-pass filter to the hue-corrected time-series data. The band-pass filter is designed to pass frequency components within the range of a typical human pulse rate (0.83 Hz to 3.33 Hz, which corresponds to a range of 50 bpm (beats per minute) to 200 bpm).

[0063] In S603, the biological information detection unit 306 performs frequency analysis on the filtered, hue-corrected time-series data to obtain a frequency spectrum. The frequency analysis can be performed using any method, such as fast Fourier transform.

[0064] In S604, the biological information detection unit 306 determines, from the frequency spectrum, the frequency of the frequency component with the maximum amplitude among frequency components in the range of a typical human pulse rate, as the peak frequency.

[0065] In S605, the biological information detection unit 306 acquires the peak frequency as the pulse rate of the subject, and sets it as the result of biological information detection.

[0066] As described above, according to this embodiment, the skin hue of the subject in the video is converted to a hue close to a hue suitable for detecting biometric information, and then the biometric information is detected, thereby enabling high-accuracy detection of biometric information.

[0067] [Second embodiment] In the first embodiment, a designer determines a corrected target hue value based on the ideal hue value for biometric information detection, and corrects the color of the skin region to a value close to the corrected target hue value, thereby detecting biometric information with higher accuracy. The designer can determine the ideal hue value for biometric information detection by referring to the preliminary experiment results shown in FIG. 8. However, the scores in FIG. 8 are average values ​​for multiple images, and the relationship between each corrected target hue value and the score shown in the figure represents the overall trend of multiple images. Individual images do not necessarily have the same relationship as in FIG. 8; strictly speaking, the most ideal hue value for biometric information detection may differ depending on factors such as the lighting color, the camera's white balance, and the original skin color.

[0068] In the second embodiment, after performing multiple corrections using multiple correction target hue values ​​on the captured video, biometric information is detected and a score is calculated for each correction, and the best result is determined based on the scores. This makes it possible to output a biometric information detection result obtained by color correction using the optimal correction target hue value for the actual captured video.

[0069] Only the differences from the first embodiment will be explained below.

[0070] In the second embodiment, the designer sets a plurality of correction target hue values ​​in the color information acquisition unit 305.

[0071] Here, various methods for setting multiple correction target hue values ​​are conceivable. For example, they may be set at regular intervals (e.g., 10-degree intervals) from 0° to 360°. However, if a large number of correction target hue values ​​are set, it may take a long time for the video processing device 100 to complete processing for all of the set correction target hue values. Therefore, when processing time or computational resources such as the CPU 101 are limited, it is preferable to use a method that is likely to obtain the most ideal correction target hue value even when setting a small number of correction target hue values. For example, it is conceivable to set the correction target hue values ​​in small increments of 30° around each of 50° and 230°, which are likely to show high scores for many videos (e.g., the angle difference between adjacent target hues is 5°). Furthermore, the number of correction target hue values ​​to be set may be dynamically changed, for example, by changing the interval between the set correction target hue values ​​depending on the computer's resource status.

[0072] The functional configuration of the video processing device 100 in the second embodiment can be explained using Fig. 3, similarly to the first embodiment. The differences from the first embodiment are as follows.

[0073] The color information acquisition unit 305 sets a plurality of RGB correction target values ​​based on the plurality of correction target hue values ​​that have been set in advance and the correspondence table of FIG.

[0074] If N (N≧2) correction target hue values ​​are set, a set of pixel correction target values ​​for each correction target hue value can be expressed as follows: {tagR(1), tagG(1), tagB(1)} {tagR(2), tagG(2), tagB(2)} : {tagR(N), tagG(N), tagB(N)}

[0075] During video processing, the color information acquisition unit 305 performs multiple color corrections using N sets of correction target values ​​to acquire multiple average hue values. As a result, N pieces of time-series data are generated, each having a hue that approximates one of the corrected hue target values ​​1 to N.

[0076] The biometric information detection unit 306 detects multiple pieces of biometric information from time-series data having hues close to the N corrected hue target values, and calculates N scores. The biometric information detection unit 306 then evaluates the calculated N scores and determines the one with the best score as the final biometric information to be output.

[0077] The color information acquisition unit 305 and the biological information detection unit 306 may process data that has not undergone color correction in addition to processing data that has undergone color correction using a plurality of set correction target values, in order to consider the possibility that the processing results using the original colors without correction may be the best (highest score).

[0078] FIG. 9 is a flowchart illustrating the processing executed by the video processing device 100 according to the second embodiment.

[0079] The processes in S401 to S403 are the same as those in the first embodiment.

[0080] After the process of S403, the video processing device 100 performs the following processes for each of the predetermined N different correction target hue values: color correction and average hue acquisition process of S404, biometric information detection of S405, and score calculation of S901. In FIG. 9, the N correction target hue values ​​are numbered from 1 to N, and the process performed for each is indicated by a hyphen following the step number. For example, S404-2 is the color correction and average hue acquisition process for the second correction target hue value. Note that although the first to Nth correction target hue values ​​are processed in parallel in the flowchart of FIG. 9, they may also be processed sequentially in a loop.

[0081] The processing in each of S404-1 to S404-N is the same as S404 in the first embodiment, except that the correction target hue values ​​used in S404-1 to S404-N correspond to the respective numbers.

[0082] The processing in each of S405-1 to S405-N is the same as S405 in the first embodiment, except that the time-series data of the average hue value used in S405-1 to S405-N is obtained in S404-1 to S404-N, respectively.

[0083] In S901-1 to S901-N, the biometric information detection unit 306 calculates a score for the biometric information obtained in S405-1 to S405-N. Specifically, first, for the frequency spectrum obtained in S604, the average amplitude value (or average power value) of frequency components in the range of a typical human pulse rate is calculated. Then, the amplitude value at the peak frequency determined in S604 is divided by the average amplitude value to obtain a score. In this way, the relative strength of the pulse wave in the frequency band in the range of a human pulse rate can be calculated as a score. Note that other calculation methods may be used for the score as long as a good biometric information detection result can be selected by comparing them. For example, it is also possible to calculate the squared error between a sine wave with a peak frequency that has the same phase and amplitude and the time-series data of the filtered color information obtained in S602, and use this as a score.

[0084] In S902, the biometric information detection unit compares the scores calculated in S901-1 to S901-N and determines the biometric information detection result corresponding to the best score as the final result. Note that information other than the score may be referenced when determining the final result. For example, when outputting the pulse rate as the biometric information detection result, the final result may be selected by majority vote from the results obtained in S405-1 to S405-N. Furthermore, it is also possible to use score information to select by majority vote from results with a certain score or above, or to take the average pulse rate of the results with the highest scores and use that as the final result.

[0085] In S406, the result output unit 307 outputs the final result determined in S902.

[0086] As described above, according to the second embodiment, it is possible to detect biological information of a subject with high accuracy regardless of the subject's skin color or the photographing environment such as lighting during photographing.

[0087] (Other Examples) The present invention can also be realized by supplying a program that realizes one or more functions of the above-described embodiments to a system or device via a network or a storage medium, and having one or more processors in the computer of the system or device read and execute the program.The present invention can also be realized by a circuit (e.g., ASIC) that realizes one or more functions.

[0088] The invention is not limited to the above-described embodiments, and various changes and modifications can be made without departing from the spirit and scope of the invention. Accordingly, the following claims are appended to apprise the public of the scope of the invention. [Explanation of symbols]

[0089] 100... image processing device, 301... image acquisition device, 302... image acquisition unit, 303... face detection unit, 304... skin region extraction unit, 305... color information acquisition unit, 306... biological information detection unit, 307... result output unit

Claims

1. 1. An image processing device that detects biological information of a subject from an image of the subject that is composed of a plurality of frames arranged in a time series, comprising: an acquisition means for inputting the image and acquiring a skin area of ​​the subject; a determining means for determining a correction coefficient for approximating the hue of a pixel in the skin region acquired by the acquiring means to a preset target hue, based on the color of the skin region acquired by the acquiring means and a color representing the target hue; a correction means for correcting at least pixels of the skin region in each frame constituting the video image using the correction coefficient; a detection means for detecting biological information of the subject based on the time-series images of the skin region after the correction by the correction means; 13. A video processing device comprising:

2. The determining means is determining a color represented by an average value of the values ​​of each color component of all pixels in a skin region of a preset representative frame in the image as the color of the skin region; determining, as the correction coefficient, a ratio between a value of each color component representing the color of the skin region and a value of each color component representing the color of the target hue; The correction means performs the correction by multiplying the value of each color component of the pixels in the skin region by a corresponding correction coefficient.

2. The image processing device according to claim 1.

3. 3. The image processing device according to claim 1, wherein the target hue represents a direction of 50° or 230° when the direction of the R component is 0°, the direction of the G component is 120°, and the direction of the B component is 240°.

4. the determining means determines N sets of correction coefficients for approximating the hues of the pixels in the skin region acquired by the acquiring means to N (N≧2) target hues set in advance, based on the color of the skin region acquired by the acquiring means and colors representing the N target hues; the correction means corrects at least pixels of the skin region in each frame constituting the video image in accordance with the N sets of correction coefficients to generate N pieces of time-series image data of the skin region; The detection means detects biological information of the N subjects based on the N pieces of time-series image data of the skin region obtained by the correction means, and determines biological information of the subjects to be output by evaluating the biological information of the N subjects.

2. The image processing device according to claim 1.

5. The N target hues are N hues that have a preset angle between adjacent target hues with 50° or 230° as the center, when the direction of the R component is 0°, the direction of the G component is 120°, and the direction of the B component is 240°.

5. The image processing device according to claim 4.

6. The biological information includes at least one of pulse rate, blood pressure, stress index, and biological evaluation information.

6. The image processing device according to claim 1,

7. A method for controlling an image processing device that detects biological information of a subject from an image of the subject that is composed of a plurality of frames arranged in a time series, comprising the steps of: an acquisition step of inputting the video and acquiring a skin area of ​​the subject; a determining step of determining a correction coefficient for approximating the hue of the pixel in the skin region obtained in the obtaining step to a preset target hue, based on the color of the skin region obtained in the obtaining step and a color representing the target hue; a correction step of correcting at least pixels of the skin region in each frame constituting the video image using the correction coefficient; a detection step of detecting biological information of the subject based on the time-series images of the skin region after the correction step; 13. A method for controlling a video processing device, comprising:

8. A program for causing a computer to execute each step of the control method according to claim 7 when the program is read and executed by the computer.