Image processing apparatus and image processing method

The image processing device enhances vehicle-recorded images by analyzing facial expressions and audio to identify key events, adding subtitles, and storing them separately, addressing the inefficiency of reviewing redundant vehicle images.

JP2024149535AActive Publication Date: 2024-10-18JVC KENWOOD CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2024122207
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-10-18
Estimated Expiration
2040-07-08

AI Technical Summary

Technical Problem

Images captured inside vehicles, including still images and videos, often contain redundant parts and are not suitable for effective review as records of events, especially during long playback times, due to their inefficiency in highlighting important scenes.

Method used

An image processing device and method that evaluates the situation inside a vehicle using facial expression analysis and audio recognition to identify key events, applying image processing to highlight these events with subtitles or marks, and storing the processed images separately to facilitate easy review.

Benefits of technology

The solution allows for the creation of digest images that highlight important scenes during playback, making it easier to understand and enjoy the recorded events, even after prolonged playback.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024149535000001_ABST
    Figure 2024149535000001_ABST
Patent Text Reader

Abstract

To provide an image processing apparatus in which an important scene during imaging can be reviewed in an easily understandable digest image after imaging, and the like.SOLUTION: An image processing apparatus comprises: an acquisition unit 11 that acquires an image from a camera which is mounted on a mobile object; a state evaluation unit 12 that evaluates a state of one or more occupants who are boarding on the mobile object; an image recording unit 17 that records an image when an abnormality occurs in the mobile object; and an image processing unit 16 that performs image processing depending on the state of the occupant for the image, and records the image on the image recording unit by discriminating from the image when the abnormality occurs in the mobile object.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 image processing device and an image processing method. [Background technology]

[0002] Images (including still images and videos) including audio from inside the vehicle's cabin are recorded using the vehicle's onboard camera and onboard The travel records are collected by people who go to the destination and are kept as a record of their travels. When reviewing saved images, it is effective to add subtitles or other effects to the images in advance. . For example, the description of Patent Document 1 describes a method for extracting words from audio included in an image and calculating the frequency of use of the words. A display mode determination device that determines a display mode of a subtitle according to a degree is disclosed. In addition, the image is not limited to the image of the interior of a vehicle, but may be an image of the interior of a vehicle or other space. The same is true for storing captured images as a record of an event. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2019-062332 A Summary of the Invention [Problem to be solved by the invention]

[0004] However, the images mentioned above have many redundant parts and are not suitable for reviewing as a record of events after shooting. This problem is particularly noticeable when the playback time is long.

[0005] The present invention has been made to solve the above-mentioned problems, and is a method for detecting a subject during shooting after shooting. An image processing device that allows you to review important scenes with easy-to-understand digest images, and An image processing method is provided. [Means for solving the problem]

[0006] An image processing device according to one embodiment of the present invention includes an acquisition unit that acquires images from a camera mounted on a moving body, a situation evaluation unit that evaluates the condition of one or more occupants on board the moving body, an image recording unit that records images when an abnormality occurs in the moving body, and an image processing unit that performs image processing on the images according to the condition of the occupants and records them in the image recording unit separately from images when an abnormality occurs in the moving body.

[0007] An image processing method according to one aspect of the present invention includes an acquisition step of acquiring an image from a camera mounted on a moving body, a situation evaluation step of evaluating the condition of one or more occupants on board the moving body, an image recording step of recording an image when an abnormality occurs in the moving body, and an image processing step of performing image processing on the image according to the condition of the occupants and recording the image in the image recording unit separately from images when an abnormality occurs in the moving body. Effect of the Invention

[0008] According to the present invention, after shooting, important scenes during shooting are displayed in an easy-to-understand digest image. It is possible to provide an image processing device and an image processing method that can perform repetition. [Brief description of the drawings]

[0009] [Figure 1] 1 is a block diagram showing an example of a configuration of an image processing device according to a first embodiment. [Diagram 2] FIG. 4 is a diagram showing an example of a data structure of a situation table according to the first embodiment. [Diagram 3] FIG. 4 is a diagram showing an example of a data structure of an image processing mode table according to the first embodiment. [Figure 4] 4 is a flowchart showing an outline of processing performed by the image processing device according to the first embodiment. [Diagram 5]5 is a flowchart showing a first example of processing by the image processing device according to the first embodiment. [Figure 6] 6 is a flowchart showing a second example of the process of the image processing device according to the first embodiment. [Figure 7] FIG. 2 is a diagram showing an example of an image processing mode of the image processing device according to the first embodiment. [Figure 8] FIG. 2 is a diagram showing an example of an image processing mode of the image processing device according to the first embodiment. [Figure 9] FIG. 2 is a diagram showing an example of an image processing mode of the image processing device according to the first embodiment. [Figure 10] FIG. 11 is a block diagram showing an example of a configuration of an image processing device according to a second embodiment. [Figure 11] FIG. 11 is a diagram illustrating an example of a data structure of a situation table according to the second embodiment. [Figure 12] FIG. 11 is a diagram showing an example of a data structure of an image processing mode table according to the second embodiment. [Figure 13] 10 is a flowchart showing a process of the image processing device according to the second embodiment. [Figure 14] FIG. 11 is a diagram showing an example of an image processing mode of the image processing device according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] The present invention will be described below through the embodiments of the invention. The present invention is not limited to the following embodiments. Furthermore, all of the configurations described in the embodiments do not solve the problems. It is not necessarily essential to provide a solution. In the drawings, the same elements are omitted or simplified as appropriate. The elements are given the same reference numerals, and repeated explanations are omitted as necessary.

