Speech section extraction method, speech section extraction program, and speech section extraction device
By leveraging the vertical width of the intraoral region and audio features, the method accurately extracts speech segments from multiple speakers, addressing the limitations of existing technologies in noisy environments.
Patent Information
- Application Number
- JP2020139401
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-08-20
- Publication Date
- 2024-10-10
- Estimated Expiration
- 2040-08-20
AI Technical Summary
Existing technologies struggle to accurately extract speech segments from multiple speakers in environments like meetings, as they fail to account for lip movements and audio information effectively, leading to incorrect detection of speech periods and noise interference.
A method that utilizes the vertical width of the intraoral region and audio features to extract speech segments by analyzing video and audio data, incorporating noise reduction processing and re-extraction steps to improve accuracy.
This method enables precise extraction of speech segments from multiple speakers using simple equipment, reducing errors and enhancing the efficiency of speech recognition in noisy environments.
Smart Images

Figure 00000019_0000 
Figure 00000019_0001 
Figure 00000019_0002
Abstract
Description
[Technical field]
[0001] The present invention relates to a speech segment extraction method, a speech segment extraction program, and an utterance segment extraction device. [Background technology]
[0002] In recent years, there has been a push to improve work efficiency and the working environment in order to realize work style reform. One of the measures to improve work in the workplace is to improve the efficiency of work and meetings. Meeting minutes are taken to record the contents and agreements discussed and to share decisions and their history, and the minutes created contribute to improving the quality of subsequent meetings and the efficiency of other work. An automatic minutes-creation system built using speech recognition technology can reduce human error in creating minutes and reduce the number of people and time required to create minutes. Furthermore, technology to automatically identify the speaker for each statement and technology to improve speech recognition accuracy in such an automatic minutes-creation system contributes to reducing the manpower required to create minutes, and contributes to the efficiency of meetings and work.
[0003] Patent Document 1 discloses a minutes distribution system that can acquire image information and audio information in a meeting and distribute minutes of an appropriate amount of information to a distribution destination. The system acquires video and audio of the meeting venue, and is equipped with a database that records the recording start time and the shooting start time, and can send automatically generated minutes by email to the people involved in the meeting. However, although the system is equipped with a function to estimate a speech section based on audio, this function is not intended to identify the speaker, but is a function to determine the start and end times of the speech. In addition, the system does not consider extraction of a speech section using lip movement in a face image, and does not have a function for identifying the speaker.
[0004] In addition, when the speech section is extracted using lip movement, the period when the subject is not speaking may be included in the detected voice period, and the voice period may not be detected properly. Patent Document 2 discloses detection of the speech period and the breathing period immediately before speaking using lip movement and voice information. However, since this method assumes one-to-one dialogue between the subject and a robot, it has not been considered for environments such as a meeting in which multiple people participate, and aims to improve the accuracy of voice recognition.
[0005] Patent Document 3 discloses a speech recognition result and a speech recognition method that shortens the delay time until a speech recognition result is obtained and suppresses the deterioration of recognition processing performance even when used on hardware with low processing performance. The shape of the lips is acquired by a camera, and whether or not the person is speaking is determined based on whether or not the change in the shape of the lips accompanying the speech matches a pre-set lip shape pattern during speech. However, since voice and image information are acquired by pressing a button when performing speech recognition, it is considered difficult to use such a voice acquisition method in a conference. In addition, since this method is considered to be a method for when the distance between the user of a tablet terminal or the like and the equipment is close, it is considered difficult to use it in a conference where there are multiple people and the distance between the people and the camera is far.
[0006] Patent Document 4 discloses a method for accurately recognizing the speech state of each participant with a simple configuration. Specifically, first, a distorted circular image including the face of each participant in a conference is captured using a wide-angle imaging device using a fisheye lens. Next, a lip vicinity area of the captured image is set, and the speech state is estimated using a feature value indicating the brightness or color in the lip vicinity area. Finally, the speech time is presented on a display device together with each person's image. However, since voice information is not used in combination, if the lips of a conference participant move when no voice is being generated, there is a possibility that speech has been recognized.
[0007] Patent Document 5 discloses a method for reducing noise in speech and improving speech recognition accuracy. Specifically, it provides a speech recognition device that can suppress erroneous recognition in non-speech segments by using features calculated based on MFCC and lip movements. However, since this method aims to improve speech recognition accuracy, it does not take into account the case where multiple speakers are present in the camera at the same time, such as in a meeting environment. [Prior art documents] [Patent documents]
[0008] [Patent Document 1] JP 2020-27351 A [Patent Document 2] JP 2020-3783 A [Patent Document 3] International Publication No. 20160-98228 [Patent Document 4] JP 2015-019162 A [Patent Document 5] JP 2011-59186 A Summary of the Invention [Problem to be solved by the invention]
[0009] In view of the above, an object of the present invention is to provide a speech segment extraction method that can extract speech segments of a speaker from a plurality of subjects with high accuracy while requiring simple equipment. Also provided are a program and device therefor. [Means for solving the problem]
[0010] A first invention is a method for extracting a speech section from video and audio data, comprising the steps of: obtaining a plurality of vertical widths of the intra-mouth area of a subject in time series from an acquired video; obtaining a plurality of audio features in time series based on the acquired audio data; and extracting a speech section, wherein the step of extracting the speech section comprises the steps of obtaining a plurality of judgment differences of the vertical width of the intra-mouth area in time series from the vertical width of the intra-mouth area and extracting the speech section from the judgment differences of the vertical width of the intra-mouth area; and obtaining a plurality of judgment differences of the audio features in time series from the audio features and extracting the speech section from the judgment differences of the audio features, and this speech section extraction method distinguishes a section which is a speech section extracted from the vertical width of the intra-mouth area and which includes a speech section extracted from the audio features as a speech section.
[0011] In the step of extracting a speech section from a determination difference of speech features in the first aspect of the present invention, the determination difference of speech features is preferably 0.00 or more.
[0012] In the process of extracting speech sections from the determined difference in the vertical width of the intra-mouth area in the first aspect of the present invention, it is preferable that the determined difference in the vertical width of the intra-mouth area is greater than a threshold A, and that the threshold A is expressed by the following equation (1) using the spatial resolution Rs of the image.
[0013]
number
[0014] In the first aspect of the present invention, it is preferable to further comprise a step of performing noise reduction processing on a plurality of speech features to obtain a plurality of determination differences of speech features in time series.
[0015] In the first aspect of the present invention, it is preferable to further comprise a step of performing noise reduction processing on a plurality of vertical widths of the intraoral area to obtain a plurality of determination differences of the vertical width of the intraoral area in time series.
[0016] It is preferable to further include a step of re-extracting frames of speech intervals from frames classified as non-speech intervals in the step of extracting speech intervals from the determined difference in the vertical width of the intra-mouth area in the first aspect of the present invention.
[0017] A second invention is a program for extracting speech sections from video and audio data, the program having the steps of: obtaining a plurality of vertical widths of the intra-mouth area of a subject in time series from an acquired video; obtaining a plurality of audio features in time series based on the acquired audio data; and extracting a speech section, the step of extracting the speech section comprising the steps of obtaining a plurality of judgment differences of the vertical width of the intra-mouth area in time series from the vertical width of the intra-mouth area and extracting the speech section from the judgment differences of the vertical width of the intra-mouth area; and obtaining a plurality of judgment differences of the audio features in time series from the audio features and extracting the speech section from the judgment differences of the audio features, the speech section extraction program determining as a speech section a section which is an utterance section extracted from the vertical width of the intra-mouth area and which includes an utterance section extracted from the audio features.
[0018] In the speech segment extraction program of the second invention, in the step of extracting an utterance segment from a decision difference of speech features, the decision difference of speech features is preferably 0.00 or more.
[0019] In the step of extracting a speech section from a determined difference in the vertical width of the intraoral area of the second speech section extraction program of the present invention, it is preferable that the determined difference in the vertical width of the intraoral area is greater than a threshold value A, and that the threshold value A is expressed by equation (1) using the spatial resolution Rs of the image.
[0020]
number
[0021] The speech segment extraction program of the second invention preferably further comprises a step of performing noise reduction processing on a plurality of speech features to obtain a plurality of determination differences of the speech features in time series.
[0022] The second speech segment extraction program of the present invention preferably further comprises a step of performing noise reduction processing on a plurality of vertical widths of the intra-mouth area to obtain a plurality of determination differences of the vertical width of the intra-mouth area in time series.
[0023] It is preferable that the speech segment extraction program of the second invention further comprises a step of re-extracting frames of speech segments erroneously classified as non-speech segments in the step of extracting speech segments from a determined difference in the vertical width of the intra-mouth area.
[0024] The third aspect of the present invention is an apparatus for extracting speech segments from video and audio data, comprising a camera for acquiring video, a microphone for acquiring audio data, a storage means for storing the speech segment extraction program, and a speech section extracting unit. story The speech section extraction device has a calculation means that performs calculations based on a section extraction program, and the calculation means acquires video images captured by a camera and audio data captured by a microphone, and performs calculations based on the speech section extraction program using the acquired video and audio data. Effect of the Invention
[0025] According to the present invention, it is possible to extract speech sections of speakers from a plurality of subjects with high accuracy using simple equipment. [Brief description of the drawings]
[0026] [Figure 1] FIG. 1 is a diagram showing the flow of a speaker output method S1 in the system. [Diagram 2] FIG. 2(a) is a diagram showing a schematic example of a portion of video, and FIG. 2(b) is a diagram showing an example of a portion of audio data. [Diagram 3] FIG. 3 is a diagram showing the flow of the speech section extraction step S20. [Figure 4] FIG. 4 is a diagram for explaining the arrangement of feature points. [Diagram 5] FIG. 5 is an enlarged view of the lip portion of FIG. 4, illustrating the vertical width of the intraoral region. [Figure 6] FIG. 6(a) is an example showing a time series change in the vertical width of the intra-mouth area before the first smoothing process, and FIG. 6(b) is an example showing a time series change in the vertical width of the intra-mouth area after the first smoothing process. [Figure 7]FIG. 7(a) is an example of the vertical width of the smoothed intra-mouth area, and FIG. 7(b) is an example showing the result of calculating the determined difference dn of the vertical width of the intra-mouth area from FIG. 7(a). [Figure 8] FIG. 8 is a diagram illustrating a target frame in the first speech section re-extraction processing step. [Figure 9] 9(a) and 9(b) are diagrams for explaining audio data. [Figure 10] FIG. 10 is a diagram for explaining how MFCCs are obtained from audio data. [Figure 11] FIG. 11(a) is an example showing a time series change in speech feature quantity before the second smoothing process, and FIG. 11(b) is an example showing a time series change in speech feature quantity after the second smoothing process. [Figure 12] FIG. 12(a) is a diagram showing an example of speech features after the second smoothing process, FIG. 12(b) is a diagram showing an example of a calculation result of a first determination difference dm of speech features, and FIG. 12(c) is a diagram showing an example of a calculation result of a second determination difference Dm of speech features. [Figure 13] FIG. 13(a) shows an example of a speech section extracted using the vertical width of the intra-mouth region, and FIG. 13(b) shows an example of a speech section extracted using audio features. [Figure 14] FIG. 14 is a diagram illustrating the configuration of an utterance period extraction device. [Figure 15] FIG. 15 is a diagram for explaining an utterance start frame and an utterance end frame. [Figure 16] FIG. 16 is a diagram showing an example of a speech section extraction result. [Figure 17] FIG. 17 is a diagram showing the calculation results of Fave for combinations of parameters S and T related to speech features and the classification results according to the Fave values. [Figure 18] FIG. 18 is a diagram showing the calculation results of Fave for combinations of parameters W and A related to spatial resolution and the classification results according to the Fave values. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0027] {Speaker output method} Fig. 1 is a diagram showing the flow of a speaker output method S1 in a system according to one embodiment. As shown in Fig. 1, the speaker output method S1 includes a video / audio data acquisition step S10, a speech section extraction step S20, a speaking number determination step S30, a speaker determination step S40, and a speaker output step S50. The speech section extraction step S20 of the present disclosure makes it possible to extract the speech sections of speakers from multiple targets with high accuracy.
[0028] [Video and audio data acquisition process S10] In the video / audio data acquisition step S10, video and audio data of the speech section extraction target person are acquired. Video can be acquired by a so-called camera, and audio data can be acquired by a microphone. According to this embodiment, a camera (for example, an omnidirectional camera or a wide-angle camera) capable of simultaneously capturing the video of multiple speech section extraction target people and a microphone capable of capturing the audio of the speech section extraction target people are used to perform data processing in the step described below, thereby making it possible to extract which person has a speech section. In addition, it is also possible to use image information of the narrowed-down person in a processing step such as speaker discrimination. When acquiring video and audio data, multiple video cameras and microphones may be used, but as long as information on all of the speech section extraction target people can be acquired, one video camera and one microphone may be used, and the equipment can be minimized. In addition, the camera and the microphone may be separate devices or may be integrated together, so that the microphone provided in the camera can be used.
[0029] The video / audio data acquisition step S10 can acquire an image of the face of the person from whom speech intervals are to be extracted, as shown, for example, in Fig. 2(a), and can acquire audio data as a waveform with the horizontal axis representing time, as shown, for example, in Fig. 2(b).
[0030] [Speech section extraction step S20] In the speech section extraction step S20, a speech section is extracted using the video and audio data acquired in the video and audio data acquisition step S10. A flow of the speech section extraction step S20 is shown in FIG. 3, the speech section extraction process S20 includes a face area detection process S21, an intraoral area vertical width extraction process S22, a first smoothing process S23, a first speech section extraction process S24, and a first speech section re-extraction process S25, which are video data processing processes, and a voice feature acquisition process S26, a second smoothing process S27, a second speech section extraction process S28, and a speech section discrimination process S29, which are voice data processing processes. Each process will be described below.
[0031] <Facial area detection process S21> In the face region detection process S21, feature points are arranged on the face of the person from whom speech intervals are to be extracted for the video data acquired in the video / audio data acquisition process S10. An example is shown in Fig. 4. In the example of Fig. 4, feature point A, indicated by a "●", is arranged on the face of the video shown in Fig. 2(a) (for ease of viewing, the symbol A is attached to only some of the feature points, and the others are omitted). In this embodiment, multiple feature points A are arranged along the contours of the lower half of the face (from cheeks to chin), eyebrows, eyes, nose (bridge of the nose and bottom end), and lips (upper and lower lips). Although there is no particular limitation on the method of arranging the feature points, it is possible to use the brightness difference between adjacent pixels and determine the positions having a brightness difference equal to or greater than a predetermined threshold as the contours of each part. In addition, commercially available or publicly available software may be used, such as Dlib.
[0032] In this embodiment, since the vertical width of the intraoral region is grasped in time series as a feature point as described later, it is sufficient that the feature point A is arranged at least in a position and in a number necessary for grasping this. Therefore, in this embodiment, the feature point A is arranged at least on the lips. However, feature points A may be arranged other than those for other reasons. For example, feature points A along the facial contour may be used to obtain the position and size of the face of the person to be identified, or processing may be performed to delete information other than the face.
[0033] The feature point A is arranged for each image in the video. That is, the feature point A is arranged for each of the multiple images that are consecutive in time series to compose the video. Figure 4 shows an example of one image. When processing multiple images (frames) that are consecutive in time series, for example, face detection processing may be performed on the first frame image, and the area around the face may be cropped based on the face detection results, and from the second frame onwards, face detection may be performed on the area around the face in the previous frame, thereby improving processing efficiency.
[0034] <Vertical width extraction process S22 of the mouth area> In the mouth area vertical width extraction process S22, the vertical width of the mouth area is extracted and calculated from the feature point A arranged in the face area detection process S21. Fig. 5 shows an enlarged view of Fig. 4 focusing on the lip portion. Here, the "vertical width of the intra-mouth area" refers to the vertical distance B between feature point A1 at the upper end of the intra-mouth area and feature point A2 at the lower end of the intra-mouth area of the lips. The vertical width of the intra-mouth area only needs to be understood as changing over time according to the dictation of the person to whom speech intervals are to be extracted, and is extracted for each of a number of images that are consecutive in time series. In the example shown in FIG. 5, the feature point closest to the midline of the intra-mouth area, where distance B is likely to be maximum, was selected. This makes it easier to clarify the change over time in the vertical width of the intra-mouth area.
[0035] The distance B extracted in this step may be expressed in any unit, such as coordinates, length, number of pixels, etc. In this embodiment, the distance B of the vertical width of the intraoral region is expressed by the number of pixels, as shown in FIG.
[0036] People tend to keep their mouths closed when they are not speaking. Therefore, the vertical width of the intra-mouth area when they are not speaking tends to be close to 0 pixels and to maintain a nearly constant value. Furthermore, the tendency to keep the mouth closed when they are not speaking is observed in all subjects for speech section extraction, regardless of the person. Furthermore, when the mouth is closed, the vertical width of the intra-mouth area is a value that is unlikely to change due to fluctuations in the distance between the camera and the subject for speech section extraction or the angle of the face of the subject for speech section extraction. By focusing on the time-series changes in the vertical width of the intraoral area, the present invention reduces the effects of facial movement, differences in lip movement between different people, and changes in the distance between the camera and the person being extracted from, making it possible to extract speech sections, even in environments such as meetings.
[0037] <First smoothing treatment step S23> In the first smoothing process step S23, a smoothing process is performed on the time series change in the vertical width of the intramouth area obtained in the intramouth area vertical width extraction process step S22. Fig. 6(a) is an example showing the time series change in the vertical width of the intramouth area before the first smoothing process step S23, and Fig. 6(b) is an example showing the time series change in the vertical width of the intramouth area after the first smoothing process step S23. The first smoothing process step S23 makes it possible to reduce the effects of noise that occurs in the time series change in the vertical width of the intramouth area due to minute changes in lighting, etc. In this embodiment, a smoothing process is used in this process, but any known noise reduction process that can reduce the effects of noise caused by time-series changes in the vertical width of the intraoral area can be used in this process without any restrictions.
[0038] The smoothing procedure in the first smoothing process step S23 is not particularly limited, but an example is a method of calculating the average value of the vertical width of the intra-mouth area in P consecutive frames (nth frame to n+Pth frame) starting from an arbitrary nth frame, and setting the average value as the vertical width of the intra-mouth area in the nth frame. Here, P may be an integer of 1 or more, and in this example, the above P is set to 10 frames, but as described later, in order to obtain high speech period extraction accuracy, P is preferably 5 to 15.
[0039] <First speech section extraction processing step S24> In the first speech section extraction processing step S24, a speech section is extracted based on the time series change in the vertical width of the intra-mouth area that has been subjected to the first smoothing processing step S23. Fig. 7(a) is an example of the smoothed vertical width of the intra-mouth area, and Fig. 7(b) is an example showing the result of calculating the judgment difference dn of the vertical width of the intra-mouth area from Fig. 7(a). The "judgment difference of the vertical width of the intra-mouth area" is the result of obtaining the maximum and minimum values of the vertical width of the intra-mouth area within a range of multiple chronologically consecutive frames and calculating the difference between the maximum and minimum values, and serves as an index for extracting whether or not a frame is within the speech section.
[0040] More specifically, the maximum and minimum values of the vertical width of the intraoral area are obtained from an arbitrary nth frame and Q frames before and after it (a total of 2×Q+1 frames from the nQth frame to the n+Qth frame), and a judgment difference dn of the vertical width of the intraoral area, which is the difference between the maximum and minimum values, is calculated and set as the value of the nth frame. The judgment difference of the vertical width of the intraoral area is calculated for multiple frames that are consecutive in time series. Here, Q may be an integer of 1 or more, and in this example, the above Q is set to 15 frames, but as described later, in order to obtain high accuracy in extracting speech sections, Q is preferably 10 to 30.
[0041] For example, if there are consecutive frames of silent intervals in any nth frame and Q frames before and after it, the maximum and minimum values of the vertical width of the intramouth area will both be close to 0 pixels, and the determined difference dn of the vertical width of the intramouth area will be close to 0. Also, if there are frames of speech intervals in any nth frame and Q frames before and after it, the vertical width of the intramouth area will be larger in the speech interval compared to the silent interval, and the determined difference dn of the vertical width of the intramouth area will be larger than the silent interval. If the judged difference dn of the vertical width of the intra-mouth area is larger than a certain threshold A, the frame is classified as a speech section. Although it varies depending on the number of pixels of the video data, the ratio of the lips of the person to be identified in the entire image in the video, the distortion of the wide-angle camera, etc., for example, in the case of Fig. 7 where video data of 3840 x 2160 pixels and a spatial resolution of one pixel is about 1 mm (calculated based on the fact that the vertical width of the lips is about 20 mm and the same area is displayed in about 20 pixels on the image) is obtained, the speech section can be extracted by setting the threshold A to 1.5. The threshold value A is preferably a value that satisfies the formula (1) using the spatial resolution Rs of the image. If the judgment difference dn of the vertical width of the intraoral area is larger than the threshold value A, the frame is classified as a speech section with high extraction accuracy.
[0042]
number
[0043] <First speech section re-extraction processing step S25> In the first speech section re-extraction processing step S25, frames of speech sections erroneously classified as non-speech sections in the first speech section extraction processing step S24 are re-extracted. Fig. 8 shows an example of the result of calculating the judgment difference dn of the vertical width of the intra-mouth area, and the frames surrounded by "◯" in Fig. 8 are frames of speech sections that have been erroneously classified as non-speech sections.
[0044] In this embodiment, in order to prevent frames in a speech section from being erroneously classified as a silent section, if there is a frame determined to be a speech section within R frames (nth frame to n+Rth frame) after any nth frame determined to be a silent section, the nth frame may be treated as a frame in the speech section. Here, R may be an integer of 1 or more, and in this example, the above R is set to 30 frames, but as described later, in order to obtain high speech section extraction accuracy, R is preferably 5 to 50. If there is no frame of an utterance period that has been erroneously classified as a non-utterance period, the first utterance period re-extraction processing step S25 does not need to be performed.
[0045] <Acquisition process of voice features S26> In the voice feature acquisition step S26, voice features are calculated and obtained from the voice data (e.g., FIG. 2(b)) obtained in the video and audio data acquisition step S10. This makes it possible to extract the voice data necessary for speech segment extraction from voice data that contains a lot of complex information, and makes the data easier to handle while maintaining accuracy.
[0046] There are no particular limitations on the speech features as long as they can extract the speech data required for speech segment extraction from speech data and make the data easy to handle while maintaining accuracy, but among them, it is preferable to use Mel-Frequency Cepstrum Coefficients (MFCCs). Of these, it is even more preferable to use the zeroth dimension. This is because MFCCs have low-frequency component characteristics that are useful for speech recognition features, and the low-dimensional (zeroth dimension) components change due to the acoustic characteristics of the vocal tract and the shape of the oral cavity.
[0047] As a more specific example, speech features are obtained as follows. Figures 9 and 10 are diagrams for explanation. First, a portion of a predetermined time length D (portion E1) is extracted from the audio data obtained in the video / audio data acquisition step S10 shown in Fig. 9(a) as shown in Fig. 9(b). The size of D is not particularly limited, but is 20 ms in this example. Next, MFCCs are calculated for the speech data of this portion E1 to obtain MFCC data as shown in Fig. 10. The method of calculating MFCCs is well known, and examples of the method include the method described in "Speech Recognition System, Revised 2nd Edition, edited by Tatsuya Kawahara, Ohmsha, 2016". For example, it is calculated as follows. First, the audio data (audio waveform) is Fourier-transformed to obtain frequency components, and using these frequency components, a power spectrum (the magnitude of the sound at each frequency component) is calculated. Next, a Mel filter bank is applied to this power spectrum. Since the human auditory system has the characteristic that its resolution decreases as the frequency increases, applying a Mel filter bank makes it possible to extract feature quantities corresponding to human auditory characteristics. Then, cepstrum feature quantities are calculated from this, and the harmonic components (features that vary depending on the person) of the voiceprint wave and the envelope components (features that vary depending on the content of the speech) due to the vocal tract are separated. The low-dimensional components (0th dimension to 14th dimension) in the cepstrum feature quantities are mainly used for speech recognition, but as described above, it is preferable to use the 0th dimension in this embodiment. The cepstrum feature quantity extracted in this way is called MFCC and used as a speech feature quantity.
[0048] After that, as shown in Fig. 9(a), for the part E2 (time length D) that is delayed by time d with respect to the part E1, speech feature quantities are obtained in the same way. By sequentially repeating this, a plurality of speech feature quantities are obtained in time series. Note that the magnitude of the delay time d is not particularly limited, and any of D > d, D = d, and D < d may be used, but from the viewpoint of improving accuracy, it is preferable that D > d. In this example, D is 20 ms while d is 10 ms. Also, it is possible to exclude parts where there is no speech and target only parts where there is speech.
[0049] As described above, it is possible to obtain the time-series change of the speech feature quantity, which is the numerical value of the 0th dimension of MFCC.
[0050] <Second Smoothing Processing Step S27> In the second smoothing process step S27, a smoothing process is performed on the time series changes in the speech features obtained in the speech feature acquisition process S26. The second smoothing process step S27 makes it possible to reduce noise and the like contained in the time series changes in the acquired speech features. Fig. 11(a) is an example showing the time series changes in the speech features before the second smoothing process step S27, and Fig. 11(b) is an example showing the time series changes in the speech features after the second smoothing process step S27. In this embodiment, a smoothing process is used in this step, but any known noise reduction process capable of reducing noise, etc. contained in the time-series changes in the acquired speech features can be used in this step without any restrictions.
[0051] The smoothing procedure in the second smoothing process step S27 is not particularly limited, but an example is a method of calculating the average value of speech features in T consecutive frames (nth frame to n+Tth frame) starting from an arbitrary nth frame, and setting the average value as the speech feature of the nth frame. Here, T may be an integer of 1 or more, and in this example, the above T is set to 100 frames (about 1.0 second), but as described later, in order to obtain high speech period extraction accuracy, T is preferably 10 to 150.
[0052] <Second speech section extraction processing step S28> In the second speech section extraction processing step S28, a speech section is extracted based on the time series change of the speech feature that has been subjected to the second smoothing processing step S27. Fig. 12(a) shows an example of the speech feature after the second smoothing processing step S27, Fig. 12(b) shows the result of calculating the tentative decision difference dm of the speech feature from Fig. 12(a), and Fig. 12(c) shows the result of calculating the decision difference Dm of the speech feature from Fig. 12(a) and Fig. 12(b). The "tentative decision difference of the speech feature" is the result of obtaining the maximum and minimum values of the speech feature in a range of multiple frames that are consecutive in time series and calculating the difference between the maximum and minimum values, and the "decision difference of the speech feature" is the result of calculating the time series change of the difference between the speech feature and the tentative decision difference dm of the speech feature, and serves as an index for extracting whether or not the frame is within the speech section.
[0053] Specifically, for example, the maximum and minimum values of speech features are obtained from an arbitrary nth frame and the S frames before and after it (a total of 2×S+1 frames from the nSth frame to the n+Sth frame), and a provisional decision difference dm of speech features, which is the difference between the maximum and minimum values, is calculated and set as the nth frame. The provisional decision difference dm of speech features is calculated for multiple frames that are consecutive in time series. Here, S may be an integer of 1 or more, and in this example, the above S is set to 50 frames, but as will be described later, in order to obtain high speech section extraction accuracy, S is preferably 10 to 150. Furthermore, it is preferable that S≦T+30. As can be seen from the frames of the "actual speech section" indicated by the arrow in Fig. 12, compared with the frames of the non-speech section, the speech feature tends to have a higher value and to maintain a stable value in the frames of the speech section. Furthermore, the provisional decision difference dm of the speech feature tends to have a lower value. Furthermore, when the decision difference Dm of the speech feature, which is the time series change of the difference between the speech feature and the tentative decision difference dm of the speech feature, is calculated, it is found that the value of the decision difference Dm of the speech feature tends to be positive in the speech section. Therefore, the region where the value of the decision difference Dm of the speech feature is 0.00 or more is extracted as the speech section.
[0054] <Speech section discrimination process S29> In the speech section discrimination processing step S29, a speech section is discriminated from the speech section based on the vertical width of the intra-mouth area obtained in the first speech section re-extraction processing step S25 and the speech section based on the audio feature obtained in the second speech section extraction processing step S28. The conditions for the speech section discrimination include that the speech section is a section extracted using the vertical width of the intra-mouth region and includes a speech section extracted using audio features. A series of frames that satisfy the above conditions for the speech section discrimination is discriminated as a speech section.
[0055] Fig. 13(a) shows an example of a speech section extracted using the vertical width of the intra-mouth region, and Fig. 13(b) shows an example of a speech section extracted using audio features. However, the frames of the vertical width of the intra-mouth region and the frames of the audio features are used in the same time series. For example, in Fig. 13, the judgment difference dn of the vertical width of the intra-mouth region for three frames corresponds to the judgment difference Dm of the audio features for ten frames. If the speech section is estimated using only the vertical width of the intraoral area, it may be mistakenly determined to be a speech section even when no sound is being produced; however, the speech section discrimination processing step S29 can prevent errors, making it possible to discriminate only sections where sound is actually being produced as speech sections.
[0056] As shown in FIG. 1, after the speech section extraction step S20 of the present disclosure, a speaker number determination step S30, a speaker determination step S40, and a speaker output step S50 may be provided, making this a speaker output method effective for an automatic minutes creation system, etc.
[0057] [Step S30 for determining the number of speakers] The number of speakers determination step S30 can use any known method as long as it can determine the number of people speaking at the same time. If there are multiple speakers whose speech sections are extracted simultaneously in the speech section extraction data obtained in the speech section extraction step S20, the process proceeds to a speaker determination step S40, and if there is only one speaker whose speech section is extracted simultaneously, the process proceeds to a speaker output step S50.
[0058] [Speaker identification process S40] The speaker discrimination step S40 can use any known method without limitation, and examples thereof include the contents described in "Yoichi Kageyama, Etsuro Nakamura, and Mineshi Shirasu, Proceedings of the 62nd Joint Conference on Automatic Control, 1J4-0" and Patent Application No. 2020-000673. For example, a neural network (NN) capable of estimating lip behavior features from voice features is trained. Next, lip behavior features and voice features are obtained for the person to be discriminated, and the voice features are input to the trained NN to estimate the lip behavior features. Finally, the difference between the estimated value of the lip behavior features and the actual lip behavior features is calculated, and the person to be discriminated with the smallest difference is determined to be the speaker. Once the speaker is identified in the speaker identification step S40, the process proceeds to a speaker output step S50.
[0059] [Speaker output process S50] The speaker output step S50 may use any known method as long as it can output the content of the speech section extracted in the speech section extraction step S20 for the speaker determined in the speaker determination step S40.
[0060] {Speech segment extraction program and speech segment extraction device} 14 is a conceptual diagram showing the configuration of an utterance period extraction device 50 according to one embodiment that specifically performs calculations in accordance with the speaker output method S1 including the above-mentioned utterance period extraction method S20. The utterance period extraction device 50 has an input device 57, a calculation device 51, and a display means 58. The calculation device 51 has a calculation means 52, a RAM 53, a storage means 54, a receiving means 55, and an output means 56.
[0061] The calculation means 52 is configured with a so-called CPU (Central Processing Unit), and is connected to each of the above-mentioned components to control them. The calculation means 52 also executes various programs stored in the storage means 54, which functions as a storage medium, and performs calculations to create data for each process of the above-mentioned speech section extraction method S20 based on the programs.
[0062] The RAM 53 is a component that functions as a working area for the calculation means 52 and as temporary data storage means. The RAM 53 can be composed of an SRAM, a DRAM, a flash memory, etc., and is similar to a known RAM.
[0063] The storage means 54 is a member that functions as a storage medium in which programs and data that are the basis for various calculations are stored. The storage means 54 may also be capable of storing various intermediate and final results obtained by executing the programs. More specifically, the storage means 54 stores (stores) programs. Other information may also be stored therein.
[0064] Here, the stored programs include programs that are the basis for computing each step of the speaker output method S1 including the above-mentioned speech section extraction method S20. That is, the speaker output method program including the speech section extraction method program includes steps in which each step is replaced with each step so as to correspond to each step of the speaker output method S1 shown in Fig. 1 (including each step of the speech section extraction method S20 shown in Fig. 3). The specific computation contents of the speech section extraction method program are as explained in the above-mentioned speech section extraction method S20.
[0065] The receiving means 55 is a component having a function for appropriately inputting information from the outside into the arithmetic device 51, and is connected to an input device 57. This also includes so-called input ports, input connectors, and the like.
[0066] The output means 56 is a component having a function of appropriately outputting information to be output from among the obtained results to the outside, and is connected to a display means 58 such as a monitor and various devices. This also includes so-called output ports, output connectors, etc.
[0067] The input device 57 may be a device that captures the image and voice of the speaker. Typical devices are a microphone, a camera, or a video camera with a microphone. However, the input device 57 is not limited to these, and may be other types of devices that capture the image and voice of the speaker. Information input from here is taken into the calculation device 51, and the above program is executed using this information.
[0068] Additionally, information may be provided to the arithmetic device 51 via a network or communication through the receiving means 55. Similarly, information may be transmitted to an external device via the output means 56 through a network or communication.
[0069] According to the speech segment extraction device 50, it is possible to efficiently and accurately perform the speaker output method S1 including the above-mentioned speech segment extraction method S20. As the speech segment extraction device 50, for example, a computer can be used. EXAMPLES
[0070] The inventors conducted tests to actually extract speech segments, examined the range of each parameter, and examined the relationship between the resolution and the threshold. The conditions, tests, and evaluation methods are shown below.
[0071] [conditions] Camera: Omnidirectional camera, THITA V, RICOH (30fps, 3840 x 2160 pixels) Microphone: TA-1, Ricoh (unidirectional x 4 channels) Lighting: Fluorescent lamps, illuminance 700lx~900lx Subjects: 6 people (in their 20s, 3 men, 3 women) Position of subject: 50 cm away from the camera, facing forward towards the camera
[0072] [Testing and evaluation methods] (1) Six subjects (in their 20s, three men and three women) each read the same sentence aloud, and this was recorded using the camera and microphone mentioned above. (2) The subjects read aloud 11 types of texts extracted from news articles. Thus, a total of 66 video and audio data were obtained.
[0073] (3) Speech segments are extracted from the obtained video and audio data by the speech segment extraction step of the present invention, and extraction results of speech frames and non-speech frames are obtained. (4) The actual speech section was extracted by visual inspection. Specifically, the frame F where the mouth begins to open when the speech starts was extracted from the obtained video and audio data, as shown in FIG. 15(a). S The frame where the mouth is closed just before +1 is the speech start frame F S As shown in Fig. 15(b), the frame in which the mouth is closed at the end of the utterance is defined as the end-of-utterance frame F E Furthermore, the speech start frame F S and utterance end frame F E The frames between are set as speech frames, and the other frames are set as non-speech frames.
[0074] (5) An evaluation was performed by comparing the actual speech intervals with the extraction results obtained by the speech interval extraction process of the present invention, using the number of frames (unit: number of frames) for determining the extraction success rate shown in Table 1. As shown in Table 1, the indices were calculated by dividing the number of frames in which speech frames were correctly determined as speech frames by TP, the number of frames in which speech frames were erroneously classified as non-speech frames by FN, the number of frames in which non-speech frames were erroneously classified as speech frames by FP, and the number of frames in which non-speech frames were correctly determined as non-speech frames by TN, and the number of frames corresponding to each index was calculated.
[0075] [Table 1]
[0076] Using the number of frames corresponding to each index in Table 1, precision is calculated using formula (2) and recall is calculated using formula (3). Precision and recall take values between 0.0 and 1.0, and the closer the value is to 1.0, the higher the extraction success rate.
[0077]
number
[0078]
number
[0079] {Speech segment extraction test} Table 2 shows the results of the speech segment extraction test conducted based on the above conditions and the test and evaluation methods.
[0080] [Table 2]
[0081] As can be seen from Table 2, the average precision was 0.90 or higher for all subjects, with an average of 0.92. The average recall was 1.00 for all subjects. The above results suggest that the present invention can reduce the difference in lip movement between people and can extract speech segments using a simple threshold judgment method.
[0082] Figure 16 shows the results of speech interval extraction for subject B in one of the 11 types of sentences. Figure 16(a) shows the speech interval extracted using the vertical width of the intra-mouth area and audio features, while Figure 16(b) shows the speech interval extracted using audio features. Figure 16(a) shows that by using the vertical width of the intra-mouth area and audio features in combination, it is possible to appropriately exclude non-speech intervals and extract only the areas where speech intervals exist. In other words, according to the speech section extraction method disclosed herein, even with a single omnidirectional camera and microphone, the speaker can be identified by processing the captured speech video, which is convenient as there is no need to increase the number of devices depending on the number of people. In addition, the time series changes in the vertical width of the intraoral area, which is video data, are compared with the audio features, which are audio data, and used to extract speech sections, making it possible to exclude non-speech sections that have been mistakenly extracted as speech sections.
[0083] {Consideration of the range of each parameter} Based on the above conditions and the test and evaluation methods, a study was conducted on the range of each parameter. The preferred range of each parameter was determined by calculating the F-measure from the precision and recall calculated in (2) and (3) and using this as an evaluation index. The F-measure is calculated using formula (4) and takes a value between 0.0 and 1.0, with the closer the value is to 1.0, the higher the extraction success rate. For each parameter, if the F-measure is 0.9 or higher, it is considered that the speech section extraction accuracy is good.
[0084]
number
[0085] The parameters are the number of frames P for smoothing processing in the vertical width of the intraoral area, the number of frames Q for calculating dn, the number of frames R for speech section re-extraction processing, the number of frames S for calculating dm, and the number of frames T for smoothing processing in audio features.
[0086] <Parameter study on speech segment extraction method using vertical width of intra-mouth area> Using videos taken under the above conditions and the test and evaluation methods, we investigated the preferable ranges of the parameters P, Q, and R. Specifically, we varied the values of each parameter within the ranges shown in Table 3, and calculated the average F-measure (F ave) were calculated and compared. Note that, since the number of parameter patterns to be considered would be enormous, the parameters S and T related to the speech features were set to fixed values.
[0087] [Table 3]
[0088] Table 4 shows the ranges of parameters P, Q, and R and the F ave The results are shown below. F was observed in 265 patterns out of 1000 patterns. ave The result was that the value of F exceeded 0.90. ave Among the patterns with values exceeding 0.90, we set each parameter to its maximum range, and it became clear that the ranges shown in Table 4 (150 patterns) were preferable.
[0089] [Table 4]
[0090] <Parameter study on speech segment extraction method using speech features> Using videos taken under the above conditions and the test and evaluation methods, we investigated the preferable ranges of parameters S and T. Specifically, we varied the values of each parameter within the ranges shown in Table 5, and calculated the average F-measure (F ave ) were calculated and compared. Note that, since the number of parameter patterns to be considered would be enormous, the parameters P, Q, and R related to the lip features were set to fixed values.
[0091] [Table 5]
[0092] Figure 17(a) shows the F ave The calculation results of F are shown in Fig. 17(b). aveThe results are classified according to whether the value of F is 0.9 or more. As shown in Fig. 17(b), ave The range of parameters S and T where the value of F is 0.9 or more can be expressed by a linear function and a constant. Table 6 shows the range of parameters S and T and the F ave The results are shown in Table 6. By setting the parameters S and T within the ranges shown in Table 6, ave The value of is 0.9 or more, making it possible to extract speech segments with high accuracy.
[0093] [Table 6]
[0094] {Study on the relationship between spatial resolution and threshold} In the speech section extraction process, if the judged difference dn of the vertical width of the intra-mouth area is greater than a certain threshold A, the frame is classified as a speech section. The relationship between the value of the threshold A and the spatial resolution Rs of the image was examined. Specifically, a weight W was added to the obtained vertical width of the intra-mouth area to artificially change the spatial resolution Rs of the image. As described above, the spatial resolution of this embodiment is 1.0 mm, so when the value of the weight W is 1.0, the spatial resolution Rs is 1.0 mm. Therefore, the relationship between the weight W added to the vertical width of the intra-mouth area and the spatial resolution Rs is expressed by Equation (5).
[0095]
number
[0096] [Table 7]
[0097] FIG. 18(a) shows the F ave The calculation results of F are shown in Fig. 18(b). ave The results of classifying each pattern according to whether the value of F is 0.9 or more are shown in Fig. 18(b). ave The range of weight W and threshold A where the value of F is 0.9 or more can be expressed by two linear functions and constants. Table 8 shows the range of weight W and threshold A and the F ave The results are shown below. By setting the weight W and threshold A to the ranges shown in Table 8, the F ave The value of is 0.9 or more, making it possible to extract speech segments with high accuracy.
[0098] [Table 8]
[0099] Within the parameter ranges in Table 8, when the value of weight W is replaced with the spatial resolution Rs (unit: mm), the above-mentioned formula (1) is derived. It is preferable that threshold value A is a value that satisfies formula (1) using the spatial resolution Rs of the image, and if the judgment difference dn of the vertical width of the intraoral area is larger than threshold value A, the frame is classified into the speech section with high extraction accuracy. [Explanation of symbols]
[0100] 50 Speech segment extraction device 51 Arithmetic unit 52 Calculation means 53 RAM 54 Memory means 55 Receiving means 56 Output Method 57 Input Devices 58 Display means
Claims
1. A method for extracting speech segments from video and audio data, comprising the steps of: Obtaining a plurality of time-series vertical widths of the subject's intraoral region from the acquired image; obtaining a plurality of speech features in a time series based on the acquired speech data; Extracting a speech section, The step of extracting a speech section includes: obtaining a plurality of determined differences in the vertical width of the intra-mouth region in a time series from the vertical width of the intra-mouth region, and extracting a speech section from the determined differences in the vertical width of the intra-mouth region; obtaining a plurality of speech feature determination differences in a time series from the speech feature values, and extracting a speech section from the speech feature determination differences; a speech section extracted from a vertical width of the intra-mouth region and including an utterance section extracted from the audio feature quantity, the speech section being determined as the speech section.
2. 2. The speech section extraction method according to claim 1, wherein in the step of extracting the speech section from the determination difference of the speech feature amount, the determination difference of the speech feature amount is 0.00 or more.
3. In the step of extracting a speech section from a determined difference in the vertical width of the intra-mouth area, the determined difference in the vertical width of the intra-mouth area is greater than a threshold A, The threshold value A is expressed by the following formula (1) using the spatial resolution Rs of the image: [0010] The speech period extraction method according to claim 1 or 2.
4. The speech period extraction method according to claim 1 , further comprising the step of performing a noise reduction process on the plurality of speech features to obtain a plurality of determination differences of the speech features in a time series.
5. The speech section extraction method according to claim 1 , further comprising a step of performing noise reduction processing on the plurality of vertical widths of the intra-mouth area to obtain a plurality of determined differences of the vertical widths of the intra-mouth area in time series.
6. 6. The speech section extraction method according to claim 1, further comprising a step of re-extracting frames of a speech section from frames classified as non-speech sections in the step of extracting the speech section from the determined difference in vertical width of the intra-mouth area.
7. A program for extracting speech segments from video and audio data, comprising: Obtaining a plurality of time-series vertical widths of the subject's intraoral region from the acquired image; obtaining a plurality of speech features in a time series based on the acquired speech data; Extracting a speech section, The step of extracting a speech section includes: obtaining a plurality of determined differences in the vertical width of the intra-mouth region in a time series from the vertical width of the intra-mouth region, and extracting a speech section from the determined differences in the vertical width of the intra-mouth region; obtaining a plurality of speech feature determination differences in a time series from the speech feature values, and extracting a speech section from the speech feature determination differences; a speech section extraction program for determining, as a speech section, an utterance section that is extracted from a vertical width of the intra-mouth area and that includes an utterance section extracted from the audio feature amount.
8. 8. The speech segment extraction program according to claim 7, wherein in the step of extracting the speech segment from the determination difference of the speech feature amount, the determination difference of the speech feature amount is 0.00 or more.
9. In the step of extracting a speech section from a determined difference in the vertical width of the intra-mouth area, the determined difference in the vertical width of the intra-mouth area is greater than a threshold A, The threshold value A is expressed by the following formula (1) using the spatial resolution Rs of the image: [0025] 9. The speech segment extraction program according to claim 7 or 8.
10. 10. The speech segment extraction program according to claim 7, further comprising a step of performing noise reduction processing on the plurality of speech features to obtain a plurality of determination differences of the speech features in a time series.
11. 11. The speech section extraction program according to claim 7, further comprising a step of performing noise reduction processing on the vertical widths of the intra-mouth area to obtain a plurality of determination differences of the vertical widths of the intra-mouth area in time series.
12. 12. The speech section extraction program according to claim 7, further comprising a step of re-extracting frames of speech sections erroneously classified as non-speech sections in the step of extracting speech sections from a determined difference in vertical width of the intra-mouth area.
13. An apparatus for extracting speech segments from video and audio data, comprising: A camera for acquiring the image; A microphone for acquiring the voice data; A speech segment extraction program according to any one of claims 7 to 12, comprising: a storage means for storing the speech segment extraction program; and a calculation means for performing calculations based on the speech segment extraction program, The calculation means acquires video captured by the camera and audio data captured by the microphone, and performs calculations according to the speech segment extraction program using the acquired video and audio data.
Citation Information
Patent Citations
Speech section detecting device and speech recognition device, program and recording medium
JP2011059186A
Convention support system
JP2015019162A
Speech period detection device, speech period detection method, program, speech recognition device, and robot
JP2020003783A
Minutes distribution system, minutes distribution method, and program
JP2020027351A
Speech recognition apparatus and speech recognition method
WO2016098228A1
