Voice processing device, method and program
The audio processing device enhances speaker recognition by using DNN to calculate and update feature amounts based on similarity thresholds, addressing misjudgments due to voice variations and environmental factors.
Patent Information
- Application Number
- JP2023026010
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-22
- Publication Date
- 2024-09-03
AI Technical Summary
Existing speaker recognition systems often misjudge speakers due to variations in voice quality over time or environmental factors, leading to incorrect determinations.
An audio processing device that calculates feature amounts using a deep neural network (DNN) and compares them with registered data, updating or adding feature amounts based on similarity thresholds to improve speaker identification accuracy.
Reduces speaker misjudgments by accurately identifying registered speakers despite changes in voice quality or environmental conditions, such as the Lombard effect, through dynamic feature updating and addition.
Smart Images

Figure 2024119245000001
Abstract
Description
[Technical field]
[0001] The present disclosure relates to an audio processing device, method, and program. [Background technology]
[0002] Conventionally, there is a speaker recognition technology that recognizes a speaker by comparing the speaker's voice data with registered voice data.
[0003] Patent Document 1 discloses a recognition technique that removes words spoken by persons other than the user from a sequence of spoken words and recognizes commands from the user based on the remaining words. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Special Publication No. 2019-514045 Summary of the Invention [Problem to be solved by the invention]
[0005] The present disclosure provides a speech processing device, method, and program capable of reducing erroneous speaker determination. [Means for solving the problem]
[0006] The voice processing device according to the present disclosure includes a calculation unit that calculates a first feature, which is a feature of an input voice signal, and a determination processing unit that, when a similarity between the first feature and a second feature of at least one registered feature is equal to or greater than a first threshold, determines that the voice signal is the voice of a first registered person among the registered people corresponding to the second feature, and is further characterized in that, when the similarity is equal to or greater than the first threshold and less than a second threshold, the determination processing unit adds the first feature as the registered feature or updates the registered feature with the feature. Effect of the Invention
[0007] According to the present disclosure, it is possible to reduce erroneous speaker determination. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a diagram illustrating an example of a functional block configuration of a voice processing device according to a first embodiment. [Diagram 2] FIG. 2 is a diagram illustrating an example of a processing flow of the voice processing device according to the first embodiment. [Diagram 3] FIG. 3 is a diagram illustrating an example of a UI screen of the voice processing device according to the first embodiment. [Figure 4] FIG. 4 is a diagram showing an example of a UI screen of a voice processing device according to a modified example of the first embodiment. [Diagram 5] FIG. 5 is a diagram illustrating an example of a functional block configuration of the voice processing device according to the second embodiment. As illustrated in FIG. [Figure 6] FIG. 6 is a diagram illustrating an example of a processing flow of the voice processing device according to the second embodiment. [Figure 7] FIG. 7 is a diagram illustrating an example of a configuration of hardware blocks of a sound processing device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, embodiments of a voice processing device, a method, and a program according to the present disclosure will be described in detail with reference to the accompanying drawings.
[0010] (First embodiment) (General configuration of the voice processing device) The voice processing device 1 described below is applicable to devices that react to the user's voice to start up, execute commands, etc. Examples include home appliances, mobile terminals, and in-vehicle devices.
[0011] 1, the voice processing device according to the first embodiment includes a voice acquisition unit 11, a preprocessing unit 12, a feature calculation unit 13, and a judgment processing unit 14. In this embodiment, the voice acquisition unit 11 and the preprocessing unit 12 are collectively configured as a "calculation unit" together with the feature calculation unit 13. The "calculation unit" is required to include at least the feature calculation unit 13, and the input voice signal may be received from elsewhere.
[0012] The voice acquisition unit 11 acquires a voice signal and outputs it to the preprocessing unit 12. As an example, the voice acquisition unit 11 acquires the voice signal by a microphone. Since the voice signal acquired by the voice acquisition unit 11 includes environmental sounds and noises in addition to human voices, hereinafter, a signal including these may be referred to as an input signal.
[0013] The preprocessing unit 12 preprocesses the voice signal output by the voice acquisition unit 11 and outputs the preprocessed signal to the feature calculation unit 13. Examples of the preprocessing include calculation of a voice section and passband limitation of the voice section signal by applying a high-pass filter.
[0014] The feature calculation unit 13 calculates a first feature, which is a feature of the input voice signal. The feature calculation unit 13 is, for example, a DNN (Deep Neural Network). The DNN is a trained model trained by a huge amount of data held by the learning DB 15. When a voice signal is input to the DNN, a calculation process of the voice signal is performed from the input layer through each intermediate layer, and a first feature, which is a calculation result, is obtained on the output layer side. The first feature is composed of one or more factors (in other words, parameters), and the feature of the voice is represented by the magnitude of the value of each factor, the ratio of the value of each factor, etc. As the type of each factor, for example, the frequency of the voice or the rhythm of speaking can be generated. From the output layer side, it is possible to extract the value of each factor related to the speaker's voice recognition as the first feature.
[0015] The judgment processing unit 14 compares the first feature obtained from the feature calculation unit 13 with the enrollment data registered in the registration unit 16, judges the speaker based on the similarity, and further updates the enrollment data if the similarity satisfies a predetermined condition.
[0016] The registered data refers to a file or the like in which the feature amounts at the time of registration of the speaker are registered. Hereinafter, for convenience, the registered feature amounts may be referred to as "registered features". The number of registered features may be one per person or the number of registrants. When there are multiple registrants, the number of registrations is also multiple. If each registered feature amount is registered in association with the registrant, it becomes possible to identify each registrant. For the sake of easy understanding of the explanation below, the registrant will be described as one person.
[0017] The similarity refers to the similarity between the first feature amount and the registered feature amount. The similarity is calculated by comparing the sets of values of a plurality of factors respectively possessed by the first feature amount and the registered feature amount in a predetermined manner. The method for calculating the similarity is not particularly limited. The method may be arbitrary.
[0018] Specifically, the determination processing unit 14 determines whether the similarity X, which is the similarity between the first feature amount and the registered feature amount, is equal to or greater than the first threshold TH1, and when the similarity X with the second feature amount among at least one of the registered feature amounts is equal to or greater than the first threshold TH1, it determines that the input voice signal is the voice of the first registrant corresponding to the second feature amount among the registered registrants. Further, when the similarity X is less than the first threshold TH1, the determination processing unit 14 determines that the input voice signal is not the voice of the registrant, that is, the voice of an unregistered person. These determination conditions are shown in the following determination condition 1.
[0019] <Determination Condition 1> Similarity X ≥ TH1 (Registrant) Similarity X < TH1 (Unregistered Person)
[0020] Furthermore, when the similarity X is greater than or equal to the first threshold TH1, the determination processing unit 14 also determines whether the similarity X is less than the second threshold TH2. When the similarity X is less than the second threshold TH2, the second feature amount is updated by the first feature amount, that is, the registered feature amount is updated. When the similarity X is greater than or equal to the second threshold TH2, the determination processing unit 14 does not update the registered feature amount by the first feature amount. These determination conditions are shown in the following determination condition 2.
[0021] <Determination Condition 2> TH1 ≤ Similarity X < TH2 (Update) TH2 ≤ Similarity X (Do not update)
[0022] For example, assume that the first threshold TH1 is set to 95% and the second threshold TH2 is set to 98%. In this case, when the similarity X between the first feature amount and the second feature amount is 98% or more, the first feature amount is considered to be substantially the same as the second feature amount, so the second feature amount is not updated by the first feature amount. On the other hand, when the similarity X between the first feature amount and the second feature amount is 95% or more and less than 98%, there is a certain difference between the first feature amount and the second feature amount, so the determination processing unit 14 updates the second feature amount with the first feature amount. By performing the update in this way, in the determination of the voice of the speaker who is the first registrant in subsequent times, the second feature amount of the first registrant updated most recently becomes the new determination criterion. Here, the set values of the first threshold TH1 and the second threshold TH2 are just examples and are not limited to this. Also, it is possible to change the settings of the first threshold TH1 and the second threshold TH2, and the settings may be changed later according to the environment and conditions. For example, a setting change unit such as an operation panel may be connected to the voice processing device 1, and the values of the first threshold (TH1) and the second threshold (TH2) of the determination processing unit 14 may be changed using the setting change unit. The setting change unit may be connected to the voice processing device 1 by wire or wirelessly.
[0023] In the voice processing device 1, the judgment result of the judgment processing unit 14 based on the judgment condition 1 may be output to a control unit or the like. The control unit determines the operation of the voice processing device 1 based on the judgment result. For example, when the control unit judges that the input voice is the voice of a registered person, it executes a predetermined command accepted from the speaker of that voice. Also, when the input voice is judged to be the voice of an unregistered person, the control unit waits without accepting a command until the voice of a registered person is input.
[0024] Furthermore, the voice processing device 1 may transmit the determination result to an external device capable of communicating with the voice processing device 1. By configuring in this way, the external device can receive the determination result of the voice processing device 1 and be activated by the voice of a registered person or execute a predetermined command. The type of the external device is not limited. Any external device may be used.
[0025] (Processing flow of voice processing device) Next, the flow of audio processing by the audio processing device 1 will be described with reference to the processing flow in Fig. 2. Note that in the following, the audio processing device 1 is in a standby state in which an audio signal can be input from the microphone.
[0026] 2, the voice acquisition unit 11 acquires an input signal via a microphone (step S1). Then, the pre-processing unit 12 performs pre-processing on the input signal (step S2). For example, the pre-processing unit 12 detects a voice section of the input signal and outputs a signal of the voice section.
[0027] Next, the feature calculation unit 13 calculates the feature of the pre-processed speech signal (step S3). In the present embodiment, the first feature of the speech signal is calculated by DNN as an example. When the speech section signal is output in step S2, the feature of the speech section is calculated in step S3.
[0028] Next, the judgment processing unit 14 compares the first feature obtained from the feature calculation unit 13 with the registered feature of the registered data, and judges whether the similarity X between the first feature and the registered feature is equal to or greater than a first threshold value TH1 (step S4).
[0029] If the determination processing unit 14 determines that the similarity X is less than the first threshold value TH1, it determines that the input voice is the voice of an unregistered person (step S4: No), and outputs a determination result of "NG" (step S5). As an example, the determination result is output to the control unit. After that, the voice processing device 1 shifts the process to step S1. From step 1, processing is performed on the subsequently input voice signal.
[0030] Moreover, if the judgment processing unit 14 judges that the similarity X is equal to or greater than the first threshold TH1, it judges that the input voice is the voice of a registrant (step S4: Yes), and further judges whether the similarity X is less than the second threshold TH2 (step S6).
[0031] If the determination processing unit 14 determines that the similarity X is not less than the second threshold value TH2 (step S6: No), it outputs a determination result "OK" (step S7). After that, the voice processing device 1 shifts the process to step S1.
[0032] If the determination processing unit 14 determines that the similarity X is less than the second threshold TH2 (step S6: Yes), it outputs the determination result "OK" and also updates the registered feature of the registrant with the first feature (step S8). After that, the voice processing device 1 transitions the process to step S1.
[0033] (Difference between update method and addition method) The voice processing device 1 of the present embodiment is not limited to an "update method" in which an already registered feature is updated by a newly calculated first feature of a registered person. In other words, the voice processing device 1 is not limited to an "update method" in which one of the already registered registered features is replaced by a first feature to register the first feature. An "addition method" in which the already registered registered feature is left as it is and a newly calculated first feature of a registered person is added may be used.
[0034] The update method is useful when the first feature of the input speech signal changes irreversibly, for example, when the voice quality of a registered person changes over time.
[0035] The voice processing device 1 updates the registered features when the relationship becomes first threshold TH1≦similarity X<second threshold TH2. In other words, the registered features are not updated when the voice quality of the enrolled person changes slightly, but are updated when the voice quality of the enrolled person changes by a certain amount since enrollment. If the voice quality of the enrolled person changes over time, the registered features registered in the past become unnecessary, so by updating the registered features, memory capacity can be reduced. Furthermore, the number of registered features to be compared during the judgment process can be reduced, which leads to a reduction in the processing load of the voice processing device 1.
[0036] Here, we have given a change in the voice quality of the registered person as an example of irreversible change, but this is not limited to changes in voice quality. For example, the update method is also useful when the first feature value of the input voice signal changes from year to year due to aging of the device.
[0037] With the additive method, the variation in the registered features of each speaker increases, increasing the likelihood of recognizing the person as the registered person.
[0038] When implementing the addition method, it is desirable to limit the number of registered features in consideration of the memory capacity and the processing load of the speech processing device 1. For example, it is conceivable to set an upper limit on the number of registered features per person, such as limiting the number of registered features per person to three.
[0039] (Method of determining whether to update or add) Furthermore, the voice processing device 1 of this embodiment may determine whether a predetermined condition is satisfied, and selectively implement an update method or an addition method based on the determination result. For example, the voice processing device 1 may selectively perform addition or update based on the similarity between the first feature and the registered feature until the number of registered features reaches an upper limit. Furthermore, when the upper limit is reached, the voice processing device 1 only supports update, not addition.
[0040] When updating the registered feature, the voice processing device 1 updates the registered feature with the closest similarity so as to leave as many different variations as possible.
[0041] (A method of judgment that assumes that registered users have similar voice qualities.) When features of people with similar voice qualities are registered among registrants, there is a possibility that the similarity between the first feature of the speaker and the registered feature of a registrant other than the speaker who has a similar voice quality will be high. In such a case, the voice processing device 1 may change the first threshold TH1 and the second threshold TH2 from their initial values to higher values by a UI (User Interface) unit, which is a setting change unit, when registering the features for the first time.
[0042] In the case where the voice processing device 1 is provided with a display, the UI unit outputs a UI screen on the display and accepts the initial registration via the UI screen. The UI unit may accept the selection of various buttons provided on the UI screen by a user operation of a hardware key, or may accept the selection of various buttons provided on the UI screen by a touch operation on the UI screen.
[0043] The UI screen 100 shown in Fig. 3 is an example of a UI screen of an in-vehicle device. The UI screen 100 is provided with navigation operation buttons and the like. The detailed map button 151 and the wide area map button 152 are examples of navigation operation buttons. The UI screen 100 may have various operation buttons "..." lined up other than the detailed map button 151 and the wide area map button 152.
[0044] Furthermore, a plurality of user registration buttons are provided on the UI screen 100. As an example, the UI screen 100 in Fig. 3 is provided with a user 1 registration button 101, a user 2 registration button 102, and a user 3 registration button 103, which are registration buttons for three users.
[0045] It is also desirable that the UI screen 100 be displayed in such a way that it is visually clear whether a feature has been registered or not. For example, the UI unit displays a user registration button for which a feature has been registered in white on the UI screen 100, and a user registration button for which a feature has not been registered in gray, thereby making it visually clear.
[0046] It is also desirable to display whether the user who registered the feature amount registered it as "user 1," "user 2," or "user 3" so that the user who registered the feature amount or another user can recognize it. As an example, the text or display color of the user 1 registration button 101, user 2 registration button 102, and user 3 registration button 103 can be changed to individual display so that the user can recognize the registration button in which the user registered the feature amount. If there is another method other than changing the text or display color that allows the user who registered the feature amount or another user to recognize it, it may be adopted as appropriate.
[0047] In addition, the UI screen 100 is provided with three user registration buttons for each command so that three users can be registered for each command. At the upper position of the UI screen 100, three user registration buttons, a user 1 registration button 101, a user 2 registration button 102, and a user 3 registration button 103, are arranged as registration buttons corresponding to command 1. At the lower position of the UI screen 100, three user registration buttons, a user 1 registration button 105, a user 2 registration button 106, and a user 3 registration button 107, are arranged as registration buttons corresponding to command 2. Note that the number of users that can be registered, the number of commands that can be registered, the number of registration buttons, and the arrangement of the registration buttons are merely examples and are not limited thereto.
[0048] When the user actively operates the registration button on the UI screen 100, the following registration process is performed.
[0049] As an example of the registration process, a registration process will be described in which user B registers the feature amount of command 2 in a state where only user A has completed registration of the feature amount of command 2.
[0050] 3, the User 1 Registration button 105 is displayed as "registered" because Person A has already registered the feature amount of Command 2. Here, as an example, the color "registered" is displayed in white. The User 2 Registration button 106 and the User 3 Registration button 107 are displayed as "not registered" because the feature amount of Command 2 has not been registered. As an example, the color "not registered" is displayed in diagonal lines.
[0051] In this state, person B selects the unregistered user 2 registration button 106 and performs the initial registration of the feature of command 2. First, person B presses the user 2 registration button 106 and speaks command 2. In the voice processing device 1, as described above, the feature calculation unit 13 calculates the first feature, and the first feature resulting from the calculation is registered by the determination processing unit 14. In this example, since the UI unit has received the selection of the user 2 registration button 106 from the UI screen 100, the determination processing unit 14 determines that this is an instruction from user 2 to register the feature of command 2, and performs the following process.
[0052] The judgment processing unit 14 compares the first feature of B with the registered feature of another user in which the feature of command 2 is registered, based on an instruction from user 2 to register the feature of command 2. As an example, since the feature of command 2 is registered only for user 1 used by A, the judgment processing unit 14 compares the first feature of B with the registered feature of command 2 corresponding to user 1. When the similarity X is equal to or greater than a predetermined value by comparing the first feature of B with the registered feature of command 2 corresponding to user 1, the judgment processing unit 14 changes the first threshold TH1 and the second threshold TH2 of user 2 selected by B and the first threshold TH1 and the second threshold TH2 of user 1 to be increased. The first threshold TH1 and the second threshold TH2 are thresholds used to determine whether to update or add the registered feature.
[0053] After the registration, the user 2 registration button 106 changes to indicate that the registration has been completed. Furthermore, the voice processing device 1 may be configured to notify the user of the completion of the registration by a method other than a display after the registration of the feature has been completed.
[0054] In addition, as an example, the user to whom the feature of command 2 is registered is only user A of user 1, but multiple users may be registered. In the case where multiple users including C and the like have registered the feature of command 2, the determination processing unit 14 compares the first feature of B with the registered feature of each user to whom the feature of command 2 is registered, and determines whether the similarity X of each registered feature is equal to or greater than a predetermined value. The determination processing unit 14 makes a change to increase the first threshold TH1 and the second threshold TH2 of the user to whom the similarity X is equal to or greater than a predetermined value and the user 2 used by B. In addition, although the second threshold TH2 is increased here, the change of the second threshold TH2 is not necessarily required. There are cases where the change of the second threshold TH2 is not required, so the determination processing unit 14 may at least change the first threshold TH1.
[0055] Also, although the registration process has been explained here using command 2 as an example, commands other than command 2 are processed in the same manner.
[0056] Furthermore, each time a new user registers a feature for a certain command, the determination processing unit 14 may calculate the degree of similarity between the feature and the registered feature of another user who has already registered the feature.
[0057] In this way, a registration button for each user is provided, and the user actively registers the feature of his / her voice. When the feature of a new user is registered, the voice processing device 1 calculates the similarity between the feature of the new user and the registered feature of the other user, and checks whether the feature of the new user is similar to the registered feature of the other user. If there is a registered feature similar to the feature of the new user among the registered features of the other users, the voice processing device 1 changes the first threshold TH1 of the user who newly registered the feature to increase it. In addition, the voice processing device 1 changes the first threshold TH1 of the other users whose registered feature is similar to the feature of the new user to increase it. In other words, when there is a registered feature similar to the new feature, the change to increase the first threshold TH1 is made for two or more users who have similar voice qualities. In this way, when the voice qualities of the registered users are similar, by changing the first threshold TH1 of at least the parties to increase, it is possible to make it difficult to update or add the registered feature of another registered user who has a similar voice quality to the person.
[0058] Furthermore, the determination processing unit 14 may update or add the registered feature after a determination that first threshold TH1≦similarity X<second threshold TH2 has occurred multiple times. For example, the feature calculation unit 12 calculates a feature for each voice section, and the determination processing unit 14 sequentially determines the similarity between the feature calculated for each voice section and the registered feature. The determination processing unit 14 may update or add the registered feature when a determination that first threshold TH1≦similarity X<second threshold TH2 has been made for multiple predetermined sections.
[0059] In this way, by updating or adding the registered features after obtaining judgment results for the features for each of a number of specified sections, it is possible to prevent the registered features of a registrant from being updated or added by the features of another person with a similar voice quality other than the registrant himself / herself.
[0060] In the description of the present embodiment, the voice processing device 1 has been shown to have a configuration including a voice acquisition unit 11 and a preprocessing unit 12, but the voice processing device 1 is not limited to this configuration. The voice processing device 1 only needs to have at least a feature calculation unit 13 and a determination processing unit 14 that process an input voice signal. For example, if the voice processing device 1 is configured to receive a voice signal from an external device, the input voice signal can be processed by the feature calculation unit 13 and the determination processing unit 14.
[0061] (Effects of the First Embodiment) Even if the voice is input from the same person, some change may occur, for example, over time. If the feature of the voice input from the registrant has changed from the registered feature, the similarity with the registered feature is calculated to be low, and the person may be erroneously determined to be not a registrant even though he or she is a registrant. The voice processing device 1 of this embodiment updates or adds the registered feature when the relationship is: first threshold TH1≦similarity X<second threshold TH2. That is, even if the similarity between the first feature, which is a feature calculated from the input voice signal, and the registered feature is not high, the voice processing device 1 of this embodiment determines that the voice is from the same person if the similarity is equal to or higher than a certain level, and if the similarity is less than a predetermined value, adds the first feature as a registered feature or updates the registered feature with the first feature. Therefore, the voice processing device of this embodiment can reduce erroneous determination.
[0062] (First modification of the first embodiment) As a first modification of the first embodiment, a configuration for reducing erroneous determinations caused by the Lombard effect will be described. The Lombard effect is a phenomenon in which a speaker's speech temporarily changes in a noisy environment, such as when the surrounding noise is loud, so that the speaker's speech is easier for others to hear. In other words, the occurrence of the Lombard effect causes the speaker's voice quality to differ from normal. A configuration for reducing erroneous determinations caused by the Lombard effect will be described below.
[0063] The voice processing device 1 judges whether the Lombard effect occurs by detecting ambient noise in a section of the input voice signal where there is no speech by the speaker. For example, the preprocessing unit 12 detects a noise signal using a sensor or the like in a section of the voice signal where there is no speech, and judges that the Lombard effect occurs when the noise signal indicates a volume equal to or greater than a certain level. The sensor is, for example, a microphone. When the voice processing device 1 judges that the Lombard effect occurs, it adds a feature calculated from the input voice signal of the speaker as a registered feature of the speaker. This allows the voice processing device 1 to reduce erroneous judgment that the voice of a registered person is not that of a registered person even if the voice quality of the registered person changes when the Lombard effect occurs.
[0064] The voice processing device 1 may add the feature calculated when the Lombard effect occurs as the "registered feature when the Lombard effect occurs" of the speaker. In this way, by registering the registered feature corresponding to the occurrence of the Lombard effect in addition to the normal registered feature, the voice processing device 1 can calculate the similarity based only on the "registered feature when the Lombard effect occurs" when the Lombard effect occurs. Therefore, the processing load during the determination process can be reduced.
[0065] Furthermore, when the voice processing device 1 is applied to an in-vehicle device, the Lombard effect may occur due to road noise while the vehicle is traveling. In preparation for the occurrence of the Lombard effect, when the feature amount is initially registered, a feature amount when the Lombard effect occurs may be registered in addition to a feature amount in a quiet state. For example, the feature amount when the Lombard effect occurs may be acquired in a simulated driving environment formed by reproducing a simulated road noise sound from a speaker. The speaker is, for example, a car speaker. The voice processing device 1 may be equipped with a speaker.
[0066] For example, when a pseudo road noise sound is reproduced from a speaker, the signal components of the pseudo road noise sound reproduced by the speaker are echo-cancelled from the audio signal input to the audio processing device 1. For example, an echo cancellation unit is provided in a microphone, and echo cancellation is performed from the input audio signal.
[0067] In this way, by echo canceling the signal components of the pseudo road noise reproduced by the speaker from the input signal, it becomes possible to clearly extract only the speaker's voice. The voice processing device 1 may register the feature calculated based on this voice as the registered feature when the Lombard effect occurs.
[0068] (Modification 2 of the first embodiment) The voice processing device 1 may register multiple types of feature amounts. Although an example of registering a feature amount in a quiet state and a feature amount when the Lombard effect occurs has been shown so far, other feature amounts may also be registered.
[0069] For example, the feature value changes when the registered person is wearing a mask, i.e., when the person has a mask, and when the person does not have a mask, i.e., when the person has no mask. Therefore, the feature value when the person has a mask and the feature value when the person has no mask may be registered in the speech processing device 1, and when the speaker has a mask, the speech processing device 1 may determine based on the similarity between the first feature value calculated from the speech signal with the mask and the registered feature value with the mask, and when the speaker has no mask, the speech processing device 1 may determine based on the similarity between the first feature value calculated from the speech signal without the mask and the registered feature value without the mask. Whether the speaker has a mask or not may be determined from, for example, a camera image.
[0070] In this way, it may be possible to register features with a mask as appropriate. In addition, if there are other cases involving changes in features, it may be possible to register them as appropriate. For example, the voice quality may change depending on a change in the speaker's physical condition, such as when the speaker has a cold. Features corresponding to changes in physical condition may be registered in the voice processing device 1.
[0071] The feature may be registered automatically or manually. For example, the feature may be registered automatically in the voice processing device 1 based on the voice that is spoken and input. Alternatively, the user may manually operate the voice processing device 1 to register the feature. In addition, the voice processing device 1 may be configured to selectively use the automatic and manual modes.
[0072] Next, a UI screen of the UI section for selecting the type of mode for registering a feature amount will be described.
[0073] The UI screen 100 shown in FIG. 4 is another example of the UI screen 100 of the in-vehicle device shown in FIG.
[0074] The UI screen 100 is provided with a user registration button for registering a feature for each registration mode. In FIG. 4, the UI screen 100 is provided with a user registration button 111 for registering a feature in a normal state, which is a first registration mode, a user registration button 112 for registering a feature in a high-speed driving state, which is a second registration mode, and a user registration button 113 for registering a feature in a mask-wearing state, which is a third registration mode. The normal feature is, for example, a feature registered in a quiet state. In this way, by providing a registration button for each mode, it is also possible for the user to actively select an appropriate registration mode. The voice processing device 1 is also able to set an environment that enables registration in the registration mode according to the selected registration mode.
[0075] Furthermore, UI screen 100 is provided with a registration button for each user so that two users can be registered. At the upper part of UI screen 100, user registration button 111, user registration button 112, and user registration button 113 are arranged as registration buttons for user 1. At the lower part of UI screen 100, user registration button 115, user registration button 116, and user registration button 117 are arranged as registration buttons for user 2.
[0076] Note that the number of users that can be registered, the types of registration modes, the number of registration buttons, and the arrangement of the registration buttons are merely examples and are not limited to these.
[0077] The initial registration for each mode is performed, for example, as follows. First, the user manually presses the registration button to be registered. The voice processing device 1 sets the registration mode to the registration mode corresponding to the registration button pressed by the user. When the user registration button 111 is pressed, the voice processing device 1 calculates a first feature based on the voice input by the user's speech, and registers the first feature as a registration feature for normal operation. When the user registration button 112 is pressed, the voice processing device 1 reproduces, for example, pseudo road noise from a speaker, calculates a first feature based on the voice input by the user's speech under the reproduction, and registers the first feature as a registration feature for high-speed driving. When the user registration button 113 is pressed, the voice processing device 1 calculates a first feature based on the voice input by the user's speech while the user is wearing a mask, and registers the first feature as a registration feature for wearing a mask.
[0078] The voice processing device 1 may be configured to notify the user of the completion of registration after the initial registration of the registered feature is completed. After the registration of the registered feature is completed, the voice processing device 1 may notify the user of the completion of registration in association with the registered mode. For example, after the registration of the registered feature during high-speed driving is completed, the voice processing device 1 may notify the user of the completion of registration by voice output or screen display of a message saying "High-speed driving mode has been registered."
[0079] Furthermore, the voice processing device 1 may display a mode in which a feature has not been registered so as to be visually understood on the UI screen 100. For example, on the UI screen 100, the voice processing device 1 may display a user registration button corresponding to a mode in which a feature has been registered in white, and a user registration button corresponding to a mode in which a feature has not been registered in a color other than white, such as gray.
[0080] After the voice processing device 1 has registered features corresponding to a plurality of modes, the determination processing unit 14 automatically determines the mode, and when the similarity between the first feature calculated from the input voice signal and the second feature of at least one registered feature corresponding to the determined mode is equal to or greater than a first threshold, the voice signal is determined to be the voice of the first registered person corresponding to the second feature. For example, the voice processing device 1 can automatically determine an appropriate mode by using a detection unit such as a sensor.
[0081] (Second embodiment) The second embodiment will be described in detail with reference to Figures 5 and 6. Note that the description of the parts common to the first embodiment will be omitted as appropriate by assigning the same reference numerals in Figures 5 and 6, and the description will be focused mainly on the parts different from the first embodiment.
[0082] 5, the voice processing device 2 of the second embodiment further includes an image acquisition unit 21 that acquires a captured image from a camera, and a face image analysis unit 22 that analyzes a face image from the captured image. Here, the image acquisition unit 21 and the face image analysis unit 22 correspond to a "detection unit" and an "authentication unit."
[0083] Based on the analysis results output from the face image analysis unit 22, the determination processing unit 14 performs processes such as initial registration, updating, or addition of registered features.
[0084] The face image analysis unit 22 analyzes the face image in the captured image. As an example, the face image analysis unit 22 analyzes whether the speaker is wearing a mask. In addition, if the face image of the registrant acquired from the camera is stored in a face image database accessible to the face image analysis unit 22, the face image analysis unit 22 can also perform face authentication of the registrant using the face image of the registrant and the captured image. The face image analysis unit 22 may update or add the face image of the registrant to the face image database when updating or adding a registered feature. The following describes, as an example, the processing of the voice processing device 2 when the face image analysis unit 22 includes the result of face authentication of the registrant in the analysis result.
[0085] FIG. 6 corresponds to the flow when the feature amount when wearing a mask has not been registered, and shows the flow of processing when the voice processing device 2 automatically registers the feature amount when wearing a mask.
[0086] The image acquisition unit 21 acquires a captured image from the camera (step S81), and the face image analysis unit 22 analyzes a face image from the captured image (step S82). The face image analysis unit 22 determines whether or not the speaker is wearing a mask by analyzing the face image. The face image analysis unit 22 may perform face authentication to determine whether or not the speaker is a registered person at this stage, or may perform the authentication before inputting the voice. The face image analysis unit 22 outputs the analysis result to the determination processing unit 14. In step S83 described later, a process will be described in which the face image analysis unit 22 outputs information indicating the wearing of a mask and information on a registered person obtained by face authentication of the speaker.
[0087] When it is determined that the similarity X is less than the second threshold value TH2 (step S6: Yes), the determination processing unit 14 determines whether the speaker is wearing a mask (S83).
[0088] The determination processing unit 14 obtains the information of the registered person corresponding to the speaker from the analysis result of step S82, and therefore the determination result is "OK". Therefore, when the determination processing unit 14 determines that the speaker is not wearing a mask (step S83: No), it outputs the determination result "OK". Furthermore, since the speaker is not wearing a mask, the determination processing unit 14 updates the registered feature of the registered person with the first feature (step S84). After that, the voice processing device 1 transitions the process to step S1.
[0089] Furthermore, when the determination processing unit 14 determines that the speaker is wearing a mask (step S83: Yes), it outputs a determination result of "OK." Furthermore, since the speaker is wearing a mask, the determination processing unit 14 adds the first feature as a registered feature when the registered person is wearing a mask (step S85). After that, the voice processing device 1 transitions the process to step S1.
[0090] As an example, the determination processing unit 14 may determine whether the speaker is wearing a mask in step S83. However, the facial image analysis unit 22 may determine whether the speaker has changed in physical condition in step S82, and the determination processing unit 14 may determine whether the speaker has changed in physical condition in step S83 based on the result. The determination processing unit 14 may either update the registered feature amount or add a registered feature amount when the physical condition changes, depending on whether the speaker has changed in physical condition. The facial image analysis unit 22 may estimate a person in step S82, and the determination processing unit 14 may determine only whether the speaker is the same person as the registrant in step S83 based on the result. This may also be combined with the determination of whether the mask is worn. For example, even if the similarity X between the first feature amount and the registered feature amount of the registrant is high, if the speaker is not determined to be the same person as the registrant in step S83, the determination processing unit 14 may not add or update the registered feature amount of the registrant. For example, if it is determined in step S83 that the speaker is the same person as the registered person, the first threshold value TH1 and the second threshold value TH2 may be set smaller than the initial values, thereby reducing the possibility that the voice processing device 1 will erroneously determine that the speaker is not the registered person, even though the speaker is the same person as the registered person.
[0091] By combining with the camera image in this way, it is possible to determine whether a person is wearing a mask or not, and whether the person is the same as the registered person. Furthermore, even if the similarity X between the first feature of the input voice and the registered feature of the registered person is high, if it is not determined from the camera image that they are the same person, it is possible to prevent the addition or update of the first feature. By configuring in this way, it is possible to reduce the possibility that the voice processing device 1 erroneously determines that a person is a registered person when they are not the same person.
[0092] Furthermore, the detection by the camera is merely an example, and the detector is not limited to a combination with a camera. For example, in a high-speed driving mode, background noise may be detected by using any sensor.
[0093] (Hardware configuration of audio processing device) Fig. 7 is a diagram showing an example of the configuration of hardware blocks of a voice processing device. The voice processing device 3 shown in Fig. 7 is a computer configuration having a CPU (Central Processing Unit), and the CPU executes a program stored in a memory to perform various functions of the voice processing described above.
[0094] As an example, the audio processing device 3 has a CPU 31, a memory 32, a touch panel 33, a display 34, a storage device 35, a communication IF (interface) 36, a camera 37, a speaker 38, and a microphone 39, which are connected via a bus.
[0095] The CPU executes a program stored in the memory 32 to realize some or all of the functional units, such as the voice acquisition unit 11, the preprocessing unit 12, the feature calculation unit 13, and the judgment processing unit 14. The CPU as the voice acquisition unit 11, the preprocessing unit 12, the feature calculation unit 13, and the judgment processing unit 14 performs voice processing by controlling each hardware unit, for example.
[0096] The memory 32 is a read only memory (ROM) or a random access memory (RAM), for example.
[0097] The touch panel 33 is layered on the screen of the display 34, and detects the touch position on the screen.
[0098] The display 34 is a display such as a liquid crystal display. The UI screen 100 and the like are displayed on the display 34. The touch panel 33 and the display 34 are an example of an operation panel.
[0099] The storage device 35 is a hard disk drive (HDD) or a solid state drive (SSD). The registered data of the registered feature amount and the registered data of the face image are stored in the storage device 35. The registered data of the registered feature amount and the registered data of the face image may be stored in an external system and may be acquired from the outside via the communication IF 36 at the time of determination.
[0100] The communication IF 36 is a wired or wireless communication IF.
[0101] The camera 37 has an imaging device such as a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS), and outputs a captured image.
[0102] The speaker 38 outputs sounds such as pseudo road noise reproduced by the CPU 31.
[0103] The microphone 39 inputs voice etc. The microphone 39 may include an echo canceling unit.
[0104] The configuration of the hardware blocks of the voice processing device is merely an example, and is not limited to this example. The configuration may be modified as appropriate depending on the type of registration mode, etc.
[0105] The present disclosure can be realized in software, hardware, or software in conjunction with hardware.
[0106] The present disclosure may be realized by a system, an apparatus, a method, an integrated circuit, a computer program, or a recording medium, or by any combination of a system, an apparatus, a method, an integrated circuit, a computer program, and a recording medium. A program product is a computer-readable medium on which a computer program is recorded.
[0107] In addition, a program in which some or all of the procedures are recorded may be provided by recording it on a recording medium, or may be stored in a ROM and provided as a computer-configured information processing device, or the program may be downloaded via a network and executed by a computer. The CPU of the computer performs processing by reading and executing the program.
[0108] Although the embodiments have been described above with reference to the drawings, the present disclosure is not limited to such examples. It is clear that a person skilled in the art can come up with various modified or altered examples within the scope of the claims. Such modified or altered examples are also considered to belong to the technical scope of the present disclosure. In addition, the components in the embodiments may be arbitrarily combined within the scope of the present disclosure. [Explanation of symbols]
[0109] 1, 2, 3 Audio Processing Device 11 Voice Acquisition Unit 12 Pretreatment section 13 Feature Calculation Unit 14 Judgment processing unit 15 Learning Database 16 Registration Department 21 Image acquisition unit 22 Facial Image Analysis Department 31 CPU 32 Memory 33 Touch Panel 34 Display 35 Storage device 36 Communication Interface 37 Camera 38 Speaker 39. Mike 100 UI screens
Claims
1. A calculation unit that calculates a first feature amount that is a feature amount of an input speech signal; a determination processing unit that, when a similarity between the first feature and a second feature of at least one registered feature is equal to or greater than a first threshold, determines that the voice signal is the voice of a first registered person corresponding to the second feature, among the registered people; having Furthermore, the determination processing unit adds the first feature amount to the registered feature amount or updates the registered feature amount with the first feature amount when the similarity is equal to or greater than the first threshold value and less than a second threshold value. Audio processing device.
2. when it is determined that the degree of similarity has become equal to or greater than the first threshold and less than the second threshold due to a change in voice quality of the first registered user, the determination processing unit updates the registered feature amount with the first feature amount. The audio processing device according to claim 1 .
3. The first threshold value and the second threshold value are configurable. The audio processing device according to claim 1 .
4. The calculation unit calculates a feature amount for each predetermined section of the audio signal, when it is determined that a similarity between the feature calculated for each of the predetermined sections and the registered feature is equal to or greater than the first threshold and less than the second threshold for the plurality of predetermined sections, the determination processing unit adds the first feature to the registered feature or updates the registered feature with the first feature. The audio processing device according to claim 1 .
5. A speaker for playing sound; a cancellation unit that cancels the signal of the sound reproduced by the speaker from the input audio signal; Further having The audio processing device according to claim 1 .
6. A UI unit for selecting a type of mode is provided, The determination processing unit registers the first feature amount in association with the mode selected by the UI unit.
6. A sound processing device according to any one of claims 1 to 5.
7. having registered features corresponding to a plurality of modes; the determination processing unit automatically determines a mode, and when a similarity between the first feature and a second feature of at least one registered feature corresponding to the determined mode is equal to or greater than a first threshold, determines that the voice signal is the voice of a first registered person corresponding to the second feature. The audio processing device according to claim 1 .
8. An authentication unit that performs face authentication of a speaker, when the authentication unit authenticates the speaker as the registrant, if a registration feature corresponding to the mode has not been registered, the determination processing unit registers the first feature in association with the mode. The audio processing device according to claim 7.
9. In a sound processing device, calculating a first feature amount which is a feature amount of an input speech signal; determining, when a similarity between the first feature and a second feature of at least one registered feature is equal to or greater than a first threshold, that the voice signal is a voice of a first registered person corresponding to the second feature, among the registered people; further, when the degree of similarity is equal to or greater than the first threshold and less than a second threshold, adding the first feature amount to the registered feature amount or updating the registered feature amount with the first feature amount; The method includes:
10. On the computer, A calculation unit that calculates a first feature amount that is a feature amount of an input speech signal; a determination processing unit that determines that the voice signal is the voice of a first registered person corresponding to the second feature, among the registered people, when a similarity between the first feature and a second feature of at least one registered feature is equal to or greater than a first threshold, and further adds the first feature as the registered feature or updates the registered feature with the first feature, if the similarity is equal to or greater than the first threshold and less than a second threshold. A program that functions as a
Citation Information
Patent Citations
Speaker recognizing device
JP2001265385A
Device and method for collating
JP2001350494A
Voice translation apparatus and its method
JP2007322523A
Identification device, robot, identification method, and program
JP2020057300A
Voice registration apparatus, control method, program, and storage medium
WO2022024188A1
Cited By
Meeting support system and meeting support method
JP7836140B1