[0011] <Embodiment 1> First, the first embodiment of the present invention will be described with reference to FIGS. 1 to 9. FIG. 1 is a block diagram showing an example of the configuration of such an image processing system 1. The system performs image processing such as adding subtitles to images of the target space including people, and creates a digest. In the first embodiment, the target space is a passenger space. This refers to the interior space of a vehicle in which a person is present (hereinafter, sometimes referred to as the vehicle interior). However, this is not limited to this. The target space may be a passenger-occupied vessel or other moving object such as an airplane, or a space where people are present. It may be an indoor or outdoor space of a building.

[0012] The image processing system 1 includes an image processing device 10, a camera 30, and a microphone 40. In the first embodiment, the image processing device 10, the camera 30, and the microphone 40 are a driving recorder. The present invention provides an in-vehicle device system including an in-vehicle device such as a driver monitor, an in-cabin monitor, etc. Complete.

[0013] The camera 30 is mounted at an arbitrary position in the vehicle, captures the scenery inside the vehicle, and displays the captured image. As an example, the camera 30 captures the image of a passenger sitting in a seat of a vehicle. The camera 30 is communicably connected to the image processing device 10. The camera 30 For example, generate image data at 30 frames per second (30 fps) and divide the generated image data into 3 The camera 30 captures the vehicle interior as well as other vehicle images. The outside scenery may be photographed and supplied to the image processing device 10 .

[0014] The microphone 40 is mounted at a desired position in the vehicle, picks up voices in the vehicle cabin, and stores the voice data. As an example, the microphone 40 captures the voice of a passenger sitting in a vehicle seat. The microphone 40 is also communicatively connected to the image processing device 10. The microphone 40 The microphone 40 picks up the sound in the vehicle cabin. The input signal is not limited to voice, and sound outside the vehicle may be acquired and supplied to the image processing device 10.

[0015] The image processing device 10 is a computer or hardware device installed in association with an in-vehicle device. The image processing device 10 may be built into the vehicle-mounted device or may be provided externally. Alternatively, the image processing device 10 may be installed at a location away from the vehicle and communicated by wireless communication means. The image processing device 10 may communicate with the camera 30 and the microphone 40. The image and audio data acquired from the microphone 40 are subjected to image processing such as adding subtitles. The image processing device 10 performs image processing using a camera 30 and a microphone 31 to generate a digest image. 40 may be included.

[0016] The image processing device 10 includes an acquisition unit 11, a situation evaluation unit 12, a voice recognition unit 15, and an image processing unit. The image processing unit 10 includes a memory unit 16, an image recording unit 17, and a table storage unit 18.

[0017] The acquisition unit 11 acquires audio data and image data of the inside of the vehicle that is the subject of imaging from the microphone 40 and The acquisition unit 11 acquires the information from the microphone 40 and the camera 30. The interface may be an input terminal or an input circuit connected by a line. The acquisition unit 11 may be a communication receiving unit that is wirelessly connected to the camera 30. The voice data and image data are supplied to a situation evaluation unit 12 and a voice recognition unit 15 .

[0018] The situation evaluation unit 12 evaluates the situation inside the vehicle cabin. Here, the situation inside the vehicle cabin is defined as the situation in the space. The facial expression or speech pattern of one or more people (passengers) in the vehicle is categorized. For example, the situation could be one in which there are smiling passengers, one in which there are sleeping passengers, or one in which there are angry passengers shouting. Examples of such situations include a mixture of smiling and unsmiling passengers.

[0019] At this time, the situation evaluation unit 12 calculates a situation evaluation value of the evaluation target situation. , refers to the situation to be evaluated, for example, the situation shown in the situation table 19 described later The target situations are all the situations shown in Table 19. It may be all or a part of it.

[0020] The situation evaluation value is calculated for each evaluation target situation, and the degree to which the situation inside the vehicle is similar to the evaluation target situation is calculated. Indicates the level of relevance.

[0021] Here, the situation evaluation unit 12 includes an image evaluation unit 13 . The image evaluation unit 13 evaluates the situation related to the evaluation target situation based on the image data acquired by the acquisition unit 11. In more detail, the image evaluation unit 13 calculates a facial expression evaluation statistic for each facial expression. Image recognition processing is performed on the image data to recognize people in the image data and to recognize the facial expressions of the recognized people. The system recognizes facial expressions and evaluates them as types of facial expressions such as "laughing," "sadness," "anger," and "sleepiness." The image recognition process uses known techniques such as machine learning.

[0022] The facial expression evaluation statistic is one of the situation evaluation indicators included in the situation evaluation value. is a statistical value of the facial expression evaluation value for the population of all occupants captured in the image data. Here, the facial expression evaluation value is determined according to the type of facial expression, and the facial expression of each occupant is determined according to the determined facial expression. The facial expression evaluation score is an index showing the degree to which the facial expression of each occupant in the image data is related to the For example, the facial expression evaluation value is calculated based on the size, position, shape, or facial expression of each part of the face. is the difference between the actual value obtained from the image data and a predetermined reference value with respect to the neck angle. The facial expression evaluation value may be calculated based on the number of people with various facial expressions. The facial expression evaluation may be calculated using a facial expression evaluation model that has been trained using images as training data. The facial expression evaluation score is calculated based on the facial expression evaluation scores of all occupants captured in the image data. The total value may be the number of passengers who have a facial expression evaluation value equal to or greater than a threshold value. The facial expression evaluation statistic may be the percentage of occupants having a facial expression evaluation value equal to or greater than a threshold value. Determining whether the number or ratio of occupants having the above facial expression evaluation value exceeds a predetermined threshold value. The facial expression evaluation statistic may be a total or average value of the facial expression evaluation values. For example, the facial expression evaluation statistics for "laughing" are calculated by dividing the number of passengers with a high facial expression evaluation score for "laughing" by the number of passengers with a high facial expression evaluation score for "laughing." The more the number of expressions, the higher the value. In this way, by using the facial expression evaluation statistics as the situation evaluation value, This makes it possible to more accurately assess the overall situation inside the vehicle cabin.

[0023] In the first embodiment, the facial expression evaluation statistics are used as the situation evaluation value. The image evaluation unit 13 evaluates the facial expression of the person captured based on the image data, and The facial expression evaluation statistics of the facial expressions related to the evaluation target situation in the The situation evaluation value is used.

[0024] The situation evaluation unit 12 then uses the situation table 19 to determine the situation evaluation value according to a predetermined condition. If the above condition is met, it is determined that an event of the situation to be evaluated has occurred. In the first embodiment, the situation evaluation unit 12 performs the following for each facial expression evaluation statistic related to the situation to be evaluated: Whether the facial expression evaluation value is equal to or greater than a threshold value that is predetermined for the facial expression evaluation value is then determined. Based on the results of these judgments, it is determined whether an event has occurred. When the evaluation unit 12 determines that an event has occurred, the voice recognition unit 15 and the image processing unit 16 Notify.

[0025] The voice recognition unit 15 converts the voice data into text data including character strings. The unit 15 may use known voice data text conversion technology.

[0026] The image processing unit 16 applies an image processing mode table to the image of the image data during the event occurrence period. The image processing is performed according to the evaluation target situation using the image processing function 20. A period including the period during which the event occurs and a predetermined period before and after the event occurs Note that the period during which an event occurs may be expressed as the period before or after the event, instead of the period before and after the event. This may or may not include any period after the event occurs. The image processing unit 16 converts the image of the image data during the event occurrence period into text data. and an image related to the situation to be evaluated. An image based on text data is generated by converting the text data into an image data. It is a subtitle image visualized as a character string in a specified font. For example, if the text data is in Japanese, the image is converted into kanji or katakana before being displayed. The image based on the text data may be converted into a curtain image. It is also possible to omit the text or add a predetermined text data. The image based on the text data is related to the text data in advance by a database (not shown). The image related to the evaluation target situation may be an image The mark image is associated with the situation ID by the processing mode table 20. For example, If the evaluation target situation has a situation ID that includes "sadness," the image related to the target situation is "tears." The mark image may be in the form of

[0027] The image processing unit 16 then records the generated superimposed image data in the image recording unit 17. The recording unit 17 is a storage medium that stores the superimposed image data generated by the image processing unit 16.

[0028] At this time, the image processing unit 16 records the data in the image recording unit 17 in a recording format that prohibits overwriting. For example, the image processing device 10 is mounted on a drive recorder. In this case, the image processing unit 16 performs the same functions as the normal drive recorder, such as continuous recording (overwriting) and abnormal recording. Recording mode other than manual recording, etc. The image recording unit 17 may record in the normal recording mode. It is preferable that the recording area is different from the normal recording area. It is preferable not to carry out the above-mentioned image superimposition processing on images recorded in the mode. This is different from the data recorded in the normal recording mode above, and allows you to easily save the recording file after driving. To make browsing even easier, the folder names are set according to the recording mode. It is preferable to identify the recording file by giving a file name, but this is not limited to this. Note that the drive recorder may not be equipped with all or some of the recording modes mentioned above. This is also fine.

[0029] The table storage unit 18 stores a status table 19 and an image processing mode table 20. It is a storage medium.

[0030] FIG. 2 is a diagram illustrating an example of a data structure of the situation table 19 according to the first embodiment. The situation table 19 includes situation identification information (situation ID), the content of the situation, and the situation evaluation value. Associate a type and an event threshold.

[0031] In the present embodiment, the content of the situation refers to facial expressions related to the situation or a combination thereof. For example, the contents of the situations with the situation IDs 1 to 3 indicate that there is a smiling passenger. The contents of situations 4 to 5 indicate that some crew members are sad and some are smiling. The situation ID 6 indicates that there are angry passengers and smiling passengers. The situation ID 7 indicates that there is a sleeping occupant, and the situation ID 8 indicates that there is a sleeping occupant. This indicates that there are crew members who are seated and smiling.

[0032] The type of situation evaluation value indicates the type of situation evaluation value corresponding to each item included in the situation content. For example, the situations with IDs 1 to 3 have the first facial expression evaluation statistic, which is the facial expression evaluation statistic for "laughing." The value is the situation evaluation value. In addition, the situation IDs 4 to 5 have the "sadness" facial expression evaluation statistic value The second facial expression evaluation statistic, which is The situation of ID6 is the third facial expression evaluation statistic, which is the facial expression evaluation statistic of "anger," and the first facial expression evaluation statistic, The statistical value and the situation evaluation value are the situation ID 7. The situation ID 7 has the facial expression evaluation statistical value of "drowsiness" The fourth facial expression evaluation statistic is the fourth facial expression evaluation statistic, and the situation ID 8 is the fourth facial expression evaluation statistic and the first facial expression evaluation The statistical values ​​are used as situation evaluation values.

[0033] The event threshold is a threshold for the situation evaluation unit 12 to determine the occurrence of an event. For example, the situation is classified into three stages, Situation ID 1 to 3, depending on the magnitude of the first evaluation statistic. If the evaluation statistic value is greater than or equal to X1, an event with situation ID 1 in which all passengers are smiling has occurred. If the first evaluation statistic is greater than or equal to X2 and less than X1, the majority of the passengers are smiling. It is determined that an event with status ID 2 has occurred. The first evaluation statistic is greater than or equal to X3 and less than X2. If the smiling face is not detected, it is determined that an event of situation ID 3 in which a small number of passengers are smiling has occurred. The first evaluation statistic may be an evaluation value of the degree of a smile of the passenger, which will be described later. If D1 has a facial expression score of 5 or more, and if situation ID2 has a facial expression score of 3 or 4, etc. may be also possible.

[0034] Here, a specific example of a method for calculating various facial expression evaluation statistics will be described. The image evaluation unit 13 in FIG. 2 generates a normalized image of the face of each passenger from the acquired image data. If the facial expression related to the situation is "laughing," the image evaluation unit 13 of the situation evaluation unit 12 The normalized image is calculated from the average eye size, mouth size, and mouth corner position for the neutral expression. The amount of decrease in the width of the eyes of the passengers in the image, the amount of change in the size of the mouth, and the amount of rise in the corners of the mouth are calculated. The evaluation unit 13 calculates the facial expression evaluation value of "smile" based on various change amounts and conditions such as whether teeth are visible. is calculated as a five-level evaluation value, for example, from 1 (expressionless) to 5 (maximum smile). This evaluation value may be a 0 / 1 evaluation of whether the mouth is in the correct position or not. It may be calculated based on parameters such as whether teeth are visible or not, and the degree of smile determined by machine learning. The degree of a smile may be evaluated using a recognition dictionary. The same is true for "sleepy" and "drowsy." The facial expression evaluation score for "laughing" was also The facial expression evaluation model was trained using images of people with the same facial expression of "laughing" as training data. It may be calculated as follows.

[0035] In addition, when the facial expression related to the situation is "sadness," the image evaluation unit 13 evaluates the facial expression in the case of a neutral expression. The eyes of the passengers in the normalized image are determined from the average values ​​of the eye size, mouth shape, and neck and face angles. The amount of reduction in the width of the face and the amount of change in the shape of the mouth and the angle of the neck and face are calculated. 3 calculates the facial expression evaluation value of “sadness” based on various changes and conditions such as the presence or absence of tears. The facial expression evaluation score for "sadness" is calculated by dividing the facial expression evaluation score by the facial expression evaluation score for "sadness" in which the subject has people with various facial expressions. The facial expression may be calculated using a facial expression evaluation model that has been trained using images of facial expressions as training data.

[0036] In addition, when the facial expression related to the situation is "anger," the image evaluation unit 13 evaluates the facial expression of the face in the case of a neutral face. The size of the eyes, the shape of the mouth, the position of the eyebrows, and the average angle of the neck and face are used to normalize the image. Calculate the change in the size of the occupant's eyes, the shape of the mouth, the position of the eyebrows, and the angle of the neck and face The image evaluation unit 13 calculates the facial expression evaluation value of "anger" based on the various change amounts. The facial expression evaluation score of "anger" was calculated by teaching images of people with various facial expressions of "anger". It may be calculated using a facial expression evaluation model learned as master data.

[0037] In addition, when the facial expression related to the situation is "drowsiness", the image evaluation unit 13 evaluates the facial expression of the face without any facial expression. From the size of the eyes and the average angle of the neck and face, the eyes of the passenger in the normalized image are closed. The image evaluation unit 13 determines whether the angle of the neck and face is changed or not, and calculates the amount of change in the angle of the neck and face. Based on the amount of change in the facial expression, the facial expression evaluation value of "sleepiness" is calculated. The values ​​are based on training data of images of people with various facial expressions of "sleepiness". The facial expression evaluation model may be used to calculate the facial expression.

[0038] The image evaluation unit 13 then calculates various facial expression evaluation statistics based on the calculated facial expression evaluation values ​​of each passenger. Calculate the value.

[0039] FIG. 3 is a diagram showing an example of a data structure of the image processing mode table 20 according to the first embodiment. The image processing mode table 20 associates a situation ID with an image processing mode. The management mode includes display of superimposed subtitles such as subtitle character size, font, color, and subtitle superimposition position. This includes matters related to the aspect of the superimposed subtitles and other image processing aspects. In this figure, the items are character size, font, and subtitle overlay position. Other image processing The features include adding marks, adding subtitles depending on the situation, solid black processing, changing colors, and color images. Examples of such processing include monochrome processing, black and white inversion processing, and mosaic processing. The size is shown as an example on a five-level scale from 5 (maximum) to 1 (minimum), but there are 10 levels. Alternatively, the actual character size (for example, the font height in pixels) may be specified.

[0040] The image processor 16 performs the process based on the situation evaluation value, that is, the facial expression evaluation statistics in the first embodiment. The display mode of the superimposed subtitles may be determined based on the statistical values ​​of the facial expressions of the passengers. It is possible to perform subtitle presentation according to the level of excitement in the room determined by the system.

[0041] FIG. 4 is a flowchart showing an outline of the process of the image processing device 10 according to the first embodiment. do. First, in step S10, the acquisition unit 11 of the image processing device 10 acquires voice data in the vehicle cabin. and image data are acquired from the microphone 40 and the camera 30, respectively. The acquired voice data and image data are supplied to the situation evaluation unit 12 and the voice recognition unit 15. do.

[0042] Next, in step S11, the image evaluation unit 13 of the situation evaluation unit 12 performs an The facial expression evaluation value related to the evaluation target situation is calculated for each recognized facial expression of each occupant. A facial expression evaluation statistic is calculated based on the facial expression evaluation values ​​of the members. In the case where there are multiple statistics, the image evaluation unit 13 calculates each facial expression evaluation statistic. The image evaluation unit 13 uses the situation table 19 to select the type of facial expression evaluation statistics associated with the situation to be evaluated. You may check the other one.

[0043] In step S12, the situation evaluation unit 12 calculates a situation evaluation related to the evaluation target situation. In the first embodiment, the situation evaluation unit 12 calculates a situation evaluation value for each value type. The facial expression evaluation statistic calculated in 11 is used as the situation evaluation value.

[0044] Next, in step S13, the situation evaluation unit 12 uses the situation table 19 to Based on the situation evaluation value for each situation evaluation value type calculated in step S12, the event of the evaluation target situation is generated. When it is determined that an event has occurred (a state If the answer is Yes in step S13, the voice recognition unit 15 is notified of this fact, and the process proceeds to step S14. On the other hand, if not (No in step S13), the situation evaluation unit 12 returns to step S13. Return to step S10.

[0045] In step S14, the voice recognition unit 15 receives the notification from the situation evaluation unit 12. In response, the voice data during the event occurrence period is converted into text data, and the converted text data is The data is supplied to the image processing unit 16, and the process proceeds to step S15.

[0046] In step S15, the image processing unit 16 performs the following on the image data during the event occurrence period: Using the image processing mode table 20, text data corresponding to the situation ID of the evaluation target situation is and generating at least one of an image based on the image data and an image related to the situation to be evaluated. Then, the image processing is performed to superimpose the image data on the image data, and the process proceeds to step S16. Go ahead.

[0047] In step S16, the image processor 16 processes the audio data and the The superimposed image data is recorded in the image recording unit 17 with overwriting prohibited, and the process ends. P16 is not necessary.

[0048] Note that step S15 may be performed before step S14, or may be performed in parallel with step S14. Alternatively, instead of step S14, the voice recognition unit 15 may receive the notification from the situation evaluation unit 12. Regardless of whether or not voice data is available, it will be converted into text data depending on the voice data that has been acquired. The voice recognition unit 15 may also determine whether the passenger is speaking based on the movement of the passenger's mouth. The voice data may be converted into text data only if the voice data is determined to be This may be performed by the image evaluation unit 13.

[0049] Next, a specific example of the process of the image processing device 10 will be described with reference to FIGS. 4 is a flowchart showing a first example of the process of the image processing device 10 according to the first embodiment. In the example of FIG. 1, situation IDs 1 to 3 in the situation table 19 are designated in advance as situations to be evaluated. Note that the description of the process shown in step S10 in FIG.

[0050] In step S20, the situation evaluation unit 12 of the image processing device 10 performs a first facial expression evaluation of each occupant. The first facial expression evaluation value is calculated based on the first facial expression evaluation value. If the image evaluation unit 13 determines that a smiling passenger has been detected, If so (Yes in step S20), the process proceeds to step S21; if not (Yes in step S20), the process proceeds to step S22. If the result is No in step S20, the process of step S20 is repeated.

[0051] Next, in step S21, the situation evaluation unit 12 calculates a first facial expression evaluation statistic, Whether the facial expression evaluation statistics satisfy the condition of the situation ID 3 shown in the situation table 19, that is, whether The situation evaluation unit 12 judges whether or not a predetermined number of passengers are smiling. If it is determined that the person is smiling (Yes in step S21), an event that will make the conversation more interesting occurs. If it is determined that the error has occurred, the process proceeds to step S22. If not (No in step S21), The process returns to step S20.

[0052] In step S22, the situation evaluation unit 12 evaluates the image data before and after the detection of the smiling occupant. is backed up to a designated recording area.

[0053] Next, in step S23, the voice recognition unit 15 detects the smiling passenger and the voice data before and after the smiling passenger is detected. Convert the data into text data.

[0054] Next, in step S24, the situation evaluation unit 12 calculates the first facial expression evaluation statistic based on the situation table The system judges whether the condition of Situation ID1 shown in 19 is met, that is, whether all the passengers are smiling. When the situation evaluation unit 12 determines that all of the occupants are smiling (at step S24), If the answer is Yes, the process proceeds to step S25. If the answer is No in step S24, the process The process proceeds to step S26.

[0055] In step S25, the image processing unit 16 checks the status ID1 of the image processing mode table 20. In this image processing mode, images such as subtitles are superimposed on the images of the backup image data. For example, the image processor 16 may make the character size larger than that of normal subtitles, The image processor 16 then applies a more eye-catching font and color to the image. Proceed to S29.

[0056] In step S26, the situation evaluation unit 12 calculates the first facial expression evaluation statistic in the situation table 19. Determine whether the condition of situation ID2 shown in is met, i.e., whether the majority of the passengers are smiling. When the situation evaluation unit 12 determines that the majority of the passengers are smiling (step S26 If the answer is Yes, the process proceeds to step S27. If the answer is No in step S26, the process The process proceeds to step S28.

[0057] In step S27, the image processing unit 16 checks the status ID2 In this image processing mode, images such as subtitles are superimposed on the images of the backup image data. Then, the image processing unit 16 advances the process to step S29.

[0058] In step S28, the image processing unit 16 checks the status ID3 in the image processing mode table 20. In this image processing mode, images such as subtitles are superimposed on the images of the backup image data. Then, the image processing unit 16 advances the process to step S29.

[0059] In step S29, the image processing unit 16 outputs the superimposed image data and the corresponding sound. The voice data is recorded in the image recording unit 17 with overwriting prohibited, and the process ends. It's okay.

[0060] In this example, the image processing mode is determined by a first facial expression evaluation statistic that takes into account the number of smiles. Therefore, the subtitles are displayed according to the level of excitement judged from the passengers' facial expressions. It is possible to do so.

[0061] FIG. 6 is a flowchart showing a second example of the process of the image processing device 10 according to the first embodiment. In the second example, situation IDs 7 to 8 in the situation table 19 are designated in advance as situations to be evaluated. The process shown in step S10 of FIG. Omitted.

[0062] In step S30, the situation evaluation unit 12 of the image processing device 10 calculates a fourth facial expression evaluation statistic. The fourth facial expression evaluation statistic satisfies the conditions of situation IDs 7 to 8 shown in the situation table 19. The situation evaluation unit 12 judges whether or not a sleeping occupant is detected. If it is determined that an occupant is detected (Yes in step S30), the process proceeds to step S31. If not (No in step S30), the process shown in step S30 is repeated. .

[0063] In step S31, the situation evaluation unit 12 calculates a first facial expression evaluation statistic and Whether the evaluation statistic value satisfies the condition of the situation ID 8 shown in the situation table 19, that is, whether a predetermined number of people The situation evaluation unit 12 judges whether a predetermined number or more of the passengers are smiling. If it is determined that the image is a face (Yes in step S31), the other passengers may find the sleeping passenger amusing. The process proceeds to step S32 assuming that an event has occurred. If not (No in step S31), the process proceeds to step S35.

[0064] In step S32, the image processor 16 detects the sleeping occupant before and after the detection of the sleeping occupant. Generate a zoomed-up image of the face of the (target occupant) and back it up in a designated recording area. do.

[0065] Next, in step S33, the voice recognition unit 15 detects the sleeping passenger and the voices before and after the sleeping passenger are detected. The data is converted into text data.

[0066] Next, in step S34, the image processing unit 16 checks the status I of the image processing mode table 20. In the image processing mode of D8, the image of the backed up image data is processed in step S33. At least one of an image based on the converted text data and an image related to the situation to be evaluated The other image is generated, and image processing is performed to superimpose it on the image data, thereby generating superimposed image data. Then, the image processing unit 16 advances the process to step S37.

[0067] In step S35, the situation assessment unit 12 evaluates the target square in the same manner as in step S32. A zoomed-in image of the employee's face is generated and backed up in a specified recording area.

[0068] Next, in step S36, the image processing unit 16 checks the status I of the image processing mode table 20. In the image processing mode of D7, the subtitles and the situation are applied to the images of the backup image data. The related images are superimposed. Then, the image processing unit 16 advances the process to step S37.

[0069] In step S37, the image processing unit 16 outputs the superimposed image data and the corresponding sound. The voice data is recorded in the image recording unit 17 with overwriting prohibited, and the process ends. It's okay.

[0070] 7 to 9 are diagrams showing examples of image processing modes of the image processing device 10 according to the first embodiment. do.

[0071] FIG. 7 shows the superimposed image data generated when an event corresponding to situation ID 8 occurs. Image IMG1 is shown. The image processing unit 16 selects image data based on the situation ID 8 in the image processing mode table 20. For example, we generate the "zzz" mark image MK1 and the nose balloon image MK2, which represent the onomatopoeia of sleep. The resulting image is then superimposed on a zoomed-in image of the face of a sleeping target occupant. The image processor 16 then converts the voice data, which is the speech of the other passengers, into text data. The converted subtitle image data "It won't happen" is generated, and SB1 is superimposed on the bottom of the image. do.

[0072] FIG. 8 shows the superimposed image data generated when an event corresponding to situation ID 5 occurs. Image IMG2 is shown. The image processor 16 performs the following operations on the zoomed-up image of the sad target passenger's face: A teardrop image MK3 is generated and superimposed around the eyes to express sadness, and a teardrop image MK4 is generated around the forehead. The vertical diagonal line mark MK4 is superimposed. The image processor 16 converts the voice data, which is the speech of the target passenger, into text data. Then, a caption image SB2 of "Hiiii" is generated by converting the image into a subtitle image SB2, and it is superimposed on the left side of the passenger. .

[0073] FIG. 9 shows the superimposed image data generated when an event corresponding to situation ID 6 occurs. Image IMG3 is shown. The image processor 16 detects the angry target passenger's face in a zoomed-up image. An angry mark image MK5, which indicates anger, is generated and superimposed around the forehead. The image processor 16 converts the voice data, which is the speech of the target passenger, into text data. The subtitle image SB3, "What the hell?", is generated by converting the subtitle into a voice message. As the vehicle is released, it is superimposed on the right side of the occupant.

[0074] In this way, according to the first embodiment, the image processing device 10 detects information from the image data. Based on the situation, the situation of the target space is evaluated, and the diaphragm around the period when the event corresponding to the situation occurred is This allows you to capture important scenes, especially exciting scenes, after shooting. You can look back on the scene with digest images.

[0075] The image processing device 10 also applies subtitle effects to the captured image in accordance with the evaluated situation. This allows you to record your travels with easy-to-understand images and subtitles, just like on a variety show. You can reminisce about memories.

[0076] The image processing device 10 extracts facial expressions of occupants from image data in order to evaluate the situation of the target space. It is also possible to detect not only a single facial expression but also a combination of facial expressions of the passenger. Not just "laughter," but a fusion of "sadness" and "laughter" - the opposing expressions on the passengers' faces Even in complex situations where multiple events occur simultaneously, images can be recorded as exciting scenes. This can be done.

[0077] <Embodiment 2> Next, a second embodiment of the present invention will be described with reference to FIGS. The situation assessment unit assesses the situation of the target space based on the audio data in addition to the image data. It is characterized by:

[0078] FIG. 10 is a block diagram showing an example of the configuration of an image processing device 10a according to the second embodiment. The image processing device 10a according to the second embodiment is the same as the image processing device 10 according to the first embodiment. The image processing device 10a has the same configuration and functions as the image processing device 10a. Instead of the situation table 19 and the image processing mode table 20, the situation evaluation unit 12a, the situation The difference from the image processing device 10 is that it includes a table 19a and an image processing mode table 20a. do.

[0079] The situation evaluation unit 12a has basically the same functions as the situation evaluation unit 12, but the image evaluation unit 1 In addition to the above, the audio evaluation unit 14 is provided.

[0080] The voice evaluation unit 14 evaluates features obtained from the voice data and evaluates the voice based on the features. For example, the voice evaluation value indicates the level of the voice volume contained in the voice data. The first voice evaluation value and the spoken voice are recognized, and a predetermined keyword is extracted, and a second speech evaluation value indicating the frequency of occurrence.

[0081] The situation evaluation unit 12a evaluates the facial expression evaluation statistics calculated by the image evaluation unit 13 and the voice evaluation unit 14. Based on the calculated voice evaluation value, the situation of the target space is evaluated. Therefore, the situation evaluation value is ,The situation evaluation index includes voice evaluation value in ,addition to facial expression evaluation statistics.

[0082] FIG. 11 is a diagram illustrating an example of a data structure of the situation table 19a according to the second embodiment. The situation table 19a replaces the situation table 19 and uses voice evaluation as one of the situation evaluation values. The status table 19a is a record of the status IDs 9 to 10 in which the value is adopted. It may be configured to include a status ID from Table 19. The contents of the situations of IDs 9 to 10 are the facial expressions related to the situation, as well as the manner of speech or The combination of these is shown below. For example, the situation ID 9 is a situation where a passenger is smiling and speaks at a volume above a certain level. In this case, the first facial expression evaluation statistic based on the image data and the first voice evaluation value based on the voice data are taken as a situation evaluation value. In addition, the content of the situation ID 10 is repeated at a frequency greater than the specified frequency during the period when the passenger is smiling. In this case, there are high frequency keywords that indicate words that are spoken in a certain way. The first facial expression evaluation statistic based on the facial expression evaluation statistic and the second voice evaluation statistic based on the voice data are used as a situation evaluation statistic. do.

[0083] FIG. 12 shows an example of the data structure of the image processing mode table 20a according to the second embodiment. FIG. The image processing mode table 20a includes, in addition to the image processing mode table 20, status IDs 9 to 1. Contains records with a status of 0.

[0084] The image processor 16 may also calculate the facial expression based on the voice evaluation value in addition to or instead of the facial expression evaluation statistics. In this way, the subtitle presentation can be adjusted according to the degree of excitement. It is possible to do so.

[0085] FIG. 13 is a flowchart showing the process of the image processing device 10a according to the second embodiment. The steps shown in FIG. 13 are steps S12, S13, and S15 shown in FIG. Including S40 to S43. Explanation of steps that are the same as those shown in FIG. 4 will be omitted as appropriate. do.

[0086] The voice data text conversion process shown in step S14 is performed in step S10. and 11.

[0087] In step S40, the voice evaluation unit 14 of the situation evaluation unit 12a receives the Various voice evaluation values ​​are calculated from the collected voice data. This step is performed before step S11. This step may be performed in parallel with step S11.

[0088] In step S41, the situation evaluation unit 12a determines whether the situation to be evaluated is situation ID 9 or 10. If this is the case, the voice evaluation value is used as the situation evaluation value in addition to the facial expression evaluation statistics.

[0089] In step S42, the situation evaluation unit 12a evaluates the situation to be evaluated using the situation table 19a. The situation evaluation unit 12a judges whether or not a situation event has occurred. If it is determined that the situation is satisfactory (Yes in step S42), the information on the situation evaluation value is supplied to the image processing unit 16. On the other hand, if not (step S42), the situation evaluation unit 12 If the answer is No in step S42, the process returns to step S10.

[0090] In step S43, the image processing unit 16 performs the following on the image data during the event occurrence period: Using the image processing mode table 20a, image processing according to the evaluation target situation is performed, and the superimposition is performed. Image data is generated.

[0091] FIG. 14 is a diagram showing an example of an image processing mode of the image processing device 10a according to the second embodiment. This figure shows the superimposed image data that is generated when an event corresponding to situation ID 10 occurs. In situation ID 10, the key words are displayed in the presence of smiling passengers. When the word "talk" appears with a frequency equal to or greater than the threshold, the situation evaluation unit 12a determines that the conversation is lively and that The keyword is determined to be a key point of the story.

[0092] The image processor 16 then converts the captured image data into, for example, a solid black image. The image processing unit 16 then increases the font size of the frequently occurring keyword "sushi". Change it to be different from other words, change the color, make the color darker, etc. Therefore, the superimposed image data is generated and converted in such a display mode that the superimposed image data is superimposed as subtitle data. The image is then superimposed on a solid black image. When such an image is reproduced as a video, the above-mentioned superimposed image data is added to the solid black image. The superimposed image may be reproduced together with the corresponding audio. The voice is played in a manner that emphasizes frequently occurring keywords by increasing the volume, converting the frequency, etc. may be regenerated.

[0093] As described above, according to the second embodiment, the image processing device 10a detects not only the image data but also the voice volume and The situation evaluation score is calculated based on features obtained from the voice data, such as repetition of keywords and This allows the image processing device 10a to accurately detect exciting scenes and It is possible to create image effects through this combination.

[0094] In the above embodiment, the present invention has been described as being configured with hardware. The present invention is not limited to the above. This can also be achieved by running the program.

[0095] In the above examples, the program may be stored on various types of non-transitory computer readable media (e.g., The information is stored on a non-transitory computer readable medium and provided to a computer. Non-transitory computer-readable media can include various types of tangible storage media. Examples of non-transitory computer readable media include magnetic Recording media (e.g. flexible disks, magnetic tapes, hard disk drives), magneto-optical Magnetic recording media (e.g. magneto-optical disks), CD-ROMs (Read Only Memory), CD-Rs, CD-R / W, DVD (Digital Versatile Disc), BD (Blu-ray (registered trademark) Disc) , semiconductor memory (e.g., mask ROM, PROM (Programmable ROM), EPROM ( Erasable PROM, Flash ROM, and RAM (Random Access Memory). The program may be written on various types of transitory computer readable media. The temporary computer readable medium may be provided to the computer. Examples of computer readable media include electrical signals, optical signals, and electromagnetic waves. A program is transmitted to a computer via a wired communication path such as an electric wire or an optical fiber, or via a wireless communication path. This can be supplied to the data center.

[0096] In the above embodiment, the computer is a personal computer, a word processor, etc. The computer system may include, but is not limited to, a LAN. (Local Area Network) servers, computer (PC) communication hosts It can also be composed of computer systems connected to the Internet. In addition, functions are distributed to each device on the network, and the computer is It is also possible to configure the

[0097] Each of the systems and methods set forth in the claims, specification, and drawings is The order of execution of the processes is not specifically stated as "before" or "prior to" and the process before As long as the output of the process is not used in subsequent processing, the process may be performed in any order. For convenience, the operational flows in the specification and drawings are described using "first," "next," etc. Although described, this does not imply that the steps must be performed in this order.

[0098] The present invention is not limited to the above-described embodiment, and may be modified as appropriate without departing from the spirit and scope of the present invention. A part or all of the above-described embodiments can be modified as follows: These may include, but are not limited to: (Additional Note) (Appendix 1) An acquisition unit that acquires audio data and image data of a target space; a voice recognition unit for converting the voice data into text data; A situation in the target space is evaluated based on the image data. A situation evaluation unit that calculates a situation evaluation value of the situation; When an event occurs that indicates a situation where the situation evaluation value satisfies a predetermined condition, The image data for a predetermined period including the period during which the event occurs is At least one of an image based on the text data and an image related to the situation is superimposed. an image processing unit that generates superimposed image data; An image processing system comprising: (Appendix 2) The situation evaluation unit evaluates a facial expression of the person captured based on the image data, calculating facial expression rating statistics for facial expressions associated with the situation in an elephant space; The situation evaluation value includes the facial expression evaluation statistic value. 2. An image processing system as described in claim 1. (Appendix 3) The image processing unit performs an image processing based on the text data to be superimposed based on the situation evaluation value. Determine the image aspect 3. An image processing system according to claim 1 or 2. (Appendix 4) a voice evaluation unit that calculates a voice evaluation value based on features acquired from the voice data; In preparation for The situation evaluation value includes the voice evaluation value. 4. An image processing system according to any one of claims 1 to 3. (Appendix 5) acquiring audio data and image data of a target space; converting the audio data into text data; A situation in the target space is evaluated based on the image data. calculating a situation evaluation value of the situation; When an event occurs that indicates a situation where the situation evaluation value satisfies a predetermined condition, The image data for a predetermined period including the period during which the event occurs is At least one of an image based on the text data and an image related to the situation is superimposed. generating convolved superimposed image data; An image processing method comprising: [Explanation of symbols]

[0099] 1,1a Image processing system 10, 10a Image processing device 11 Acquisition Department 12,12a Situation Assessment Section 13 Image Evaluation Section 14 Audio Evaluation Section 15 Voice Recognition Unit 16 Image processing section 17 Image recording section 18 Table storage section 19,19a Situation Table 20, 20a Image processing mode table 30 Camera 40. Mike

Claims

1. An acquisition unit that acquires images from a camera mounted on a moving object; A situation evaluation unit that evaluates the state of one or more occupants aboard the moving object; an image recording unit that records an image when an abnormality occurs in the moving body; an image processing unit that performs image processing on the image in accordance with a state of the occupant and records the image in the image recording unit separately from images taken when an abnormality occurs in the moving body; An image processing device comprising:

2. the image processing unit records the image on which the image processing has been performed in a manner that prohibits overwriting in a recording area different from any of an image when an abnormality occurs in the moving body, an image that is constantly recorded in the moving body, and an image that is manually recorded by the occupant, and does not perform the image processing on an image when an abnormality occurs in the moving body.

2. The image processing device according to claim 1 .

3. An acquisition step of acquiring an image from a camera mounted on the moving object; a situation evaluation step of evaluating the state of one or more occupants aboard the vehicle; an image recording step of recording an image when an abnormality occurs in the moving body; an image processing step of performing image processing on the image in accordance with a state of the occupant, and recording the image in the image recording unit separately from images taken when an abnormality occurs in the moving body; An image processing method comprising:

Citation Information

Patent Citations

  • Apparatus and system for identifying occupants in a vehicle

    US10674003B1

  • Telematics system

    US20020188392A1

  • Drive recorder, display control method, and program

    WO2019176391A1

  • Display mode determination device, display device, display mode determination method, and program

    JP2019062332A