WO2023273063A1 - Passenger speaking detection method and apparatus, and electronic device and storage medium - Google Patents

Passenger speaking detection method and apparatus, and electronic device and storage medium Download PDF

Info

Publication number
WO2023273063A1
WO2023273063A1 PCT/CN2021/127096 CN2021127096W WO2023273063A1 WO 2023273063 A1 WO2023273063 A1 WO 2023273063A1 CN 2021127096 W CN2021127096 W CN 2021127096W WO 2023273063 A1 WO2023273063 A1 WO 2023273063A1
Authority
WO
WIPO (PCT)
Prior art keywords
occupant
sound signal
speech
video
face area
Prior art date
Application number
PCT/CN2021/127096
Other languages
French (fr)
Chinese (zh)
Inventor
王飞
钱晨
Original Assignee
上海商汤临港智能科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上海商汤临港智能科技有限公司 filed Critical 上海商汤临港智能科技有限公司
Priority to JP2023546461A priority Critical patent/JP2024505968A/en
Publication of WO2023273063A1 publication Critical patent/WO2023273063A1/en

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/25Fusion techniques
    • G06F18/253Fusion techniques of extracted features
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/02Feature extraction for speech recognition; Selection of recognition unit
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/24Speech recognition using non-acoustical features
    • G10L15/25Speech recognition using non-acoustical features using position of the lips, movement of the lips or face analysis
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command

Definitions

  • the present disclosure relates to the field of computer technology, and in particular to a method and device for detecting occupant speech, electronic equipment, and a storage medium.
  • Cabin intelligence includes multi-mode interaction, personalized service, safety perception, etc., which is an important direction for the current development of the automotive industry.
  • the multi-mode interaction in the cabin is intended to provide passengers with a comfortable interactive experience.
  • the means of multi-mode interaction include voice recognition, gesture recognition, etc. Among them, speech recognition occupies a significant market share in the field of vehicle interaction.
  • the present disclosure proposes a technical solution for occupant speech detection.
  • a method for detecting occupant speech including: acquiring video streams and sound signals in the cabin; performing face detection on the video stream, and determining that at least one occupant in the cabin is speaking The face area in the video stream; according to the face area of each occupant and the sound signal, determine the target occupant in the cabin that sends out the sound signal.
  • the method further includes: performing content identification on the sound signal, and determining the voice content corresponding to the voice signal; when the voice content includes a preset voice instruction, Execute the control function corresponding to the voice command.
  • executing the control function corresponding to the voice command includes: when the voice command corresponds to a multi-directional In the case of two control functions, according to the face area of the target occupant, determine the gaze direction of the target occupant; according to the gaze direction of the target occupant, determine the target control function from the plurality of control functions ; Execute the target control function.
  • the video stream includes a first video stream of the driver's area; the determining the face area of at least one occupant in the vehicle cabin in the video stream includes: determining the The face area of the driver in the cabin in the first video stream; according to the face area of each occupant and the sound signal, determine the target occupant who sends the sound signal in the cabin , comprising: according to the face area of the driver and the sound signal, determining whether the target occupant who sends out the sound signal in the cabin is the driver.
  • the video stream includes a second video stream of the occupant area; and according to the face area of each occupant and the sound signal, it is determined that the sound is emitted in the cabin
  • the target occupant of the signal includes: for the face area of each occupant, according to the face area and the sound signal, determine whether the target occupant who sends out the sound signal in the cabin is the face The occupant corresponding to the area.
  • the method further includes: determining the seating area of the target occupant according to the video stream; performing content recognition on the sound signal, and determining the voice content corresponding to the sound signal; If the voice content includes a preset voice instruction, according to the seating area of the target occupant, determine an area control function corresponding to the voice instruction; and execute the area control function.
  • the determining the target occupant who sends out the sound signal in the cabin according to the face area of each occupant and the sound signal includes: determining A video frame sequence corresponding to the time period of the sound signal; for the face area of each occupant, perform feature extraction on the occupant's face area in the video frame sequence to obtain the occupant's face area Facial feature; according to the facial feature and the voice feature extracted from the sound signal, determine the fusion feature of the occupant; according to the fusion feature, determine the speech detection result of the occupant; according to the occupant's As a result of the speaking detection, the target occupant who sends out the sound signal is determined.
  • the feature extraction of the face area of the occupant in the sequence of video frames includes: extracting the features of each of the N video frames of the occupant in the sequence of video frames Feature extraction is performed on the face area of one frame to obtain N facial features of the occupant; the voice feature is extracted in the following manner, including: segmenting the sound signal according to the acquisition time of the N video frames and speech feature extraction to obtain N speech features respectively corresponding to the N video frames.
  • the sound signal is segmented and speech features are extracted to obtain N speech features respectively corresponding to the N video frames, Including: segmenting the sound signal according to the acquisition time of the N video frames to obtain N speech frames respectively corresponding to the N video frames, and the nth video frame in the N video frames
  • the collection time is within the time period corresponding to the nth speech frame, where n is an integer and 1 ⁇ n ⁇ N; speech feature extraction is performed on the N speech frames respectively to obtain N speech features.
  • the segmenting the sound signal according to the acquisition time of the N video frames to obtain N speech frames respectively corresponding to the N video frames includes: according to the At the acquisition moment of the N video frames, determine the time window length and the moving step size for dividing the time window of the sound signal, and the moving step size is less than the time window length; for the n speech frame, according to the The moving step, moving the time window, and determining the time period corresponding to the nth voice frame; according to the time period corresponding to the nth voice frame, segmenting the first voice from the sound signal n speech frames.
  • the determining the fusion features of the occupant according to the facial features and the voice features includes: one-to-one correspondence between the N facial features and the N voice features Fusing to obtain N sub-fusion features; splicing the N sub-fusion features to obtain the fusion features of the occupant.
  • an occupant speaking detection device including: a signal acquisition module, used to acquire video streams and sound signals in the cabin; a face detection module, used to perform face detection on the video stream Detecting and determining the face area of at least one occupant in the vehicle cabin in the video stream; the occupant determination module is used to determine the sound signal emitted by the vehicle cabin according to the face area of each occupant and the sound signal. The target occupant of the sound signal.
  • the device further includes: a first identification module, configured to perform content identification on the sound signal, and determine the voice content corresponding to the sound signal; a function execution module, configured to If the voice content includes a preset voice command, the control function corresponding to the voice command is executed.
  • the function execution module is configured to: determine, according to the facial area of the target occupant, the A gaze direction of a target occupant; determining a target control function from the plurality of control functions according to the gaze direction of the target occupant; and executing the target control function.
  • the video stream includes a first video stream of the driver's area; the face detection module is configured to: determine the position of the driver in the cabin in the first video stream Face area; the occupant determination module is used to: determine whether the target occupant who sends out the sound signal in the cabin is the driver according to the driver's face area and the sound signal .
  • the video stream includes a second video stream of an occupant area; the occupant determining module is configured to: for each occupant's face area, according to the face area and the The sound signal is used to determine whether the target occupant who sends out the sound signal in the cabin is the occupant corresponding to the face area.
  • the device further includes: a seating area determining module, configured to determine the seating area of the target occupant according to the video stream; a second identification module, configured to perform Content recognition, determining the voice content corresponding to the sound signal; a function determination module, used to determine the voice command corresponding to the voice command according to the seat area of the target occupant when the voice content includes a preset voice command Corresponding area control function; an area control module, configured to execute the area control function.
  • a seating area determining module configured to determine the seating area of the target occupant according to the video stream
  • a second identification module configured to perform Content recognition, determining the voice content corresponding to the sound signal
  • a function determination module used to determine the voice command corresponding to the voice command according to the seat area of the target occupant when the voice content includes a preset voice command Corresponding area control function
  • an area control module configured to execute the area control function.
  • the occupant determination module is configured to: determine the video frame sequence corresponding to the time period of the sound signal in the video stream; Feature extraction is performed on the face area of the occupant in the video frame sequence to obtain the occupant's facial features; according to the facial features and the voice features extracted from the sound signal, the fusion of the occupant is determined Features; according to the fusion feature, determine the occupant's speech detection result; according to each occupant's speech detection result, determine the target occupant who sends out the sound signal.
  • the occupant determination module performs feature extraction on the face area of the occupant in the video frame sequence, including: extracting the N video frames of the occupant in the video frame sequence The face region of each frame in the feature extraction is carried out to obtain the N face features of the occupant; the voice feature is obtained by extracting the occupant determination module in the following manner: according to the acquisition time of the N video frames, Segmentation and speech feature extraction are performed on the sound signal to obtain N speech features respectively corresponding to the N video frames.
  • the occupant determination module performs segmentation and speech feature extraction on the sound signal according to the acquisition time of the N video frames to obtain N video frames respectively corresponding to the N video frames.
  • Speech features including: segmenting the sound signal according to the acquisition time of the N video frames to obtain N speech frames respectively corresponding to the N video frames, and the nth video frame in the N video frames
  • the acquisition time of the video frame is within the time period corresponding to the nth speech frame, where n is an integer and 1 ⁇ n ⁇ N; performing speech feature extraction on the N speech frames respectively to obtain N speech features.
  • the occupant determining module divides the sound signal according to the acquisition time of the N video frames to obtain N speech frames respectively corresponding to the N video frames, including : according to the acquisition moment of the N video frames, determine the time window length and the moving step size for dividing the time window of the sound signal, the moving step size is less than the time window length; for the nth voice frame , move the time window according to the moving step, and determine the time period corresponding to the nth speech frame; segment the sound signal from the sound signal according to the time period corresponding to the nth speech frame The nth speech frame.
  • the occupant determination module determines the fusion features of the occupant according to the facial features and the voice features, including: combining the N facial features with the N voice features One-to-one correspondence fusion to obtain N sub-fusion features; splicing the N sub-fusion features to obtain the fusion features of the occupant.
  • an electronic device including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to call the instructions stored in the memory to execute the above-mentioned method.
  • a computer-readable storage medium on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the above method is implemented.
  • a computer program including computer readable codes, and when the computer readable codes are run in an electronic device, a processor in the electronic device executes the above method.
  • the video stream and sound signal in the cabin can be obtained; face detection is performed on the video stream to determine the face area of at least one occupant in the cabin in the video stream; according to the face area of each occupant and the sound signal to determine the target occupant who emitted the sound signal from among the various occupants. Judging whether the occupant is speaking according to the face area and the sound signal can improve the accuracy of the occupant's speech detection and reduce the false alarm rate of speech recognition.
  • FIG. 1 shows a flowchart of a method for detecting occupant speaking according to an embodiment of the present disclosure.
  • FIG. 2 shows a schematic diagram of a speaking detection process of an embodiment of the present disclosure.
  • Fig. 3 shows a block diagram of an occupant speaking detection device according to an embodiment of the present disclosure.
  • Fig. 4 shows a block diagram of an electronic device according to an embodiment of the present disclosure.
  • Fig. 5 shows a block diagram of an electronic device according to an embodiment of the present disclosure.
  • the voice detection function In vehicle voice interaction, the voice detection function usually runs in real time in the vehicle, and the false alarm rate of the voice detection function needs to be kept at a very low level.
  • a signal detection method based on pure voice is usually used, and it is difficult to suppress voice false alarms, resulting in a high false alarm rate and poor user interaction experience.
  • the video image and the sound signal can be multimodally fused, and the occupant in the speaking state in the cabin can be identified, thereby improving the accuracy of occupant speech detection and reducing false positives in speech recognition rate and improve user interaction experience.
  • the object speaking detection method may be performed by electronic equipment such as a terminal device or a server, and the terminal device may be a vehicle-mounted device, a user equipment (User Equipment, UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone , a personal digital assistant (Personal Digital Assistant, PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc.
  • the method can be implemented by calling a computer-readable instruction stored in a memory by a processor.
  • the on-board device can be the car machine, domain controller or processor in the cabin, and can also be used in DMS (Driver Monitor System, driver detection system) or OMS (Occupant Monitoring System, occupant detection system) to execute image processing.
  • Device hosts for data processing operations, etc.
  • Fig. 1 shows a flow chart of a method for detecting occupant speaking according to an embodiment of the present disclosure.
  • the method for detecting occupant speaking includes:
  • step S11 the video stream and sound signal in the cabin are obtained
  • step S12 face detection is performed on the video stream to determine the face area of at least one occupant in the cabin in the video stream;
  • step S13 according to the face area of each occupant and the sound signal, the target occupant in the cabin who sends out the sound signal is determined.
  • embodiments of the present disclosure may be applied to any type of vehicle, such as passenger cars, taxis, shared cars, buses, freight vehicles, subways, trains, and the like.
  • the video stream in the vehicle cabin may be collected through the vehicle camera, and the sound signal may be collected through the vehicle microphone.
  • the vehicle-mounted camera can be any camera installed in the vehicle, the number can be one or more, and the type can be DMS camera, OMS camera, common camera, etc.
  • the vehicle-mounted microphone can also be arranged at any position in the vehicle, and the number can be one or more. The present disclosure does not limit the location, quantity and type of the vehicle-mounted camera and the vehicle-mounted microphone.
  • step S12 face detection may be performed on the video stream.
  • the face detection can be directly performed on the video frame sequence of the video stream to determine the face frame in each video frame; the video frame sequence of the video stream can also be sampled, and the face detection is performed on the sampled video frames to determine the face frame after sampling.
  • the face frame in each video frame of the present disclosure does not limit the specific processing manner.
  • the face frame in each video frame can be tracked to determine the face frame of the occupant belonging to the same identity, so as to determine the face of at least one occupant in the cabin in the video stream area.
  • the method of face detection can be, for example, facial key point recognition, face contour detection, etc.; .
  • face detection and tracking can be implemented in any manner in the related art, which is not limited in the present disclosure.
  • each occupant there may be faces of one or more occupants (such as the driver and/or passengers) in the video frame of the video stream, and after the processing in step S12, the face area of each occupant can be obtained.
  • each occupant can be analyzed separately to determine whether the occupant is talking.
  • the face area of the occupant in N video frames of the video stream may be determined, where N is an integer greater than 1. That is, N video frames corresponding to a certain duration (for example, 2s) are selected from the video stream.
  • the N video frames may be the latest N video frames collected in the video stream.
  • N may be, for example, 10, 15, 20, etc., which is not limited in the present disclosure.
  • the sound signal of the time period corresponding to N video frames can be determined, for example, the time period corresponding to N video frames is the latest 2s (2s ago-now), and the sound signal is also the most recent 2s sound signal.
  • the image and sound signals of the occupant in the face area of N video frames can be directly input into the preset speech detection network for processing, and the occupant's speech detection result is output, that is, the The occupant is either speaking or not speaking.
  • feature extraction can also be performed on the image of the occupant's face area in N video frames to obtain face features; sound feature extraction is performed on the sound signal to obtain sound features; And the input voice feature is processed in the preset speech detection network, and the speech detection result of the occupant is output.
  • the present disclosure does not limit the specific processing manner.
  • each occupant can be separately detected for speaking, to determine the result of each occupant's speaking detection; target occupant.
  • the video stream and sound signal in the cabin it is possible to obtain the video stream and sound signal in the cabin; perform face detection on the video stream to determine the face area of at least one occupant in the cabin in the video stream; according to the face area of each occupant and the sound signal to determine the target occupant who emitted the sound signal from among the various occupants. Judging whether the occupant is speaking according to the face area and the sound signal can improve the accuracy of the occupant's speech detection and reduce the false alarm rate of speech recognition.
  • step S11 the video stream in the cabin collected by the vehicle camera and the sound signal collected by the vehicle microphone can be obtained.
  • the vehicle-mounted camera may include a DMS camera for a driver detection system, and/or an OMS camera for an occupant detection system.
  • the video stream collected by the DMS camera is the video stream of the driver's area (called the first video stream), and the video stream collected by the OMS camera is the video stream of the occupant area in the cabin (called the second video stream).
  • the video stream acquired in step S11 may include the first video stream and/or the second video stream.
  • the video stream includes a first video stream of the driver's area; in step S12, determining the face area of at least one occupant in the cabin in the video stream includes:
  • step S13 may include: according to the face area of the driver and the sound signal, determining whether the target occupant who sends out the sound signal in the cabin is the driver.
  • the first video stream corresponds to the driver area, which only includes the driver.
  • a plurality of video frames (referred to as the first video frame) of the first video stream can be obtained, face detection and tracking are performed on each first video frame in the plurality of first video frames, and the driver's face is obtained.
  • the face area in each first video frame is obtained.
  • the driver's speech detection can be performed to determine whether the driver is talking, so as to determine whether the target occupant who emits the sound signal in the cabin is the driver . That is, if it is determined that the driver is speaking, it can be determined that the target occupant who sends out the sound signal is the driver; otherwise, if it is determined that the driver is not speaking, it can be determined that the target occupant who sends out the sound signal is not the driver.
  • subsequent processing may be performed according to whether the target occupant who sends out the sound signal in the vehicle cabin is the driver. For example, if the target occupant who sends out the sound signal is the driver, the voice recognition function can be activated to respond to the sound signal; otherwise, if the target occupant who sends out the sound signal is not the driver, then the sound signal can not be responded to.
  • the present disclosure does not limit the way of subsequent processing.
  • the video stream includes a second video stream of the occupant area.
  • step S13 may include:
  • the second video frame corresponds to the occupant area in the vehicle cabin, including the driver and/or passengers.
  • a plurality of video frames (referred to as second video frames) can be obtained from the second video stream, and face detection is performed on each second video frame in the plurality of second video frames and tracking to obtain the face area of each occupant in the cabin in each second video frame.
  • the face area at the lower right position in the second video frame can be determined as the driver's face area; it will be at the lower left position in the second video frame is determined as the face area of the co-pilot passenger.
  • the present disclosure does not limit the specific manner of determining each occupant.
  • the occupant's speech detection can be performed to determine whether the occupant is speaking, so as to determine whether the occupant is speaking. Whether the target occupant of the sound signal is this occupant. That is, if it is determined that the occupant is speaking, it can be determined that the target occupant who sends out the sound signal is the occupant corresponding to the face area; The occupant corresponding to the face area.
  • subsequent processing may be performed according to the identity of the target occupant who sends out the sound signal in the vehicle cabin. For example, if the target occupant who sends the sound signal is the driver, the voice recognition function can be activated to respond to the sound signal; if the target occupant who sends the sound signal is a passenger, and the passenger has no control authority, the sound signal can not be responded ; If the target occupant who sends out the sound signal is a passenger, and the passenger has control authority, the voice recognition function can also be activated to respond to the sound signal.
  • the present disclosure does not limit the way of subsequent processing.
  • step S13 may include:
  • the target occupant who sends out the sound signal is determined.
  • a certain duration may be preset, and speaking detection is performed within the duration.
  • the duration can be set as 1s, 2s or 3s, for example, which is not limited in the present disclosure.
  • feature extraction may be performed on the sound signal to obtain speech features, and then the facial features of each occupant detected from the video stream are fused with the speech features to obtain fusion features.
  • the sound signal of the duration may be selected from the sound signals collected by the vehicle-mounted microphone, and the video frame sequence corresponding to the time period of the sound signal is determined from the video stream.
  • the time period of the sound signal is, for example, the latest 2s (2s ago-now), and the video frame sequence also includes multiple video frames of the latest 2s (set as N video frames, N>1).
  • the image of the occupant's face area in the video frame sequence may be determined, and feature extraction is performed on the images of each face area to obtain N facial features of the occupant.
  • the manner of feature extraction may be, for example, face key point extraction, face contour extraction, etc., which is not limited in the present disclosure.
  • N video frames in which the face area appears in the video can be determined, and the voice in the time period corresponding to the N video frames
  • feature extraction can be performed on the occupant's face area in the video frame sequence in the following manner to obtain the occupant's facial features: for the occupant in the video frame
  • Feature extraction is performed on the face area of each frame in the sequence of N video frames to obtain N face features of the occupant.
  • facial features and speech features can be "aligned" in time, thereby improving the accuracy of speech detection results.
  • Face frame sequence (M ⁇ 1) that is, each occupant corresponds to a face frame sequence.
  • T is an arbitrary moment
  • the value of k is 1s, 2s, or 3s, etc., and the value of k is not limited in the present disclosure.
  • the occupant's face area is denoted as In-face-i.
  • the face area In-face-i can be input into the face feature extraction network MFaceNet to extract features, and the feature map In-Featuremap-i is obtained, which is the nth face feature of the i-th occupant.
  • the feature dimension of the face feature is (c, h, w), and c, h, and w represent the number of channels, height, and width, respectively.
  • the face feature extraction network MFaceNet may be a convolutional neural network, for example, the face feature extraction network MFaceNet is obtained by removing the key point head (head) part from the face key point detection model.
  • the present disclosure does not limit the network structure of the face feature extraction network.
  • the step of performing speech feature extraction on the sound signal to obtain the speech feature may include: performing segmentation and speech feature extraction on the sound signal according to the acquisition time of the N video frames, N speech features respectively corresponding to the N video frames are obtained.
  • the audio signal can be segmented to obtain N speech frames respectively corresponding to the N video frames; and then speech feature extraction is performed on each of the N speech frames to obtain N speech features.
  • the sound signal is segmented and the speech features are extracted to obtain the N speech features respectively corresponding to the N video frames.
  • steps which may include:
  • the sound signal is segmented to obtain N speech frames respectively corresponding to the N video frames, and the acquisition moment of the nth video frame in the N video frames In the time period corresponding to the nth speech frame, 1 ⁇ n ⁇ N;
  • the first and last silences may be cut off to reduce interference. Then the sound signal is divided into frames, that is, the sound is divided into small segments, and each segment is called a speech frame.
  • the time period of each audio frame corresponds to the acquisition time of the video frame, that is, the acquisition time of the nth video frame is within the time period corresponding to the nth audio frame.
  • the step of segmenting the sound signal according to the acquisition time of the N video frames to obtain N speech frames respectively corresponding to the N video frames includes:
  • nth speech frame For the nth speech frame, according to the moving step, move the time window, and determine the time period corresponding to the nth speech frame;
  • the segmentation of the sound signal can be realized by moving the window function.
  • the time window length and the moving step of the time window of the moving window function may be determined, wherein the moving step is smaller than the time window. For example, if the time interval between the acquisition moments of adjacent video frames in N video frames is 50ms (that is, the frame rate of video frames is 20 frames/s), then the moving step can be set to 50ms, and the time window length can be set to 60ms, in this case, the overlap between adjacent speech frames is 10ms.
  • the present disclosure does not limit the specific values of the time window length and the moving step size.
  • the time period corresponding to the time window can be used as the time period corresponding to the first speech frame, for example, T ⁇ T+ 60ms; for the second voice frame, you can move the time window according to the moving step, and use the time period corresponding to the time window as the time period corresponding to the second voice frame, for example, T+50ms ⁇ T+110ms ;
  • the time period corresponding to the nth speech frame can be determined according to the moving step and the moving time window. In this way, the time periods corresponding to the N voice frames can be respectively determined.
  • the nth speech frame may be segmented from the sound signal. After dividing according to the time segments of the N speech frames, N speech frames can be obtained, which are denoted as A1, A2, . . . , AN.
  • the voice feature extraction can be performed on the voice frame, and the voice frame can be transformed into c-dimensional information containing sound information, for example, by means of MFCC (Mel-Frequency Cepstral Coefficients, Mel cepstral coefficients) transformation.
  • MFCC Mel-Frequency Cepstral Coefficients, Mel cepstral coefficients
  • Vector the c-dimensional vector is used as a speech feature, which is recorded as An-feature.
  • the length c of speech features is the same as the number of channels of face features.
  • N voice features can be obtained by processing N voice frames respectively. It should be understood that other methods may also be used to extract speech features from speech frames, which is not limited in the present disclosure.
  • the facial features and voice features may be fused.
  • the step of determining the fusion feature of the occupant may include:
  • the N facial features and the N voice features are fused one-to-one to obtain N sub-fusion features;
  • the N sub-fusion features are spliced to obtain the fusion features of the occupant.
  • the nth face feature In-featuremap-i of the occupant i can be fused with the nth voice feature
  • An-feature for example, the voice feature (c-dimensional vector) is used to compare the face feature (feature dimension is (c , h, w)) for each position to obtain the nth sub-fusion feature, denoted as Fusionfeature-n(c, h, w).
  • Fusionfeature-n(c, h, w) the nth sub-fusion feature.
  • the N sub-fusion features can be spliced to obtain the fusion feature of the occupant i, which is recorded as video-fusionfeature.
  • the fusion of the two at the neural network level can significantly reduce the false positive rate of speech detection; and, compared to logical fusion at the upper layer, Fusion at the neural network level can improve the robustness of speech detection.
  • the speech detection result of the occupant i may be determined.
  • a speech detection network may be preset, and the fusion feature is input into the speech detection network for processing, and the speech detection result of the occupant i is output.
  • the speaking detection network may be, for example, a convolutional neural network, including multiple fully connected layers (for example, three layers of fully connected layers), a softmax layer, etc., for performing binary classification on fusion features.
  • the fusion feature is input into the fully connected layer of the speaking detection network, and two-dimensional output can be obtained, corresponding to the speaking state and other states; after being processed by the softmax layer, a normalized score (score) or confidence degree is obtained.
  • a preset threshold (for example, set to 0.8) may be set for the score or confidence level of the speaking state. If the preset threshold is exceeded, it is determined that the occupant i is in a speaking state; otherwise, it is determined that the occupant i is in a non-speaking state.
  • the present disclosure does not limit the network structure, training method and specific value of the preset threshold of the speaking detection network.
  • FIG. 2 shows a schematic diagram of a speaking detection process according to an embodiment of the present disclosure.
  • N video frame 1, video frame 2, ..., video frame N
  • face detection can be performed on the N video frames respectively, and it is determined that the occupant i is in the N video frames
  • the face area of the occupant i is extracted from the face areas of N video frames respectively to obtain N face features
  • voice frame 1, voice frame 2, ..., Speech frame N MFCC transformation can be performed on N speech frames respectively, and N speech features can be extracted
  • N face features and N speech features can be fused one by one by dot multiplication, and N sub-fusion features can be obtained: Fusion feature 1, sub-fusion feature 2, ..., sub-fusion feature N; splice the N sub-fusion features to obtain the fusion feature of the occupant i; input the fusion feature into the speech detection network for processing, and input the speech detection result of the occupant i , that is, the occupant i is speaking or not speaking.
  • the above processing is performed on each occupant to obtain the speech detection result of each occupant; furthermore, the target occupant who sends out the sound signal can be determined according to the speech detection result of each occupant, so as to determine the person who sent the sound signal Which occupant is the target occupant to improve the accuracy of occupant speech detection.
  • the occupant speaking detection method according to the embodiment of the present disclosure may further include:
  • the voice content includes a preset voice command
  • a control function corresponding to the voice command is executed.
  • the voice recognition function can be activated to identify the content of the sound signal and determine the voice content corresponding to the voice signal.
  • various voice commands may be preset. If the recognized voice content includes a preset voice command, the control function corresponding to the voice command can be executed. For example, if the recognition of the voice content includes the voice command "play music", it can control the car's music player to play music; if the recognition of the voice content includes the voice command "open the left window", it can control the opening of the left window.
  • the voice interaction with the occupants in the vehicle can be realized, so that the user can realize various control functions through voice, which improves the convenience of the user and improves the user experience.
  • the step of executing the control function corresponding to the voice command may include:
  • the voice command corresponds to multiple control functions with directional properties, determine the gaze direction of the target occupant according to the face area of the target occupant;
  • a voice command may correspond to multiple control functions with directionality.
  • the voice command "open the window” may correspond to the windows in both directions of left and right, and multiple control functions include “open the window on the left”. side window” and “open the right window”; it can also correspond to the windows in the four directions of left front, left rear, right front and right rear.
  • the multiple control functions include "open the left front window”, “ Open the front right window”, “Open the rear left window”, “Open the rear right window”.
  • the corresponding control function can be determined in conjunction with image recognition.
  • the gaze direction of the target occupant may be determined according to the face areas of the target occupant in N video frames.
  • feature extraction can be performed on the images of the face areas of the target occupant in the N video frames respectively to obtain the face features of the target occupant in the N video frames; the N facial features are fused , to obtain the face fusion features of the target occupant; input the face fusion features into the preset gaze direction recognition network for processing, and obtain the gaze direction of the target occupant, that is, the direction of sight of the eyes of the target occupant.
  • the gaze direction recognition network may be, for example, a convolutional neural network, including a convolutional layer, a fully connected layer, a softmax layer, and the like.
  • the disclosure does not limit the network structure and training method of the gaze direction recognition network.
  • the target control function may be determined from multiple control functions according to the gaze direction of the target occupant. For example, if the voice command is "open the window", and it is determined that the gaze direction of the target occupant is facing the right, then the target control function may be determined as "open the window on the right". In turn, targeted control functions can be performed, such as opening the right-hand window.
  • the identities of the occupants may not be distinguished, that is, if it is determined that there is a target occupant speaking, voice recognition is activated and a corresponding control function is executed. It is also possible to distinguish the identity of the target occupant, for example, it only responds to the driver's voice, and performs voice recognition when it is judged that the driver is speaking, but does not respond to the passenger's voice; or according to the seat area where the passenger is located, when it is judged that the passenger is speaking Perform voice recognition, and perform zone control functions for the passenger's seat zone, etc.
  • the occupant speaking detection method according to the embodiment of the present disclosure may further include:
  • the voice content includes a preset voice command
  • the video stream includes a first video stream of the driver area, and/or a second video stream of the occupant area in the cabin, and the target occupants may include the driver and/or occupants.
  • the target occupant can be directly determined to be the driver, and the seat area of the target occupant is the driver area .
  • the target occupant who sends out the sound signal has been determined in step S13, according to the position of the face area of the target occupant in the video frame of the second video stream, Determine the seating area of the passenger, such as the co-pilot area, left rear seat area, right rear seat area, etc.
  • the driver's area is at the left front of the cabin, if the face area of the target occupant is at the lower left position in the video frame, it can be determined that the seat area of the target occupant is the co-pilot area.
  • the speech recognition function can be activated to perform content recognition on the sound signal to determine the speech content corresponding to the sound signal.
  • the implementation manner of the content identification is not limited.
  • various voice commands may be preset. If the recognized voice content includes a preset voice command, the area control function corresponding to the voice command may be determined according to the seating area of the target occupant. For example, if it is recognized that the voice content includes the voice command "open the window", and the seat area of the target occupant is the left rear seat area, then it can be determined that the corresponding area control function is "open the left rear window". In turn, this area control function can be performed, for example controlling the opening of the left rear side window.
  • the video stream and sound signal in the cabin can be obtained; face detection is performed on the video stream to determine the face area of at least one occupant in the cabin in the video stream; according to each Occupant face area and sound signal, determine the target occupant who emits the sound signal from among the various occupants. Judging whether the occupant is speaking according to the face area and the sound signal can improve the accuracy of occupant speech detection and reduce the false alarm rate of speech recognition
  • the multi-modal fusion of video images and sound signals is performed at the neural network level, which can greatly reduce the sound interference caused by non-human voice sources, and significantly reduce speech detection errors. Report rate; and, compared to logic fusion at the upper layer, fusion at the neural network level can improve the robustness of speech detection.
  • the occupant speech detection method according to the embodiments of the present disclosure can be applied to an intelligent cabin perception system, effectively avoiding false alarms caused by purely relying on voice signals, ensuring that voice recognition can be normally triggered, and improving user interaction experience.
  • the present disclosure also provides an occupant speech detection device, electronic equipment, a computer-readable storage medium, and a program, all of which can be used to implement any of the occupant speech detection methods provided in the present disclosure, and refer to the corresponding technical solutions and descriptions in the method section Corresponding records are not repeated here.
  • Fig. 3 shows a block diagram of an occupant speaking detection device according to an embodiment of the present disclosure. As shown in Fig. 3, the device includes:
  • Signal acquiring module 31 for acquiring video stream and sound signal in the cabin
  • a face detection module 32 configured to perform face detection on the video stream, to determine the face area of at least one occupant in the cabin in the video stream;
  • the occupant determining module 33 is configured to determine the target occupant in the cabin who sends out the sound signal according to the face area of each occupant and the sound signal.
  • the device further includes: a first identification module, configured to perform content identification on the sound signal, and determine the voice content corresponding to the sound signal; a function execution module, configured to If the voice content includes a preset voice command, the control function corresponding to the voice command is executed.
  • the function execution module is configured to: determine, according to the facial area of the target occupant, the A gaze direction of a target occupant; determining a target control function from the plurality of control functions according to the gaze direction of the target occupant; and executing the target control function.
  • the video stream includes a first video stream of the driver's area
  • the face detection module is used to: determine the face area of the driver in the cabin in the first video stream;
  • the occupant determination module is configured to: determine whether the target occupant in the vehicle cabin who sends out the sound signal is the driver according to the face area of the driver and the sound signal.
  • the video stream includes a second video stream of the occupant area
  • the occupant determining module is used for: for each occupant's face area, according to the human face area and the sound signal, determine whether the target occupant who sends out the sound signal in the cabin is the person occupant corresponding to the face area.
  • the device further includes:
  • the seat area determination module is used to determine the seat area of the target occupant according to the video stream; the second identification module is used to perform content identification on the sound signal and determine the voice content corresponding to the sound signal; function A determining module, configured to determine an area control function corresponding to the voice instruction according to the seating area of the target occupant when the voice content includes a preset voice instruction; an area control module, configured to execute the Zone control function.
  • the occupant determination module is used for:
  • the speech feature extracted from the signal is used to determine the fusion feature of the occupant; according to the fusion feature, the speech detection result of the occupant is determined;
  • the target occupant who sends out the sound signal is determined.
  • the occupant determination module performs feature extraction on the face area of the occupant in the video frame sequence, including: extracting the N video frames of the occupant in the video frame sequence The face area of each frame in is carried out feature extraction, obtains the N face feature of described occupant;
  • the voice feature is extracted by the occupant determination module in the following manner: according to the acquisition time of the N video frames, the voice signal is segmented and the voice feature is extracted to obtain the voice signals corresponding to the N video frames respectively. N voice features.
  • the occupant determination module performs segmentation and speech feature extraction on the sound signal according to the acquisition time of the N video frames to obtain N video frames respectively corresponding to the N video frames.
  • Speech features including: segmenting the sound signal according to the acquisition time of the N video frames to obtain N speech frames respectively corresponding to the N video frames, and the nth video frame in the N video frames
  • the acquisition time of the video frame is within the time period corresponding to the nth speech frame, where n is an integer and 1 ⁇ n ⁇ N; performing speech feature extraction on the N speech frames respectively to obtain N speech features.
  • the occupant determining module divides the sound signal according to the acquisition time of the N video frames to obtain N speech frames respectively corresponding to the N video frames, including : according to the acquisition moment of the N video frames, determine the time window length and the moving step size for dividing the time window of the sound signal, the moving step size is less than the time window length; for the nth voice frame , move the time window according to the moving step, and determine the time period corresponding to the nth speech frame; segment the sound signal from the sound signal according to the time period corresponding to the nth speech frame The nth speech frame.
  • the occupant determination module determines the fusion features of the occupant according to the facial features and the voice features, including: combining the N facial features with the N voice features One-to-one correspondence fusion to obtain N sub-fusion features; splicing the N sub-fusion features to obtain the fusion features of the occupant.
  • the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the methods described in the method embodiments above, and its specific implementation can refer to the description of the method embodiments above. For brevity, here No longer.
  • Embodiments of the present disclosure also provide a computer-readable storage medium, on which computer program instructions are stored, and the above-mentioned method is implemented when the computer program instructions are executed by a processor.
  • Computer readable storage media may be volatile or nonvolatile computer readable storage media.
  • An embodiment of the present disclosure also proposes an electronic device, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to invoke the instructions stored in the memory to execute the above method.
  • An embodiment of the present disclosure also provides a computer program product, including computer-readable codes, or a non-volatile computer-readable storage medium carrying computer-readable codes, when the computer-readable codes are stored in a processor of an electronic device When running in the electronic device, the processor in the electronic device executes the above method.
  • An embodiment of the present disclosure also provides a computer program, including computer readable codes, and when the computer readable codes are run in an electronic device, a processor in the electronic device executes the above method.
  • Electronic devices may be provided as terminals, servers, or other forms of devices.
  • FIG. 4 shows a block diagram of an electronic device 800 according to an embodiment of the present disclosure.
  • the electronic device 800 may be a terminal such as a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, or a personal digital assistant.
  • electronic device 800 may include one or more of the following components: processing component 802, memory 804, power supply component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814 , and the communication component 816.
  • the processing component 802 generally controls the overall operations of the electronic device 800, such as those associated with display, telephone calls, data communications, camera operations, and recording operations.
  • the processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 802 may include one or more modules that facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802 .
  • the memory 804 is configured to store various types of data to support operations at the electronic device 800 . Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and the like.
  • the memory 804 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read-only memory
  • EPROM erasable Programmable Read Only Memory
  • PROM Programmable Read Only Memory
  • ROM Read Only Memory
  • Magnetic Memory Flash Memory
  • Magnetic or Optical Disk Magnetic Disk
  • the power supply component 806 provides power to various components of the electronic device 800 .
  • Power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for electronic device 800 .
  • the multimedia component 808 includes a screen providing an output interface between the electronic device 800 and the user.
  • the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user.
  • the touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action.
  • the multimedia component 808 includes a front camera and/or a rear camera. When the electronic device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.
  • the audio component 810 is configured to output and/or input audio signals.
  • the audio component 810 includes a microphone (MIC), which is configured to receive external audio signals when the electronic device 800 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 804 or sent via communication component 816 .
  • the audio component 810 also includes a speaker for outputting audio signals.
  • the I/O interface 812 provides an interface between the processing component 802 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.
  • Sensor assembly 814 includes one or more sensors for providing status assessments of various aspects of electronic device 800 .
  • the sensor component 814 can detect the open/closed state of the electronic device 800, the relative positioning of components, such as the display and the keypad of the electronic device 800, the sensor component 814 can also detect the electronic device 800 or a Changes in position of components, presence or absence of user contact with electronic device 800 , electronic device 800 orientation or acceleration/deceleration and temperature changes in electronic device 800 .
  • Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact.
  • Sensor assembly 814 may also include an optical sensor, such as a complementary metal-oxide-semiconductor (CMOS) or charge-coupled device (CCD) image sensor, for use in imaging applications.
  • CMOS complementary metal-oxide-semiconductor
  • CCD charge-coupled device
  • the sensor component 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
  • the communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices.
  • the electronic device 800 can access a wireless network based on a communication standard, such as a wireless network (WiFi), a second generation mobile communication technology (2G) or a third generation mobile communication technology (3G), or a combination thereof.
  • the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel.
  • the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication.
  • the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
  • RFID Radio Frequency Identification
  • IrDA Infrared Data Association
  • UWB Ultra Wide Band
  • Bluetooth Bluetooth
  • electronic device 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A programmable gate array
  • controller microcontroller, microprocessor or other electronic component implementation for performing the methods described above.
  • a non-volatile computer-readable storage medium such as the memory 804 including computer program instructions, which can be executed by the processor 820 of the electronic device 800 to implement the above method.
  • FIG. 5 shows a block diagram of an electronic device 1900 according to an embodiment of the present disclosure.
  • electronic device 1900 may be provided as a server.
  • electronic device 1900 includes processing component 1922 , which further includes one or more processors, and a memory resource represented by memory 1932 for storing instructions executable by processing component 1922 , such as application programs.
  • the application programs stored in memory 1932 may include one or more modules each corresponding to a set of instructions.
  • the processing component 1922 is configured to execute instructions to perform the above method.
  • Electronic device 1900 may also include a power supply component 1926 configured to perform power management of electronic device 1900, a wired or wireless network interface 1950 configured to connect electronic device 1900 to a network, and an input-output (I/O) interface 1958 .
  • the electronic device 1900 can operate based on the operating system stored in the memory 1932, such as the Microsoft server operating system (Windows Server TM ), the graphical user interface-based operating system (Mac OS X TM ) introduced by Apple Inc., and the multi-user and multi-process computer operating system (Unix TM ), a free and open-source Unix-like operating system (Linux TM ), an open-source Unix-like operating system (FreeBSD TM ), or the like.
  • Microsoft server operating system Windows Server TM
  • Mac OS X TM graphical user interface-based operating system
  • Unix TM multi-user and multi-process computer operating system
  • Linux TM free and open-source Unix-like operating system
  • FreeBSD TM open-source Unix-like operating system
  • a non-transitory computer-readable storage medium such as the memory 1932 including computer program instructions, which can be executed by the processing component 1922 of the electronic device 1900 to implement the above method.
  • the present disclosure can be a system, method and/or computer program product.
  • a computer program product may include a computer readable storage medium having computer readable program instructions thereon for causing a processor to implement various aspects of the present disclosure.
  • a computer readable storage medium may be a tangible device that can retain and store instructions for use by an instruction execution device.
  • a computer readable storage medium may be, for example, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
  • Computer-readable storage media include: portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or flash memory), static random access memory (SRAM), compact disc read only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanically encoded device, such as a printer with instructions stored thereon A hole card or a raised structure in a groove, and any suitable combination of the above.
  • RAM random access memory
  • ROM read-only memory
  • EPROM erasable programmable read-only memory
  • flash memory static random access memory
  • SRAM static random access memory
  • CD-ROM compact disc read only memory
  • DVD digital versatile disc
  • memory stick floppy disk
  • mechanically encoded device such as a printer with instructions stored thereon
  • a hole card or a raised structure in a groove and any suitable combination of the above.
  • computer-readable storage media are not to be construed as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., pulses of light through fiber optic cables), or transmitted electrical signals.
  • Computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or downloaded to an external computer or external storage device over a network, such as the Internet, a local area network, a wide area network, and/or a wireless network.
  • the network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers.
  • a network adapter card or a network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing/processing device .
  • Computer program instructions for performing the operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or Source or object code written in any combination, including object-oriented programming languages—such as Smalltalk, C++, etc., and conventional procedural programming languages—such as the “C” language or similar programming languages.
  • Computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server implement.
  • the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as via the Internet using an Internet service provider). connect).
  • LAN local area network
  • WAN wide area network
  • an electronic circuit such as a programmable logic circuit, field programmable gate array (FPGA), or programmable logic array (PLA)
  • FPGA field programmable gate array
  • PDA programmable logic array
  • These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine such that when executed by the processor of the computer or other programmable data processing apparatus , producing an apparatus for realizing the functions/actions specified in one or more blocks in the flowchart and/or block diagram.
  • These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause computers, programmable data processing devices and/or other devices to work in a specific way, so that the computer-readable medium storing instructions includes An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks in flowcharts and/or block diagrams.
  • each block in a flowchart or block diagram may represent a module, a portion of a program segment, or an instruction that includes one or more Executable instructions.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified function or action , or may be implemented by a combination of dedicated hardware and computer instructions.
  • the computer program product can be specifically realized by means of hardware, software or a combination thereof.
  • the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK) etc. Wait.
  • a software development kit Software Development Kit, SDK

Abstract

A passenger speaking detection method and apparatus, and an electronic device and a storage medium. The method comprises: acquiring a video stream and a sound signal in a vehicle cabin (S11); performing facial detection on the video stream, and determining a facial area, in the video stream, of at least one passenger in the vehicle cabin (S12); and according to the facial area of the at least one passenger and the sound signal, determining a target passenger in the vehicle cabin that produces the sound signal (S13).

Description

乘员说话检测方法及装置、电子设备和存储介质Passenger speech detection method and device, electronic equipment and storage medium
本公开要求在2021年6月30日提交中国专利局、申请号为202110738677.5、申请名称为“乘员说话检测方法及装置、电子设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。This disclosure claims the priority of the Chinese patent application with the application number 202110738677.5 and the application title "Occupant Speech Detection Method and Device, Electronic Equipment and Storage Medium" submitted to the China Patent Office on June 30, 2021, the entire contents of which are incorporated by reference incorporated in this disclosure.
技术领域technical field
本公开涉及计算机技术领域,尤其涉及一种乘员说话检测方法及装置、电子设备和存储介质。The present disclosure relates to the field of computer technology, and in particular to a method and device for detecting occupant speech, electronic equipment, and a storage medium.
背景技术Background technique
车舱智能化包括多模交互,个性化服务,安全感知等方面的智能化,是当前汽车行业发展的重要方向。车舱多模交互意在为乘客提供舒适的交互体验,多模交互的手段包括语音识别、手势识别等。其中,语音识别在车载交互领域占有重大的市场份额。Cabin intelligence includes multi-mode interaction, personalized service, safety perception, etc., which is an important direction for the current development of the automotive industry. The multi-mode interaction in the cabin is intended to provide passengers with a comfortable interactive experience. The means of multi-mode interaction include voice recognition, gesture recognition, etc. Among them, speech recognition occupies a significant market share in the field of vehicle interaction.
然而,车舱内存在多处声源,如音响、开车产生的噪音、车舱外噪音等,对语音识别造成了非常强的干扰。However, there are multiple sound sources in the cabin, such as audio, driving noise, noise outside the cabin, etc., which have caused very strong interference to speech recognition.
发明内容Contents of the invention
本公开提出了一种乘员说话检测技术方案。The present disclosure proposes a technical solution for occupant speech detection.
根据本公开的一方面,提供了一种乘员说话检测方法,包括:获取车舱内的视频流和声音信号;对所述视频流进行人脸检测,确定车舱内的至少一个乘员在所述视频流中的人脸区域;根据各个乘员的所述人脸区域,以及所述声音信号,确定所述车舱内发出所述声音信号的目标乘员。According to an aspect of the present disclosure, a method for detecting occupant speech is provided, including: acquiring video streams and sound signals in the cabin; performing face detection on the video stream, and determining that at least one occupant in the cabin is speaking The face area in the video stream; according to the face area of each occupant and the sound signal, determine the target occupant in the cabin that sends out the sound signal.
在一种可能的实现方式中,所述方法还包括:对所述声音信号进行内容识别,确定与所述声音信号对应的语音内容;在所述语音内容包括预设的语音指令的情况下,执行与所述语音指令对应的控制功能。In a possible implementation manner, the method further includes: performing content identification on the sound signal, and determining the voice content corresponding to the voice signal; when the voice content includes a preset voice instruction, Execute the control function corresponding to the voice command.
在一种可能的实现方式中,所述在所述语音内容包括预设的语音指令的情况下,执行与所述语音指令对应的控制功能,包括:在所述语音指令对应具有方向性的多个控制功能的情况下,根据所述目标乘员的所述人脸区域,确定所述目标乘员的注视方向;根据所述目标乘员的注视方向,从所述多个控制功能中确定出目标控制功能;执行所述目标控制功能。In a possible implementation manner, when the voice content includes a preset voice command, executing the control function corresponding to the voice command includes: when the voice command corresponds to a multi-directional In the case of two control functions, according to the face area of the target occupant, determine the gaze direction of the target occupant; according to the gaze direction of the target occupant, determine the target control function from the plurality of control functions ; Execute the target control function.
在一种可能的实现方式中,所述视频流包括驾驶员区域的第一视频流;所述确定车舱内的至少一个乘员在所述视频流中的人脸区域,包括:确定所述车舱内的驾驶员在所述第一视频流中的人脸区域;所述根据各个乘员的所述人脸区域,以及所述声音信号,确定所述车舱内发出所述声音信号的目标乘员,包括:根据所述驾驶员的所述人脸区域,以及所述声音信号,确定所述车舱内发出所述声音信号的目标乘员是否为所述驾驶员。In a possible implementation manner, the video stream includes a first video stream of the driver's area; the determining the face area of at least one occupant in the vehicle cabin in the video stream includes: determining the The face area of the driver in the cabin in the first video stream; according to the face area of each occupant and the sound signal, determine the target occupant who sends the sound signal in the cabin , comprising: according to the face area of the driver and the sound signal, determining whether the target occupant who sends out the sound signal in the cabin is the driver.
在一种可能的实现方式中,所述视频流包括乘员区域的第二视频流;所述根据各个乘员的所述人脸区域,以及所述声音信号,确定所述车舱内发出所述声音信号的目标乘员,包括:针对每一个所述乘员的人脸区域,根据所述人脸区域和所述声音信号,确定所述车舱内发出所述声音信号的目标乘员是否为所述人脸区域对应的乘员。In a possible implementation manner, the video stream includes a second video stream of the occupant area; and according to the face area of each occupant and the sound signal, it is determined that the sound is emitted in the cabin The target occupant of the signal includes: for the face area of each occupant, according to the face area and the sound signal, determine whether the target occupant who sends out the sound signal in the cabin is the face The occupant corresponding to the area.
在一种可能的实现方式中,所述方法还包括:根据所述视频流,确定所述目标乘员的座位区域;对所述声音信号进行内容识别,确定与所述声音信号对应的语音内容;在所述语音内容包括预设的语音指令的情况下,根据所述目标乘员的座位区域,确定与所述语音指令对应的区域控制功能;执行所述区域控制功能。In a possible implementation manner, the method further includes: determining the seating area of the target occupant according to the video stream; performing content recognition on the sound signal, and determining the voice content corresponding to the sound signal; If the voice content includes a preset voice instruction, according to the seating area of the target occupant, determine an area control function corresponding to the voice instruction; and execute the area control function.
在一种可能的实现方式中,所述根据各个乘员的所述人脸区域,以及所述声音信号,确定所述车舱内发出所述声音信号的目标乘员,包括:确定所述视频流中与所述声音信号的时间段对应的视频帧序列;针对每个乘员的所述人脸区域,对所述乘员在所述视频帧序列中的人脸区域进行特征提取,得到所述乘员的人脸特征;根据所述人脸特征及从所述声音信号中提取的所述语音特征,确定所述乘员的融合特征;根据所述融合特征,确定所述乘员的说话检测结果;根据各个乘员的说话检测结果,确定发出所述声音信号的目标乘员。In a possible implementation manner, the determining the target occupant who sends out the sound signal in the cabin according to the face area of each occupant and the sound signal includes: determining A video frame sequence corresponding to the time period of the sound signal; for the face area of each occupant, perform feature extraction on the occupant's face area in the video frame sequence to obtain the occupant's face area Facial feature; according to the facial feature and the voice feature extracted from the sound signal, determine the fusion feature of the occupant; according to the fusion feature, determine the speech detection result of the occupant; according to the occupant's As a result of the speaking detection, the target occupant who sends out the sound signal is determined.
在一种可能的实现方式中,所述对所述乘员在所述视频帧序列中的人脸区域进行特征提取,包括:对所述乘员在所述视频帧序列的N个视频帧中的每一帧的人脸区域进行特征提取,得到所述乘员的N个人脸特征;所述语音特征按照如下方式提取得到,包括:根据所述N个视频帧的采集时刻,对所述声音信号进行分割及语音特征提取,得到与所述N个视频帧分别对应的N个语音特征。In a possible implementation manner, the feature extraction of the face area of the occupant in the sequence of video frames includes: extracting the features of each of the N video frames of the occupant in the sequence of video frames Feature extraction is performed on the face area of one frame to obtain N facial features of the occupant; the voice feature is extracted in the following manner, including: segmenting the sound signal according to the acquisition time of the N video frames and speech feature extraction to obtain N speech features respectively corresponding to the N video frames.
在一种可能的实现方式中,所述根据所述N个视频帧的采集时刻,对所述声音信号进行分割及语音特征提取,得到与所述N个视频帧分别对应的N个语音特征,包括:根据所述N个视频帧的采集时刻,对所述声音信号进行分割,得到与所述N个视频帧分别对应的N个语音帧,所述N个视频帧中第n个视频帧的采集时刻处于第n个语音帧对应的时间段内,n为整数且1≤n≤N;对所述N个语音帧分别进行语音特征提取,得到N个语音特征。In a possible implementation manner, according to the acquisition time of the N video frames, the sound signal is segmented and speech features are extracted to obtain N speech features respectively corresponding to the N video frames, Including: segmenting the sound signal according to the acquisition time of the N video frames to obtain N speech frames respectively corresponding to the N video frames, and the nth video frame in the N video frames The collection time is within the time period corresponding to the nth speech frame, where n is an integer and 1≤n≤N; speech feature extraction is performed on the N speech frames respectively to obtain N speech features.
在一种可能的实现方式中,所述根据所述N个视频帧的采集时刻,对所述声音信号进行分割,得到与所述N个视频帧分别对应的N个语音帧,包括:根据所述N个视频帧的采集时刻,确定用于分割所述声音信号的时间窗口的时间窗长及移动步长,所述移动步长小于所述时间窗长;针对第n个语音帧,根据所述移动步长,移动所述时间窗口,确定与所述第n个语音帧对应的时间段;根据与所述第n个语音帧对应的时间段,从所述声音信号中分割出所述第n个语音帧。In a possible implementation manner, the segmenting the sound signal according to the acquisition time of the N video frames to obtain N speech frames respectively corresponding to the N video frames includes: according to the At the acquisition moment of the N video frames, determine the time window length and the moving step size for dividing the time window of the sound signal, and the moving step size is less than the time window length; for the n speech frame, according to the The moving step, moving the time window, and determining the time period corresponding to the nth voice frame; according to the time period corresponding to the nth voice frame, segmenting the first voice from the sound signal n speech frames.
在一种可能的实现方式中,所述根据所述人脸特征及所述语音特征,确定所述乘员的融合特征,包括:将所述N个人脸特征与所述N个语音特征一一对应融合,得到N个子融合特征;将所述N个子融合特征进行拼接,得到所述乘员的融合特征。In a possible implementation manner, the determining the fusion features of the occupant according to the facial features and the voice features includes: one-to-one correspondence between the N facial features and the N voice features Fusing to obtain N sub-fusion features; splicing the N sub-fusion features to obtain the fusion features of the occupant.
根据本公开的一方面,提供了一种乘员说话检测装置,包括:信号获取模块,用于获取车舱内的视频流和声音信号;人脸检测模块,用于对所述视频流进行人脸检测,确定车舱内的至少一个乘员在所述视频流中的人脸区域;乘员确定模块,用于根据各个乘员的所述人脸区域,以及所述声音信号,确定所述车舱内发出所述声音信号的目标乘员。According to an aspect of the present disclosure, there is provided an occupant speaking detection device, including: a signal acquisition module, used to acquire video streams and sound signals in the cabin; a face detection module, used to perform face detection on the video stream Detecting and determining the face area of at least one occupant in the vehicle cabin in the video stream; the occupant determination module is used to determine the sound signal emitted by the vehicle cabin according to the face area of each occupant and the sound signal. The target occupant of the sound signal.
在一种可能的实现方式中,所述装置还包括:第一识别模块,用于对所述声音信号进行内容识别,确定与所述声音信号对应的语音内容;功能执行模块,用于在所述语音内容包括预设的语音指令的情况下,执行与所述语音指令对应的控制功能。In a possible implementation manner, the device further includes: a first identification module, configured to perform content identification on the sound signal, and determine the voice content corresponding to the sound signal; a function execution module, configured to If the voice content includes a preset voice command, the control function corresponding to the voice command is executed.
在一种可能的实现方式中,所述功能执行模块用于:在所述语音指令对应具有方向性的多个控制功能的情况下,根据所述目标乘员的所述人脸区域,确定所述目标乘员的注视方向;根据所述目标乘 员的注视方向,从所述多个控制功能中确定出目标控制功能;执行所述目标控制功能。In a possible implementation manner, the function execution module is configured to: determine, according to the facial area of the target occupant, the A gaze direction of a target occupant; determining a target control function from the plurality of control functions according to the gaze direction of the target occupant; and executing the target control function.
在一种可能的实现方式中,所述视频流包括驾驶员区域的第一视频流;所述人脸检测模块用于:确定所述车舱内的驾驶员在所述第一视频流中的人脸区域;所述乘员确定模块用于:根据所述驾驶员的所述人脸区域,以及所述声音信号,确定所述车舱内发出所述声音信号的目标乘员是否为所述驾驶员。In a possible implementation manner, the video stream includes a first video stream of the driver's area; the face detection module is configured to: determine the position of the driver in the cabin in the first video stream Face area; the occupant determination module is used to: determine whether the target occupant who sends out the sound signal in the cabin is the driver according to the driver's face area and the sound signal .
在一种可能的实现方式中,所述视频流包括乘员区域的第二视频流;所述乘员确定模块用于:针对每一个所述乘员的人脸区域,根据所述人脸区域和所述声音信号,确定所述车舱内发出所述声音信号的目标乘员是否为所述人脸区域对应的乘员。In a possible implementation manner, the video stream includes a second video stream of an occupant area; the occupant determining module is configured to: for each occupant's face area, according to the face area and the The sound signal is used to determine whether the target occupant who sends out the sound signal in the cabin is the occupant corresponding to the face area.
在一种可能的实现方式中,所述装置还包括:座位区域确定模块,用于根据所述视频流,确定所述目标乘员的座位区域;第二识别模块,用于对所述声音信号进行内容识别,确定与所述声音信号对应的语音内容;功能确定模块,用于在所述语音内容包括预设的语音指令的情况下,根据所述目标乘员的座位区域,确定与所述语音指令对应的区域控制功能;区域控制模块,用于执行所述区域控制功能。In a possible implementation manner, the device further includes: a seating area determining module, configured to determine the seating area of the target occupant according to the video stream; a second identification module, configured to perform Content recognition, determining the voice content corresponding to the sound signal; a function determination module, used to determine the voice command corresponding to the voice command according to the seat area of the target occupant when the voice content includes a preset voice command Corresponding area control function; an area control module, configured to execute the area control function.
在一种可能的实现方式中,所述乘员确定模块用于:确定所述视频流中与所述声音信号的时间段对应的视频帧序列;针对每个乘员的所述人脸区域,对所述乘员在所述视频帧序列中的人脸区域进行特征提取,得到所述乘员的人脸特征;根据所述人脸特征及从所述声音信号中提取的语音特征,确定所述乘员的融合特征;根据所述融合特征,确定所述乘员的说话检测结果;根据各个乘员的说话检测结果,确定发出所述声音信号的目标乘员。In a possible implementation manner, the occupant determination module is configured to: determine the video frame sequence corresponding to the time period of the sound signal in the video stream; Feature extraction is performed on the face area of the occupant in the video frame sequence to obtain the occupant's facial features; according to the facial features and the voice features extracted from the sound signal, the fusion of the occupant is determined Features; according to the fusion feature, determine the occupant's speech detection result; according to each occupant's speech detection result, determine the target occupant who sends out the sound signal.
在一种可能的实现方式中,所述乘员确定模块对所述乘员在所述视频帧序列中的人脸区域进行特征提取,包括:对所述乘员在所述视频帧序列的N个视频帧中的每一帧的人脸区域进行特征提取,得到所述乘员的N个人脸特征;所述语音特征通过所述乘员确定模块按照如下方式提取得到:根据所述N个视频帧的采集时刻,对所述声音信号进行分割及语音特征提取,得到与所述N个视频帧分别对应的N个语音特征。In a possible implementation manner, the occupant determination module performs feature extraction on the face area of the occupant in the video frame sequence, including: extracting the N video frames of the occupant in the video frame sequence The face region of each frame in the feature extraction is carried out to obtain the N face features of the occupant; the voice feature is obtained by extracting the occupant determination module in the following manner: according to the acquisition time of the N video frames, Segmentation and speech feature extraction are performed on the sound signal to obtain N speech features respectively corresponding to the N video frames.
在一种可能的实现方式中,所述乘员确定模块根据所述N个视频帧的采集时刻,对所述声音信号进行分割及语音特征提取,得到与所述N个视频帧分别对应的N个语音特征,包括:根据所述N个视频帧的采集时刻,对所述声音信号进行分割,得到与所述N个视频帧分别对应的N个语音帧,所述N个视频帧中第n个视频帧的采集时刻处于第n个语音帧对应的时间段内,n为整数且1≤n≤N;对所述N个语音帧分别进行语音特征提取,得到N个语音特征。In a possible implementation manner, the occupant determination module performs segmentation and speech feature extraction on the sound signal according to the acquisition time of the N video frames to obtain N video frames respectively corresponding to the N video frames. Speech features, including: segmenting the sound signal according to the acquisition time of the N video frames to obtain N speech frames respectively corresponding to the N video frames, and the nth video frame in the N video frames The acquisition time of the video frame is within the time period corresponding to the nth speech frame, where n is an integer and 1≤n≤N; performing speech feature extraction on the N speech frames respectively to obtain N speech features.
在一种可能的实现方式中,所述乘员确定模块根据所述N个视频帧的采集时刻,对所述声音信号进行分割,得到与所述N个视频帧分别对应的N个语音帧,包括:根据所述N个视频帧的采集时刻,确定用于分割所述声音信号的时间窗口的时间窗长及移动步长,所述移动步长小于所述时间窗长;针对第n个语音帧,根据所述移动步长,移动所述时间窗口,确定与所述第n个语音帧对应的时间段;根据与所述第n个语音帧对应的时间段,从所述声音信号中分割出所述第n个语音帧。In a possible implementation manner, the occupant determining module divides the sound signal according to the acquisition time of the N video frames to obtain N speech frames respectively corresponding to the N video frames, including : according to the acquisition moment of the N video frames, determine the time window length and the moving step size for dividing the time window of the sound signal, the moving step size is less than the time window length; for the nth voice frame , move the time window according to the moving step, and determine the time period corresponding to the nth speech frame; segment the sound signal from the sound signal according to the time period corresponding to the nth speech frame The nth speech frame.
在一种可能的实现方式中,所述乘员确定模块根据所述人脸特征及所述语音特征,确定所述乘员的融合特征,包括:将所述N个人脸特征与所述N个语音特征一一对应融合,得到N个子融合特征;将所述N个子融合特征进行拼接,得到所述乘员的融合特征。In a possible implementation manner, the occupant determination module determines the fusion features of the occupant according to the facial features and the voice features, including: combining the N facial features with the N voice features One-to-one correspondence fusion to obtain N sub-fusion features; splicing the N sub-fusion features to obtain the fusion features of the occupant.
根据本公开的一方面,提供了一种电子设备,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为调用所述存储器存储的指令,以执行上述方法。According to an aspect of the present disclosure, there is provided an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to call the instructions stored in the memory to execute the above-mentioned method.
根据本公开的一方面,提供了一种计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现上述方法。According to one aspect of the present disclosure, there is provided a computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the above method is implemented.
根据本公开的一方面,提供了一种计算机程序,包括计算机可读代码,当所述计算机可读代码在电子设备中运行时,所述电子设备中的处理器执行上述方法。According to one aspect of the present disclosure, a computer program is provided, including computer readable codes, and when the computer readable codes are run in an electronic device, a processor in the electronic device executes the above method.
在本公开实施例中,能够获取车舱内的视频流和声音信号;对视频流进行人脸检测,确定车舱内的至少一个乘员在视频流中的人脸区域;根据各个乘员人脸区域和声音信号,从各个乘员中确定发出声音信号的目标乘员。根据人脸区域与声音信号共同判断乘员是否在说话,能够提高乘员说话检测的准确性,降低语音识别的误报率。In the embodiment of the present disclosure, the video stream and sound signal in the cabin can be obtained; face detection is performed on the video stream to determine the face area of at least one occupant in the cabin in the video stream; according to the face area of each occupant and the sound signal to determine the target occupant who emitted the sound signal from among the various occupants. Judging whether the occupant is speaking according to the face area and the sound signal can improve the accuracy of the occupant's speech detection and reduce the false alarm rate of speech recognition.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,而非限制本公开。根据下面参考附图对示例性实施例的详细说明,本公开的其它特征及方面将变得清楚。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure. Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the accompanying drawings.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,这些附图示出了符合本公开的实施例,并与说明书一起用于说明本公开的技术方案。The accompanying drawings here are incorporated into the description and constitute a part of the present description. These drawings show embodiments consistent with the present disclosure, and are used together with the description to explain the technical solution of the present disclosure.
图1示出根据本公开实施例的乘员说话检测方法的流程图。FIG. 1 shows a flowchart of a method for detecting occupant speaking according to an embodiment of the present disclosure.
图2示出本公开的实施例的说话检测过程的示意图。FIG. 2 shows a schematic diagram of a speaking detection process of an embodiment of the present disclosure.
图3示出根据本公开实施例的乘员说话检测装置的框图。Fig. 3 shows a block diagram of an occupant speaking detection device according to an embodiment of the present disclosure.
图4示出根据本公开实施例的一种电子设备的框图。Fig. 4 shows a block diagram of an electronic device according to an embodiment of the present disclosure.
图5示出根据本公开实施例的一种电子设备的框图。Fig. 5 shows a block diagram of an electronic device according to an embodiment of the present disclosure.
具体实施方式detailed description
以下将参考附图详细说明本公开的各种示例性实施例、特征和方面。附图中相同的附图标记表示功能相同或相似的元件。尽管在附图中示出了实施例的各种方面,但是除非特别指出,不必按比例绘制附图。Various exemplary embodiments, features, and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numbers in the figures indicate functionally identical or similar elements. While various aspects of the embodiments are shown in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
在这里专用的词“示例性”意为“用作例子、实施例或说明性”。这里作为“示例性”所说明的任何实施例不必解释为优于或好于其它实施例。The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration." Any embodiment described herein as "exemplary" is not necessarily to be construed as superior or better than other embodiments.
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中术语“至少一种”表示多种中的任意一种或多种中的至少两种的任意组合,例如,包括A、B、C中的至少一种,可以表示包括从A、B和C构成的集合中选择的任意一个或多个元素。The term "and/or" in this article is just an association relationship describing associated objects, which means that there can be three relationships, for example, A and/or B can mean: A exists alone, A and B exist simultaneously, and there exists alone B these three situations. In addition, the term "at least one" herein means any one of a variety or any combination of at least two of the more, for example, including at least one of A, B, and C, which may mean including from A, Any one or more elements selected from the set formed by B and C.
另外,为了更好地说明本公开,在下文的具体实施方式中给出了众多的具体细节。本领域技术人员应当理解,没有某些具体细节,本公开同样可以实施。在一些实例中,对于本领域技术人员熟知的方法、手段、元件和电路未作详细描述,以便于凸显本公开的主旨。In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific implementation manners. It will be understood by those skilled in the art that the present disclosure may be practiced without some of the specific details. In some instances, methods, means, components and circuits that are well known to those skilled in the art have not been described in detail so as to obscure the gist of the present disclosure.
在车载语音交互中,语音检测功能通常在车机中实时运行,需要将语音检测功能的误报率保持在 非常低的水平。相关技术中,通常采用基于纯语音的信号检测手段,抑制语音误报的难度较高,导致误报率较高,用户交互体验较差。In vehicle voice interaction, the voice detection function usually runs in real time in the vehicle, and the false alarm rate of the voice detection function needs to be kept at a very low level. In related technologies, a signal detection method based on pure voice is usually used, and it is difficult to suppress voice false alarms, resulting in a high false alarm rate and poor user interaction experience.
根据本公开实施例的乘员说话检测方法,能够将视频图像与声音信号进行多模态融合,识别出车舱内处于说话状态的乘员,从而提高乘员说话检测的准确性,降低语音识别的误报率,提升用户交互体验。According to the occupant speech detection method of the embodiment of the present disclosure, the video image and the sound signal can be multimodally fused, and the occupant in the speaking state in the cabin can be identified, thereby improving the accuracy of occupant speech detection and reducing false positives in speech recognition rate and improve user interaction experience.
根据本公开实施例的对象说话检测方法可以由终端设备或服务器等电子设备执行,终端设备可以为车载设备、用户设备(User Equipment,UE)、移动设备、用户终端、终端、蜂窝电话、无绳电话、个人数字助理(Personal Digital Assistant,PDA)、手持设备、计算设备、车载设备、可穿戴设备等,所述方法可以通过处理器调用存储器中存储的计算机可读指令的方式来实现。The object speaking detection method according to an embodiment of the present disclosure may be performed by electronic equipment such as a terminal device or a server, and the terminal device may be a vehicle-mounted device, a user equipment (User Equipment, UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone , a personal digital assistant (Personal Digital Assistant, PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc., the method can be implemented by calling a computer-readable instruction stored in a memory by a processor.
其中,车载设备可以是车舱内的车机、域控制器或者处理器,还可以是DMS(Driver Monitor System,驾驶员检测系统)或者OMS(Occupant Monitoring System,乘员检测系统)中用于执行图像等数据处理操作的设备主机等。Among them, the on-board device can be the car machine, domain controller or processor in the cabin, and can also be used in DMS (Driver Monitor System, driver detection system) or OMS (Occupant Monitoring System, occupant detection system) to execute image processing. Device hosts for data processing operations, etc.
图1示出根据本公开实施例的乘员说话检测方法的流程图,如图1所示,所述乘员说话检测方法包括:Fig. 1 shows a flow chart of a method for detecting occupant speaking according to an embodiment of the present disclosure. As shown in Fig. 1 , the method for detecting occupant speaking includes:
在步骤S11中,获取车舱内的视频流和声音信号;In step S11, the video stream and sound signal in the cabin are obtained;
在步骤S12中,对所述视频流进行人脸检测,确定车舱内的至少一个乘员在所述视频流中的人脸区域;In step S12, face detection is performed on the video stream to determine the face area of at least one occupant in the cabin in the video stream;
在步骤S13中,根据各个乘员的所述人脸区域,以及所述声音信号,确定所述车舱内发出所述声音信号的目标乘员。In step S13, according to the face area of each occupant and the sound signal, the target occupant in the cabin who sends out the sound signal is determined.
举例来说,本公开实施例可以应用于任意类型的车辆,例如乘用车、出租车、共享汽车、公交车、货运车辆、地铁、火车等。For example, embodiments of the present disclosure may be applied to any type of vehicle, such as passenger cars, taxis, shared cars, buses, freight vehicles, subways, trains, and the like.
在一种可能的实现方式中,在步骤S11中,可通过车载摄像头采集车舱内的视频流,并通过车载麦克风采集声音信号。其中,车载摄像头可以为设置于车辆中的任意摄像头,数量可以为一个或多个,类型可以为DMS摄像头、OMS摄像头、普通摄像头等。车载麦克风也可以设置在车辆中的任意位置,数量可以为一个或多个。本公开对车载摄像头及车载麦克风的设置位置、数量及类型不作限制。In a possible implementation manner, in step S11, the video stream in the vehicle cabin may be collected through the vehicle camera, and the sound signal may be collected through the vehicle microphone. Wherein, the vehicle-mounted camera can be any camera installed in the vehicle, the number can be one or more, and the type can be DMS camera, OMS camera, common camera, etc. The vehicle-mounted microphone can also be arranged at any position in the vehicle, and the number can be one or more. The present disclosure does not limit the location, quantity and type of the vehicle-mounted camera and the vehicle-mounted microphone.
在一种可能的实现方式中,在步骤S12中,可对视频流进行人脸检测。可对视频流的视频帧序列直接进行人脸检测,确定每一个视频帧中的人脸框;也可视频流的视频帧序列进行采样,对采样后的视频帧进行人脸检测,确定采样后的每一个视频帧中的人脸框,本公开对具体的处理方式不作限制。In a possible implementation manner, in step S12, face detection may be performed on the video stream. The face detection can be directly performed on the video frame sequence of the video stream to determine the face frame in each video frame; the video frame sequence of the video stream can also be sampled, and the face detection is performed on the sampled video frames to determine the face frame after sampling The face frame in each video frame of , the present disclosure does not limit the specific processing manner.
在一种可能的实现方式中,可对各个视频帧中的人脸框进行跟踪,确定属于同一身份的乘员的人脸框,从而确定出车舱内的至少一个乘员在视频流中的人脸区域。In a possible implementation, the face frame in each video frame can be tracked to determine the face frame of the occupant belonging to the same identity, so as to determine the face of at least one occupant in the cabin in the video stream area.
其中,人脸检测的方式可例如为人脸关键点识别、人脸轮廓检测等;人脸跟踪的方式可例如为,根据相邻视频帧中人脸框的交并比,确定属于同一身份的乘员。本领域技术人员应当理解,可采用相关技术中的任意方式实现人脸检测及跟踪,本公开对此不作限制。Among them, the method of face detection can be, for example, facial key point recognition, face contour detection, etc.; . Those skilled in the art should understand that face detection and tracking can be implemented in any manner in the related art, which is not limited in the present disclosure.
在一种可能的实现方式中,视频流的视频帧中可能存在一个或多个乘员(例如驾驶员和/或乘客)的人脸,经步骤S12处理后,可得到各个乘员的人脸区域。在步骤S13中,可对各个乘员分别进行分析,确定该乘员是否在说话。In a possible implementation, there may be faces of one or more occupants (such as the driver and/or passengers) in the video frame of the video stream, and after the processing in step S12, the face area of each occupant can be obtained. In step S13, each occupant can be analyzed separately to determine whether the occupant is talking.
在一种可能的实现方式中,针对待分析的任一个乘员,可确定该乘员在视频流的N个视频帧中的人脸区域,N为大于1的整数。也即,从视频流中选取对应一定时长(例如2s)的N个视频帧。在实时检测的情况下,该N个视频帧可为视频流中最新采集的N个视频帧。N可例如取值为10、15、20等,本公开对此不作限制。In a possible implementation manner, for any occupant to be analyzed, the face area of the occupant in N video frames of the video stream may be determined, where N is an integer greater than 1. That is, N video frames corresponding to a certain duration (for example, 2s) are selected from the video stream. In the case of real-time detection, the N video frames may be the latest N video frames collected in the video stream. N may be, for example, 10, 15, 20, etc., which is not limited in the present disclosure.
在一种可能的实现方式中,可确定与N个视频帧对应的时间段的声音信号,例如,N个视频帧对应的时间段为最近的2s(2s前-现在),声音信号也为最近2s的声音信号。In a possible implementation, the sound signal of the time period corresponding to N video frames can be determined, for example, the time period corresponding to N video frames is the latest 2s (2s ago-now), and the sound signal is also the most recent 2s sound signal.
在一种可能的实现方式中,可将该乘员在N个视频帧的人脸区域的图像与声音信号,直接输入到预设的说话检测网络中处理,输出该乘员的说话检测结果,即该乘员处于说话状态或处于未说话状态。In a possible implementation, the image and sound signals of the occupant in the face area of N video frames can be directly input into the preset speech detection network for processing, and the occupant's speech detection result is output, that is, the The occupant is either speaking or not speaking.
在一种可能的实现方式中,也可对该乘员在N个视频帧中人脸区域的图像进行特征提取,得到人脸特征;对声音信号进行声音特征提取,得到声音特征;将人脸特征和输入声音特征到预设的说话检测网络中处理,输出该乘员的说话检测结果。本公开对具体的处理方式不作限制。In a possible implementation manner, feature extraction can also be performed on the image of the occupant's face area in N video frames to obtain face features; sound feature extraction is performed on the sound signal to obtain sound features; And the input voice feature is processed in the preset speech detection network, and the speech detection result of the occupant is output. The present disclosure does not limit the specific processing manner.
在一种可能的实现方式中,可在步骤S13中对每一个乘员分别进行说话检测,确定各个乘员的说话检测结果;并将处于说话状态的乘员,确定为车舱内发出所述声音信号的目标乘员。In a possible implementation manner, in step S13, each occupant can be separately detected for speaking, to determine the result of each occupant's speaking detection; target occupant.
根据本公开的实施例,能够获取车舱内的视频流和声音信号;对视频流进行人脸检测,确定车舱内的至少一个乘员在视频流中的人脸区域;根据各个乘员人脸区域和声音信号,从各个乘员中确定发出声音信号的目标乘员。根据人脸区域与声音信号共同判断乘员是否在说话,能够提高乘员说话检测的准确性,降低语音识别的误报率。According to the embodiment of the present disclosure, it is possible to obtain the video stream and sound signal in the cabin; perform face detection on the video stream to determine the face area of at least one occupant in the cabin in the video stream; according to the face area of each occupant and the sound signal to determine the target occupant who emitted the sound signal from among the various occupants. Judging whether the occupant is speaking according to the face area and the sound signal can improve the accuracy of the occupant's speech detection and reduce the false alarm rate of speech recognition.
下面对本公开的实施例的乘员说话检测方法进行展开说明。The following is an expanded description of the occupant speech detection method of the embodiment of the present disclosure.
如前所述,在步骤S11中,可获取车载摄像头采集的、车舱内的视频流,以及车载麦克风采集的声音信号。As mentioned above, in step S11, the video stream in the cabin collected by the vehicle camera and the sound signal collected by the vehicle microphone can be obtained.
在一种可能的实现方式中,车载摄像头可包括驾驶员检测系统DMS摄像头,和/或乘员检测系统OMS摄像头。DMS摄像头采集的视频流为驾驶员区域的视频流(称为第一视频流),OMS摄像头采集的视频流为车舱内乘员区域的视频流(称为第二视频流)。这样,步骤S11中获取的视频流可包括第一视频流和/或第二视频流。In a possible implementation manner, the vehicle-mounted camera may include a DMS camera for a driver detection system, and/or an OMS camera for an occupant detection system. The video stream collected by the DMS camera is the video stream of the driver's area (called the first video stream), and the video stream collected by the OMS camera is the video stream of the occupant area in the cabin (called the second video stream). In this way, the video stream acquired in step S11 may include the first video stream and/or the second video stream.
在一种可能的实现方式中,视频流包括驾驶员区域的第一视频流;在步骤S12中确定车舱内的至少一个乘员在所述视频流中的人脸区域,包括:In a possible implementation, the video stream includes a first video stream of the driver's area; in step S12, determining the face area of at least one occupant in the cabin in the video stream includes:
确定所述车舱内的驾驶员在所述第一视频流中的人脸区域。Determining the face area of the driver in the vehicle cabin in the first video stream.
其中,步骤S13可包括:根据所述驾驶员的所述人脸区域,以及所述声音信号,确定所述车舱内发出所述声音信号的目标乘员是否为所述驾驶员。Wherein, step S13 may include: according to the face area of the driver and the sound signal, determining whether the target occupant who sends out the sound signal in the cabin is the driver.
举例来说,第一视频流对应于驾驶员区域,该区域仅包括驾驶员。在该情况下,可获取第一视频流的多个视频帧(称为第一视频帧),对多个第一视频帧中的每一个第一视频帧进行人脸检测及追踪,得到驾驶员在每一个第一视频帧中的人脸区域。For example, the first video stream corresponds to the driver area, which only includes the driver. In this case, a plurality of video frames (referred to as the first video frame) of the first video stream can be obtained, face detection and tracking are performed on each first video frame in the plurality of first video frames, and the driver's face is obtained. The face area in each first video frame.
在一种可能的实现方式中,根据驾驶员的人脸区域以及声音信号,可对驾驶员进行说话检测,确定驾驶员是否在说话,从而确定车舱内发出声音信号的目标乘员是否为驾驶员。也即,如果确定出驾驶员在说话,则可确定发出声音信号的目标乘员为驾驶员;反之,如果确定出驾驶员未说话,则可确定发出声音信号的目标乘员不是驾驶员。In a possible implementation, according to the driver's face area and sound signal, the driver's speech detection can be performed to determine whether the driver is talking, so as to determine whether the target occupant who emits the sound signal in the cabin is the driver . That is, if it is determined that the driver is speaking, it can be determined that the target occupant who sends out the sound signal is the driver; otherwise, if it is determined that the driver is not speaking, it can be determined that the target occupant who sends out the sound signal is not the driver.
在一种可能的实现方式中,可根据车舱内发出声音信号的目标乘员是否为驾驶员,进行后续的处理。例如,如果发出声音信号的目标乘员是驾驶员,则可启动语音识别功能,对声音信号进行响应;反之,如果发出声音信号的目标乘员不是驾驶员,则可不对声音信号进行响应。本公开对后续处理的方式不作限制。In a possible implementation manner, subsequent processing may be performed according to whether the target occupant who sends out the sound signal in the vehicle cabin is the driver. For example, if the target occupant who sends out the sound signal is the driver, the voice recognition function can be activated to respond to the sound signal; otherwise, if the target occupant who sends out the sound signal is not the driver, then the sound signal can not be responded to. The present disclosure does not limit the way of subsequent processing.
通过这种方式,可根据驾驶员区域的第一视频流及声音信号确定驾驶员是否说话,从而确定发出声音信号的目标乘员是否为驾驶员,从而降低语音识别的误报率,提高用户使用的便利性。In this way, it can be determined whether the driver is speaking according to the first video stream and sound signal in the driver's area, so as to determine whether the target occupant who sends out the sound signal is the driver, thereby reducing the false positive rate of speech recognition and improving the user experience. convenience.
在一种可能的实现方式中,所述视频流包括乘员区域的第二视频流。其中,步骤S13可包括:In a possible implementation manner, the video stream includes a second video stream of the occupant area. Wherein, step S13 may include:
针对每一个所述乘员的人脸区域,根据所述人脸区域和所述声音信号,确定所述车舱内发出所述声音信号的目标乘员是否为所述人脸区域对应的乘员。For each face area of the occupant, according to the face area and the sound signal, it is determined whether the target occupant who sends out the sound signal in the cabin is the occupant corresponding to the face area.
举例来说,第二视频帧对应于车舱内乘员区域,包括驾驶员和/或乘客。在该情况下,在步骤S12中,可从第二视频流中获取多个视频帧(称为第二视频帧),对多个第二视频帧中的每一个第二视频帧进行人脸检测及追踪,得到车舱内的各个乘员在每一个第二视频帧中的人脸区域。For example, the second video frame corresponds to the occupant area in the vehicle cabin, including the driver and/or passengers. In this case, in step S12, a plurality of video frames (referred to as second video frames) can be obtained from the second video stream, and face detection is performed on each second video frame in the plurality of second video frames and tracking to obtain the face area of each occupant in the cabin in each second video frame.
例如,在驾驶员区域处于车舱的左前部的情况下,可将处于第二视频帧中右下位置的人脸区域,确定为驾驶员的人脸区域;将处于第二视频帧中左下位置的人脸区域,确定为副驾驶乘客的人脸区域。本公开对各个乘员的具体确定方式不作限制。For example, in the case where the driver's area is at the left front of the cabin, the face area at the lower right position in the second video frame can be determined as the driver's face area; it will be at the lower left position in the second video frame is determined as the face area of the co-pilot passenger. The present disclosure does not limit the specific manner of determining each occupant.
在一种可能的实现方式中,针对每一个乘员的人脸区域,根据该乘员的人脸区域和声音信号,可对该乘员进行说话检测,确定该乘员是否在说话,从而确定车舱内发出声音信号的目标乘员是否为该乘员。也即,如果确定出该乘员在说话,则可确定发出声音信号的目标乘员为该人脸区域对应的乘员;反之,如果确定出该乘员未说话,则可确定发出声音信号的目标乘员不是该人脸区域对应的乘员。In a possible implementation, for each occupant's face area, according to the occupant's face area and sound signal, the occupant's speech detection can be performed to determine whether the occupant is speaking, so as to determine whether the occupant is speaking. Whether the target occupant of the sound signal is this occupant. That is, if it is determined that the occupant is speaking, it can be determined that the target occupant who sends out the sound signal is the occupant corresponding to the face area; The occupant corresponding to the face area.
在一种可能的实现方式中,可根据车舱内发出声音信号的目标乘员的身份,进行后续的处理。例如,如果发出声音信号的目标乘员是驾驶员,则可启动语音识别功能,对声音信号进行响应;如果发出声音信号的目标乘员为乘客,且该乘客没有控制权限,则可不对声音信号进行响应;如果发出声音信号的目标乘员为乘客,且该乘客具有控制权限,也可启动语音识别功能,对声音信号进行响应。本公开对后续处理的方式不作限制。In a possible implementation manner, subsequent processing may be performed according to the identity of the target occupant who sends out the sound signal in the vehicle cabin. For example, if the target occupant who sends the sound signal is the driver, the voice recognition function can be activated to respond to the sound signal; if the target occupant who sends the sound signal is a passenger, and the passenger has no control authority, the sound signal can not be responded ; If the target occupant who sends out the sound signal is a passenger, and the passenger has control authority, the voice recognition function can also be activated to respond to the sound signal. The present disclosure does not limit the way of subsequent processing.
通过这种方式,可根据乘员区域的第二视频流及声音信号,分别确定各个乘员是否说话,从而确定发出声音信号的目标乘员为哪一个乘员,降低语音识别的误报率,提高乘员说话检测的精确性,并使得后续的响应更有针对性。In this way, it is possible to determine whether each occupant is speaking according to the second video stream and sound signal in the occupant area, thereby determining which occupant is the target occupant who sends out the sound signal, reducing the false alarm rate of voice recognition, and improving occupant speech detection accuracy and make subsequent responses more targeted.
在一种可能的实现方式中,可在步骤S13中进行乘员的说话检测。其中,步骤S13可包括:In a possible implementation manner, the occupant's speech detection may be performed in step S13. Wherein, step S13 may include:
确定所述视频流中与所述声音信号的时间段对应的视频帧序列;determining a video frame sequence corresponding to a time period of the sound signal in the video stream;
针对每个乘员的所述人脸区域,For the face area of each occupant,
对所述乘员在所述视频帧序列中的人脸区域进行特征提取,得到所述乘员的人脸特征;performing feature extraction on the occupant's face area in the video frame sequence to obtain the occupant's facial features;
根据所述人脸特征及从所述声音信号中提取的语音特征,确定所述乘员的融合特征;determining the fusion feature of the occupant according to the face feature and the speech feature extracted from the sound signal;
根据所述融合特征,确定所述乘员的说话检测结果;determining a speech detection result of the occupant according to the fusion feature;
根据各个乘员的说话检测结果,确定发出所述声音信号的目标乘员。According to the speech detection results of each occupant, the target occupant who sends out the sound signal is determined.
举例来说,可预设有一定的时长,在该时长内进行说话检测。该时长可例如设定为1s、2s或3s,本公开对此不作限制。For example, a certain duration may be preset, and speaking detection is performed within the duration. The duration can be set as 1s, 2s or 3s, for example, which is not limited in the present disclosure.
在一种可能的实现方式中,可以针对声音信号进行特征提取获得语音特征,然后分别将从视频流中检测到的每一个乘员的人脸特征与该语音特征进行融合获得融合特征。In a possible implementation manner, feature extraction may be performed on the sound signal to obtain speech features, and then the facial features of each occupant detected from the video stream are fused with the speech features to obtain fusion features.
在一种可能的实现方式中,可从车载麦克风采集的声音信号中选取该时长的声音信号,并从视频流中确定与声音信号的时间段对应的视频帧序列。在实时处理的情况下,声音信号的时间段例如为最近的2s(2s前-现在),视频帧序列也包括最近2s的多个视频帧(设为N个视频帧,N>1)。In a possible implementation manner, the sound signal of the duration may be selected from the sound signals collected by the vehicle-mounted microphone, and the video frame sequence corresponding to the time period of the sound signal is determined from the video stream. In the case of real-time processing, the time period of the sound signal is, for example, the latest 2s (2s ago-now), and the video frame sequence also includes multiple video frames of the latest 2s (set as N video frames, N>1).
在一种可能的实现方式中,针对每个乘员的所述人脸区域,可确定该乘员在视频帧序列中的人脸区域的图像,并对各个人脸区域的图像分别进行特征提取,得到该乘员的N个人脸特征。其中,特征提取的方式可例如为人脸关键点提取、人脸轮廓提取等,本公开对此不作限制。In a possible implementation manner, for the face area of each occupant, the image of the occupant's face area in the video frame sequence may be determined, and feature extraction is performed on the images of each face area to obtain N facial features of the occupant. The manner of feature extraction may be, for example, face key point extraction, face contour extraction, etc., which is not limited in the present disclosure.
在一种可能的实现方式中,对于检测到的每一个乘员的人脸区域,可以确定该人脸区域在视频中出现的N个视频帧,对该N个视频帧对应的时间段内的语音特征进行提取,这种情况下可以通过如下方式,对所述乘员在所述视频帧序列中的人脸区域进行特征提取,得到所述乘员的人脸特征:对所述乘员在所述视频帧序列的N个视频帧中的每一帧的人脸区域进行特征提取,得到所述乘员的N个人脸特征。这样可以将人脸特征与语音特征在时间上“对齐”,进而提升说话检测结果的准确性。In a possible implementation, for the detected face area of each occupant, N video frames in which the face area appears in the video can be determined, and the voice in the time period corresponding to the N video frames In this case, feature extraction can be performed on the occupant's face area in the video frame sequence in the following manner to obtain the occupant's facial features: for the occupant in the video frame Feature extraction is performed on the face area of each frame in the sequence of N video frames to obtain N face features of the occupant. In this way, facial features and speech features can be "aligned" in time, thereby improving the accuracy of speech detection results.
举例来说,针对视频流中T~T+k时刻的视频帧序列的N个视频帧I1、I2、…、IN,通过人脸检测与跟踪,可获得车舱内乘员的M个人脸的人脸框序列(M≥1),即每一个乘员对应一个人脸框序列。其中,T为任意的时刻,k取值为1s、2s或3s等,本公开对k的取值不作限制。For example, for the N video frames I1, I2, ..., IN of the video frame sequence at time T~T+k in the video stream, through face detection and tracking, the M faces of the occupants in the cabin can be obtained. Face frame sequence (M≥1), that is, each occupant corresponds to a face frame sequence. Wherein, T is an arbitrary moment, and the value of k is 1s, 2s, or 3s, etc., and the value of k is not limited in the present disclosure.
在一种可能的实现方式中,针对任一乘员(设为第i个乘员,i为整数且1≤i≤M),对于N个视频帧中任意一个(称为第n个视频帧,n为整数且1≤n≤N),该乘员的人脸区域记为In-face-i。可将人脸区域In-face-i输入人脸特征提取网络MFaceNet中提取特征,得到特征图In-Featuremap-i,即为第i个乘员的第n个人脸特征。其中,人脸特征的特征维度为(c,h,w),c、h和w分别表示通道数、高度和宽度。In a possible implementation, for any occupant (set as the i occupant, i is an integer and 1≤i≤M), for any one of the N video frames (called the nth video frame, n is an integer and 1≤n≤N), the occupant's face area is denoted as In-face-i. The face area In-face-i can be input into the face feature extraction network MFaceNet to extract features, and the feature map In-Featuremap-i is obtained, which is the nth face feature of the i-th occupant. Among them, the feature dimension of the face feature is (c, h, w), and c, h, and w represent the number of channels, height, and width, respectively.
在一种可能的实现方式中,人脸特征提取网络MFaceNet可为卷积神经网络,例如,从人脸关键点检测模型中去除关键点头部(head)部分,得到该人脸特征提取网络MFaceNet。本公开对人脸特征提取网络的网络结构不作限制。In a possible implementation manner, the face feature extraction network MFaceNet may be a convolutional neural network, for example, the face feature extraction network MFaceNet is obtained by removing the key point head (head) part from the face key point detection model. The present disclosure does not limit the network structure of the face feature extraction network.
这样,对N个视频帧中的每一帧的人脸区域提取特征,得到该乘员的N个人脸特征。In this way, features are extracted from the face area of each of the N video frames to obtain N face features of the occupant.
在一种可能的实现方式中,对所述声音信号进行语音特征提取,得到语音特征的步骤可包括:根据所述N个视频帧的采集时刻,对所述声音信号进行分割及语音特征提取,得到与所述N个视频帧分别对应的N个语音特征。In a possible implementation manner, the step of performing speech feature extraction on the sound signal to obtain the speech feature may include: performing segmentation and speech feature extraction on the sound signal according to the acquisition time of the N video frames, N speech features respectively corresponding to the N video frames are obtained.
也就是说,可对声音信号进行分割,得到与N个视频帧分别对应的N个语音帧;再分别对N个语音帧中的每一个语音帧进行语音特征提取,得到N个语音特征。That is to say, the audio signal can be segmented to obtain N speech frames respectively corresponding to the N video frames; and then speech feature extraction is performed on each of the N speech frames to obtain N speech features.
在一种可能的实现方式中,所述根据所述N个视频帧的采集时刻,对所述声音信号进行分割及语音特征提取,得到与所述N个视频帧分别对应的N个语音特征的步骤,可包括:In a possible implementation manner, according to the acquisition time of the N video frames, the sound signal is segmented and the speech features are extracted to obtain the N speech features respectively corresponding to the N video frames. steps, which may include:
根据所述N个视频帧的采集时刻,对所述声音信号进行分割,得到与所述N个视频帧分别对应的N个语音帧,所述N个视频帧中第n个视频帧的采集时刻处于第n个语音帧对应的时间段内,1≤n≤N;According to the acquisition moment of the N video frames, the sound signal is segmented to obtain N speech frames respectively corresponding to the N video frames, and the acquisition moment of the nth video frame in the N video frames In the time period corresponding to the nth speech frame, 1≤n≤N;
对所述N个语音帧分别进行语音特征提取,得到N个语音特征。Perform speech feature extraction on the N speech frames respectively to obtain N speech features.
举例来说,针对麦克风T~T+k时刻获得的声音信号Audio,可先对首尾端的静音切除,降低干扰。 然后对声音信号分帧,也就是把声音分割成一小段一小段,每小段称为一个语音帧。为了保证语音帧与视频帧的时序对齐,每个语音帧的时间段与视频帧的采集时刻对应,也即第n个视频帧的采集时刻处于第n个语音帧对应的时间段内。For example, for the sound signal Audio obtained by the microphones at time T˜T+k, the first and last silences may be cut off to reduce interference. Then the sound signal is divided into frames, that is, the sound is divided into small segments, and each segment is called a speech frame. In order to ensure the timing alignment of the audio frame and the video frame, the time period of each audio frame corresponds to the acquisition time of the video frame, that is, the acquisition time of the nth video frame is within the time period corresponding to the nth audio frame.
在一种可能的实现方式中,所述根据所述N个视频帧的采集时刻,对所述声音信号进行分割,得到与所述N个视频帧分别对应的N个语音帧的步骤,包括:In a possible implementation manner, the step of segmenting the sound signal according to the acquisition time of the N video frames to obtain N speech frames respectively corresponding to the N video frames includes:
根据所述N个视频帧的采集时刻,确定用于分割所述声音信号的时间窗口的时间窗长及移动步长,所述移动步长小于所述时间窗长;According to the acquisition moment of the N video frames, determine a time window length and a moving step for dividing the time window of the sound signal, and the moving step is smaller than the time window;
针对第n个语音帧,根据所述移动步长,移动所述时间窗口,确定与所述第n个语音帧对应的时间段;For the nth speech frame, according to the moving step, move the time window, and determine the time period corresponding to the nth speech frame;
根据与所述第n个语音帧对应的时间段,从所述声音信号中分割出所述第n个语音帧。Segmenting the nth speech frame from the sound signal according to the time period corresponding to the nth speech frame.
举例来说,各个语音帧的时间段之间可存在交叠,以减少出现声音失真。可通过移动窗函数来实现声音信号的分割。For example, there may be an overlap between the time periods of the speech frames to reduce the occurrence of sound distortion. The segmentation of the sound signal can be realized by moving the window function.
在一种可能的实现方式中,根据N个视频帧的采集时刻,可确定移动窗函数的时间窗口的时间窗长及移动步长,其中,移动步长小于时间窗长。例如,N个视频帧中相邻视频帧的采集时刻的时间间隔为50ms(也即视频帧的帧率为20帧/s),则可将移动步长设置为50ms,将时间窗长设置为60ms,在该情况下,相邻的语音帧之间的交叠部分为10ms。本公开对时间窗长及移动步长的具体取值不作限制。In a possible implementation manner, according to the acquisition time of N video frames, the time window length and the moving step of the time window of the moving window function may be determined, wherein the moving step is smaller than the time window. For example, if the time interval between the acquisition moments of adjacent video frames in N video frames is 50ms (that is, the frame rate of video frames is 20 frames/s), then the moving step can be set to 50ms, and the time window length can be set to 60ms, in this case, the overlap between adjacent speech frames is 10ms. The present disclosure does not limit the specific values of the time window length and the moving step size.
在一种可能的实现方式中,对于第1个语音帧,可从T时刻开始,将与时间窗口对应的时间段,作为与第1个语音帧的对应的时间段,例如为T~T+60ms;对于第2个语音帧,可根据移动步长,移动时间窗口,将与时间窗口对应的时间段,作为与第2个语音帧的对应的时间段,例如为T+50ms~T+110ms;对于第n个语音帧,可根据移动步长,移动时间窗口,确定与第n个语音帧对应的时间段。这样,可分别确定N个语音帧对应的时间段。In a possible implementation, for the first speech frame, starting from time T, the time period corresponding to the time window can be used as the time period corresponding to the first speech frame, for example, T~T+ 60ms; for the second voice frame, you can move the time window according to the moving step, and use the time period corresponding to the time window as the time period corresponding to the second voice frame, for example, T+50ms~T+110ms ; For the nth speech frame, the time period corresponding to the nth speech frame can be determined according to the moving step and the moving time window. In this way, the time periods corresponding to the N voice frames can be respectively determined.
在一种可能的实现方式中,根据与第n个语音帧对应的时间段,可从声音信号中分割出第n个语音帧。根据N个语音帧的时间段分别进行分割后,可得到N个语音帧,记为A1、A2、…、AN。In a possible implementation manner, according to the time period corresponding to the nth speech frame, the nth speech frame may be segmented from the sound signal. After dividing according to the time segments of the N speech frames, N speech frames can be obtained, which are denoted as A1, A2, . . . , AN.
通过这种方式,可实现语音分割过程,提高后续的处理效果。In this way, the speech segmentation process can be realized and the subsequent processing effect can be improved.
在一种可能的实现方式中,可对语音帧进行语音特征提取,可例如通过MFCC(Mel-Frequency Cepstral Coefficients,梅尔倒频谱系数)变换的方式,将语音帧变换成包含声音信息的c维向量,将该c维向量作为语音特征,记为An-feature。其中,语音特征的长度c与人脸特征的通道数相同。In a possible implementation, the voice feature extraction can be performed on the voice frame, and the voice frame can be transformed into c-dimensional information containing sound information, for example, by means of MFCC (Mel-Frequency Cepstral Coefficients, Mel cepstral coefficients) transformation. Vector, the c-dimensional vector is used as a speech feature, which is recorded as An-feature. Among them, the length c of speech features is the same as the number of channels of face features.
这样,对N个语音帧分别进行处理,可得到N个语音特征。应当理解,也可以采用其他方式对语音帧进行语音特征提取,本公开对此不作限制。In this way, N voice features can be obtained by processing N voice frames respectively. It should be understood that other methods may also be used to extract speech features from speech frames, which is not limited in the present disclosure.
在一种可能的实现方式中,在得到乘员的N个人脸特征和N个语音特征后,可对人脸特征与语音特征进行融合。其中,根据所述人脸特征及所述语音特征,确定所述乘员的融合特征的步骤,可包括:In a possible implementation manner, after the N facial features and N voice features of the occupant are obtained, the facial features and voice features may be fused. Wherein, according to the facial feature and the voice feature, the step of determining the fusion feature of the occupant may include:
将所述N个人脸特征与所述N个语音特征一一对应融合,得到N个子融合特征;The N facial features and the N voice features are fused one-to-one to obtain N sub-fusion features;
将所述N个子融合特征进行拼接,得到所述乘员的融合特征。The N sub-fusion features are spliced to obtain the fusion features of the occupant.
也就是说,可将该乘员i的第n个人脸特征In-featuremap-i与第n个语音特征An-feature融合,例如采用语音特征(c维向量)对人脸特征(特征维度为(c,h,w))的每个位置进行点乘,得到第n个子融合特征,记为Fusionfeature-n(c,h,w)。这样,对N个人脸特征与N个语音特征一一对应融合,可得到N个子 融合特征。That is to say, the nth face feature In-featuremap-i of the occupant i can be fused with the nth voice feature An-feature, for example, the voice feature (c-dimensional vector) is used to compare the face feature (feature dimension is (c , h, w)) for each position to obtain the nth sub-fusion feature, denoted as Fusionfeature-n(c, h, w). In this way, N sub-fusion features can be obtained by one-to-one fusion of N facial features and N voice features.
在一种可能的实现方式中,可对N个子融合特征进行拼接,得到该乘员i的融合特征,记为video-fusionfeature。In a possible implementation, the N sub-fusion features can be spliced to obtain the fusion feature of the occupant i, which is recorded as video-fusionfeature.
通过这种方式,能够实现人脸特征与语音特征的多模态融合,两者在神经网络层面进行融合,可以显著地减少说话检测的误报率;并且,相比于在上层做逻辑融合,神经网络层面的融合能够提高说话检测的鲁棒性。In this way, the multi-modal fusion of face features and voice features can be realized. The fusion of the two at the neural network level can significantly reduce the false positive rate of speech detection; and, compared to logical fusion at the upper layer, Fusion at the neural network level can improve the robustness of speech detection.
在一种可能的实现方式中,根据融合特征,可确定该乘员i的说话检测结果。可预设有说话检测网络,将融合特征输入说话检测网络中处理,输出该乘员i的说话检测结果。In a possible implementation manner, according to the fusion feature, the speech detection result of the occupant i may be determined. A speech detection network may be preset, and the fusion feature is input into the speech detection network for processing, and the speech detection result of the occupant i is output.
其中,该说话检测网络可例如为卷积神经网络,包括多个全连接层(例如三层全连接层)、softmax层等,用于对融合特征进行二分类。融合特征输入说话检测网络的全连接层,可得到二维的输出,分别对应处于说话状态和其他状态;经过softmax层处理后,得到归一化的得分(score)或置信度。Wherein, the speaking detection network may be, for example, a convolutional neural network, including multiple fully connected layers (for example, three layers of fully connected layers), a softmax layer, etc., for performing binary classification on fusion features. The fusion feature is input into the fully connected layer of the speaking detection network, and two-dimensional output can be obtained, corresponding to the speaking state and other states; after being processed by the softmax layer, a normalized score (score) or confidence degree is obtained.
在一种可能的实现方式中,可设置有处于说话状态的得分或置信度的预设阈值(例如设置为0.8)。如果超过该预设阈值,则确定该乘员i处于说话状态;反之,则确定该乘员i处于未说话状态。本公开对说话检测网络的网络结构、训练方式及预设阈值的具体取值均不作限制。In a possible implementation manner, a preset threshold (for example, set to 0.8) may be set for the score or confidence level of the speaking state. If the preset threshold is exceeded, it is determined that the occupant i is in a speaking state; otherwise, it is determined that the occupant i is in a non-speaking state. The present disclosure does not limit the network structure, training method and specific value of the preset threshold of the speaking detection network.
图2示出本公开的一个实施例的说话检测过程的示意图。FIG. 2 shows a schematic diagram of a speaking detection process according to an embodiment of the present disclosure.
如图2所示,对于待处理的N个视频帧:视频帧1、视频帧2、…、视频帧N,可分别对N个视频帧进行人脸检测,确定乘员i在N个视频帧中的人脸区域;对乘员i在N个视频帧中的人脸区域分别进行人脸特征提取,得到N个人脸特征;对于待处理的N个语音帧:语音帧1、语音帧2、…、语音帧N,可分别对N个语音帧进行MFCC变换,提取到N个语音特征;通过点乘的方式,将N个人脸特征与N个语音特征一一对应融合,得到N个子融合特征:子融合特征1、子融合特征2、…、子融合特征N;对N个子融合特征进行拼接,得到该乘员i的融合特征;将融合特征输入说话检测网络中处理,输入该乘员i的说话检测结果,即该乘员i的处于说话状态或未说话状态。As shown in Figure 2, for the N video frames to be processed: video frame 1, video frame 2, ..., video frame N, face detection can be performed on the N video frames respectively, and it is determined that the occupant i is in the N video frames The face area of the occupant i is extracted from the face areas of N video frames respectively to obtain N face features; for the N voice frames to be processed: voice frame 1, voice frame 2, ..., Speech frame N, MFCC transformation can be performed on N speech frames respectively, and N speech features can be extracted; N face features and N speech features can be fused one by one by dot multiplication, and N sub-fusion features can be obtained: Fusion feature 1, sub-fusion feature 2, ..., sub-fusion feature N; splice the N sub-fusion features to obtain the fusion feature of the occupant i; input the fusion feature into the speech detection network for processing, and input the speech detection result of the occupant i , that is, the occupant i is speaking or not speaking.
通过这种方式,能够基于图像特征与语音特征的多模态融合特征,判断车舱内的乘员是否在说话,从而提高说话检测的准确性。In this way, based on the multi-modal fusion feature of image features and voice features, it can be judged whether the occupant in the cabin is speaking, thereby improving the accuracy of speech detection.
在一种可能的实现方式中,对每一个乘员进行上述处理,可得到各个乘员的说话检测结果;进而可根据各个乘员的说话检测结果,确定发出声音信号的目标乘员,从而确定发出声音信号的目标乘员为哪一个乘员,提高乘员说话检测的精确性。In a possible implementation manner, the above processing is performed on each occupant to obtain the speech detection result of each occupant; furthermore, the target occupant who sends out the sound signal can be determined according to the speech detection result of each occupant, so as to determine the person who sent the sound signal Which occupant is the target occupant to improve the accuracy of occupant speech detection.
在一种可能的实现方式中,根据本公开实施例的乘员说话检测方法还可包括:In a possible implementation manner, the occupant speaking detection method according to the embodiment of the present disclosure may further include:
对所述声音信号进行内容识别,确定与所述声音信号对应的语音内容;performing content recognition on the sound signal, and determining the speech content corresponding to the sound signal;
在所述语音内容包括预设的语音指令的情况下,执行与所述语音指令对应的控制功能。If the voice content includes a preset voice command, a control function corresponding to the voice command is executed.
举例来说,如果步骤S13中已确定出发出声音信号的目标乘员,则可启动语音识别功能,对声音信号进行内容识别,确定与声音信号对应的语音内容,本公开对语音内容识别的实现方式不作限制。For example, if the target occupant who sent out the sound signal has been determined in step S13, the voice recognition function can be activated to identify the content of the sound signal and determine the voice content corresponding to the voice signal. The implementation of voice content recognition in this disclosure No limit.
在一种可能的实现方式中,可预设有各种语音指令。如果识别出的语音内容包括预设的语音指令,则可执行与该语音指令对应的控制功能。例如,识别出语音内容包括语音指令“播放音乐”,则可控制车载的音乐播放设备播放音乐;识别出语音内容包括语音指令“打开左侧车窗”,则可控制左侧车 窗打开。In a possible implementation manner, various voice commands may be preset. If the recognized voice content includes a preset voice command, the control function corresponding to the voice command can be executed. For example, if the recognition of the voice content includes the voice command "play music", it can control the car's music player to play music; if the recognition of the voice content includes the voice command "open the left window", it can control the opening of the left window.
通过这种方式,能够实现与车内乘员之间的语音交互,使得用户能够通过语音实现各种控制功能,提高用户使用的便利性,提升用户体验。In this way, the voice interaction with the occupants in the vehicle can be realized, so that the user can realize various control functions through voice, which improves the convenience of the user and improves the user experience.
在一种可能的实现方式中,所述在所述语音内容包括预设的语音指令的情况下,执行与所述语音指令对应的控制功能的步骤,可包括:In a possible implementation manner, when the voice content includes a preset voice command, the step of executing the control function corresponding to the voice command may include:
在所述语音指令对应具有方向性的多个控制功能的情况下,根据所述目标乘员的所述人脸区域,确定所述目标乘员的注视方向;In the case where the voice command corresponds to multiple control functions with directional properties, determine the gaze direction of the target occupant according to the face area of the target occupant;
根据所述目标乘员的注视方向,从所述多个控制功能中确定出目标控制功能;determining a target control function from the plurality of control functions based on the gaze direction of the target occupant;
执行所述目标控制功能。Execute the target control function.
举例来说,语音指令可能对应于具有方向性的多个控制功能,例如,语音指令“打开车窗”可对应于左侧和右侧两个方向的车窗,多个控制功能包括“打开左侧的车窗”和“打开右侧的车窗”;也可对应于左前、左后、右前、右后四个方向的车窗,多个控制功能包括“打开左前侧的车窗”、“打开右前侧的车窗”、“打开左后侧的车窗”、“打开右后侧的车窗”。在该情况下,可结合图像识别确定相应的控制功能。For example, a voice command may correspond to multiple control functions with directionality. For example, the voice command "open the window" may correspond to the windows in both directions of left and right, and multiple control functions include "open the window on the left". side window" and "open the right window"; it can also correspond to the windows in the four directions of left front, left rear, right front and right rear. The multiple control functions include "open the left front window", " Open the front right window", "Open the rear left window", "Open the rear right window". In this case, the corresponding control function can be determined in conjunction with image recognition.
在一种可能的实现方式中,在语音指令对应具有方向性的多个控制功能的情况下,可根据目标乘员在N个视频帧中的人脸区域,确定目标乘员的注视方向。In a possible implementation, when the voice command corresponds to multiple directional control functions, the gaze direction of the target occupant may be determined according to the face areas of the target occupant in N video frames.
在一种可能的实现方式中,可对目标乘员在N个视频帧中人脸区域的图像分别进行特征提取,得到目标乘员在N个视频帧中的人脸特征;对N个人脸特征进行融合,得到目标乘员的人脸融合特征;将人脸融合特征输入到预设的注视方向识别网络中处理,得到目标乘员的注视方向,也即目标乘员的眼睛的视线方向。In a possible implementation, feature extraction can be performed on the images of the face areas of the target occupant in the N video frames respectively to obtain the face features of the target occupant in the N video frames; the N facial features are fused , to obtain the face fusion features of the target occupant; input the face fusion features into the preset gaze direction recognition network for processing, and obtain the gaze direction of the target occupant, that is, the direction of sight of the eyes of the target occupant.
其中,该注视方向识别网络可例如为卷积神经网络,包括卷积层、全连接层、softmax层等。本公开对注视方向识别网络的网络结构及训练方式均不作限制。Wherein, the gaze direction recognition network may be, for example, a convolutional neural network, including a convolutional layer, a fully connected layer, a softmax layer, and the like. The disclosure does not limit the network structure and training method of the gaze direction recognition network.
在一种可能的实现方式中,可根据目标乘员的注视方向,从多个控制功能中确定出目标控制功能。例如,语音指令为“打开车窗”,并确定出目标乘员的注视方向为朝向右侧,则可确定目标控制功能为“打开右侧的车窗”。进而,可执行目标控制功能,例如打开右侧的车窗。In a possible implementation manner, the target control function may be determined from multiple control functions according to the gaze direction of the target occupant. For example, if the voice command is "open the window", and it is determined that the gaze direction of the target occupant is facing the right, then the target control function may be determined as "open the window on the right". In turn, targeted control functions can be performed, such as opening the right-hand window.
通过这种方式,能够提高语音交互的准确性,进一步提高用户使用的便利性。In this way, the accuracy of voice interaction can be improved, and the convenience for users can be further improved.
在一种可能的实现方式中,可不对乘员的身份进行区分,也即判断出存在说话的目标乘员,就启动语音识别并执行相应的控制功能。也可对目标乘员的身份进行区分,例如仅响应驾驶员的语音,在判断驾驶员在说话时进行语音识别,而不响应乘客的语音;或者根据乘客所在的座位区域,在判断乘客在说话时进行语音识别,并执行乘客所在的座位区域的区域控制功能等。In a possible implementation, the identities of the occupants may not be distinguished, that is, if it is determined that there is a target occupant speaking, voice recognition is activated and a corresponding control function is executed. It is also possible to distinguish the identity of the target occupant, for example, it only responds to the driver's voice, and performs voice recognition when it is judged that the driver is speaking, but does not respond to the passenger's voice; or according to the seat area where the passenger is located, when it is judged that the passenger is speaking Perform voice recognition, and perform zone control functions for the passenger's seat zone, etc.
在一种可能的实现方式中,根据本公开实施例的乘员说话检测方法还可包括:In a possible implementation manner, the occupant speaking detection method according to the embodiment of the present disclosure may further include:
根据所述视频流,确定所述目标乘员的座位区域;determining the seating area of the target occupant according to the video stream;
对所述声音信号进行内容识别,确定与所述声音信号对应的语音内容;performing content recognition on the sound signal, and determining the speech content corresponding to the sound signal;
在所述语音内容包括预设的语音指令的情况下,根据所述目标乘员的座位区域,确定与所述语音指令对应的区域控制功能;In the case where the voice content includes a preset voice command, according to the seating area of the target occupant, determine the area control function corresponding to the voice command;
执行所述区域控制功能。Execute the zone control functions.
举例来说,视频流包括驾驶员区域的第一视频流,和/或车舱内乘员区域的第二视频流,目标乘员可能包括驾驶员和/或乘员。For example, the video stream includes a first video stream of the driver area, and/or a second video stream of the occupant area in the cabin, and the target occupants may include the driver and/or occupants.
在一种可能的实现方式中,对于第一视频流,如果步骤S13中已确定出发出声音信号的目标乘员,则可直接确定该目标乘员为驾驶员,目标乘员的座位区域即为驾驶员区域。In a possible implementation, for the first video stream, if the target occupant who sends out the sound signal has been determined in step S13, the target occupant can be directly determined to be the driver, and the seat area of the target occupant is the driver area .
在一种可能的实现方式中,对于第二视频流,如果步骤S13中已确定出发出声音信号的目标乘员,则可根据目标乘员在第二视频流的视频帧中的人脸区域的位置,确定该乘员的座位区域,例如副驾驶区域、左后座位区域、右后座位区域等。In a possible implementation, for the second video stream, if the target occupant who sends out the sound signal has been determined in step S13, according to the position of the face area of the target occupant in the video frame of the second video stream, Determine the seating area of the passenger, such as the co-pilot area, left rear seat area, right rear seat area, etc.
例如,在驾驶员区域处于车舱的左前部的情况下,如果目标乘员的人脸区域处于视频帧中左下位置,则可确定目标乘员的座位区域为副驾驶区域。For example, if the driver's area is at the left front of the cabin, if the face area of the target occupant is at the lower left position in the video frame, it can be determined that the seat area of the target occupant is the co-pilot area.
在一种可能的实现方式中,如果步骤S13中已确定出发出声音信号的目标乘员,则可启动语音识别功能,对声音信号进行内容识别,确定与声音信号对应的语音内容,本公开对语音内容识别的实现方式不作限制。In a possible implementation, if the target occupant who sends out the sound signal has been determined in step S13, the speech recognition function can be activated to perform content recognition on the sound signal to determine the speech content corresponding to the sound signal. The implementation manner of the content identification is not limited.
在一种可能的实现方式中,可预设有各种语音指令。如果识别出的语音内容包括预设的语音指令,则可根据目标乘员的座位区域,确定与语音指令对应的区域控制功能。例如,识别出语音内容包括语音指令“打开车窗”,且目标乘员的座位区域为左后座位区域,则可确定对应的区域控制功能为“打开左后侧车窗”。进而,可执行该区域控制功能,例如控制左后侧车窗打开。In a possible implementation manner, various voice commands may be preset. If the recognized voice content includes a preset voice command, the area control function corresponding to the voice command may be determined according to the seating area of the target occupant. For example, if it is recognized that the voice content includes the voice command "open the window", and the seat area of the target occupant is the left rear seat area, then it can be determined that the corresponding area control function is "open the left rear window". In turn, this area control function can be performed, for example controlling the opening of the left rear side window.
通过这种方式,能够执行相应的区域控制功能,进一步提高用户使用的便利性。In this way, the corresponding area control function can be executed, further improving user convenience.
根据本公开实施例的乘员说话检测方法,能够获取车舱内的视频流和声音信号;对视频流进行人脸检测,确定车舱内的至少一个乘员在视频流中的人脸区域;根据各个乘员人脸区域和声音信号,从各个乘员中确定发出声音信号的目标乘员。根据人脸区域与声音信号共同判断乘员是否在说话,能够提高乘员说话检测的准确性,降低语音识别的误报率According to the occupant speech detection method of the embodiment of the present disclosure, the video stream and sound signal in the cabin can be obtained; face detection is performed on the video stream to determine the face area of at least one occupant in the cabin in the video stream; according to each Occupant face area and sound signal, determine the target occupant who emits the sound signal from among the various occupants. Judging whether the occupant is speaking according to the face area and the sound signal can improve the accuracy of occupant speech detection and reduce the false alarm rate of speech recognition
根据本公开实施例的乘员说话检测方法,将视频图像与声音信号进行多模态融合,在神经网络层面进行融合,能够极大地降低非人声源带来的声音干扰,显著减少说话检测的误报率;并且,相比于在上层做逻辑融合,神经网络层面的融合能够提高说话检测的鲁棒性。According to the occupant speech detection method of the embodiment of the present disclosure, the multi-modal fusion of video images and sound signals is performed at the neural network level, which can greatly reduce the sound interference caused by non-human voice sources, and significantly reduce speech detection errors. Report rate; and, compared to logic fusion at the upper layer, fusion at the neural network level can improve the robustness of speech detection.
根据本公开实施例的乘员说话检测方法,能够应用于智能车舱感知系统中,有效规避单纯依靠语音信号导致的误报情形,保证语音识别可以被正常触发,提升用户交互体验。The occupant speech detection method according to the embodiments of the present disclosure can be applied to an intelligent cabin perception system, effectively avoiding false alarms caused by purely relying on voice signals, ensuring that voice recognition can be normally triggered, and improving user interaction experience.
可以理解,本公开提及的上述各个方法实施例,在不违背原理逻辑的情况下,均可以彼此相互结合形成结合后的实施例,限于篇幅,本公开不再赘述。本领域技术人员可以理解,在具体实施方式的上述方法中,各步骤的具体执行顺序应当以其功能和可能的内在逻辑确定。It can be understood that the above-mentioned method embodiments mentioned in this disclosure can all be combined with each other to form a combined embodiment without violating the principle and logic. Due to space limitations, this disclosure will not repeat them. Those skilled in the art can understand that, in the above method in the specific implementation manner, the specific execution order of each step should be determined according to its function and possible internal logic.
此外,本公开还提供了乘员说话检测装置、电子设备、计算机可读存储介质、程序,上述均可用来实现本公开提供的任一种乘员说话检测方法,相应技术方案和描述和参见方法部分的相应记载,不再赘述。In addition, the present disclosure also provides an occupant speech detection device, electronic equipment, a computer-readable storage medium, and a program, all of which can be used to implement any of the occupant speech detection methods provided in the present disclosure, and refer to the corresponding technical solutions and descriptions in the method section Corresponding records are not repeated here.
图3示出根据本公开实施例的乘员说话检测装置的框图,如图3所示,所述装置包括:Fig. 3 shows a block diagram of an occupant speaking detection device according to an embodiment of the present disclosure. As shown in Fig. 3, the device includes:
信号获取模块31,用于获取车舱内的视频流和声音信号;Signal acquiring module 31, for acquiring video stream and sound signal in the cabin;
人脸检测模块32,用于对所述视频流进行人脸检测,确定车舱内的至少一个乘员在所述视频流中的人脸区域;A face detection module 32, configured to perform face detection on the video stream, to determine the face area of at least one occupant in the cabin in the video stream;
乘员确定模块33,用于根据各个乘员的所述人脸区域,以及所述声音信号,确定所述车舱内发出所述声音信号的目标乘员。The occupant determining module 33 is configured to determine the target occupant in the cabin who sends out the sound signal according to the face area of each occupant and the sound signal.
在一种可能的实现方式中,所述装置还包括:第一识别模块,用于对所述声音信号进行内容识别,确定与所述声音信号对应的语音内容;功能执行模块,用于在所述语音内容包括预设的语音指令的情况下,执行与所述语音指令对应的控制功能。In a possible implementation manner, the device further includes: a first identification module, configured to perform content identification on the sound signal, and determine the voice content corresponding to the sound signal; a function execution module, configured to If the voice content includes a preset voice command, the control function corresponding to the voice command is executed.
在一种可能的实现方式中,所述功能执行模块用于:在所述语音指令对应具有方向性的多个控制功能的情况下,根据所述目标乘员的所述人脸区域,确定所述目标乘员的注视方向;根据所述目标乘员的注视方向,从所述多个控制功能中确定出目标控制功能;执行所述目标控制功能。In a possible implementation manner, the function execution module is configured to: determine, according to the facial area of the target occupant, the A gaze direction of a target occupant; determining a target control function from the plurality of control functions according to the gaze direction of the target occupant; and executing the target control function.
在一种可能的实现方式中,所述视频流包括驾驶员区域的第一视频流;In a possible implementation manner, the video stream includes a first video stream of the driver's area;
所述人脸检测模块用于:确定所述车舱内的驾驶员在所述第一视频流中的人脸区域;The face detection module is used to: determine the face area of the driver in the cabin in the first video stream;
所述乘员确定模块用于:根据所述驾驶员的所述人脸区域,以及所述声音信号,确定所述车舱内发出所述声音信号的目标乘员是否为所述驾驶员。The occupant determination module is configured to: determine whether the target occupant in the vehicle cabin who sends out the sound signal is the driver according to the face area of the driver and the sound signal.
在一种可能的实现方式中,所述视频流包括乘员区域的第二视频流;In a possible implementation manner, the video stream includes a second video stream of the occupant area;
所述乘员确定模块用于:针对每一个所述乘员的人脸区域,根据所述人脸区域和所述声音信号,确定所述车舱内发出所述声音信号的目标乘员是否为所述人脸区域对应的乘员。The occupant determining module is used for: for each occupant's face area, according to the human face area and the sound signal, determine whether the target occupant who sends out the sound signal in the cabin is the person occupant corresponding to the face area.
在一种可能的实现方式中,所述装置还包括:In a possible implementation manner, the device further includes:
座位区域确定模块,用于根据所述视频流,确定所述目标乘员的座位区域;第二识别模块,用于对所述声音信号进行内容识别,确定与所述声音信号对应的语音内容;功能确定模块,用于在所述语音内容包括预设的语音指令的情况下,根据所述目标乘员的座位区域,确定与所述语音指令对应的区域控制功能;区域控制模块,用于执行所述区域控制功能。The seat area determination module is used to determine the seat area of the target occupant according to the video stream; the second identification module is used to perform content identification on the sound signal and determine the voice content corresponding to the sound signal; function A determining module, configured to determine an area control function corresponding to the voice instruction according to the seating area of the target occupant when the voice content includes a preset voice instruction; an area control module, configured to execute the Zone control function.
在一种可能的实现方式中,所述乘员确定模块用于:In a possible implementation manner, the occupant determination module is used for:
确定所述视频流中与所述声音信号的时间段对应的视频帧序列;determining a video frame sequence corresponding to a time period of the sound signal in the video stream;
针对每个乘员的所述人脸区域,对所述乘员在所述视频帧序列中的人脸区域进行特征提取,得到所述乘员的人脸特征;根据所述人脸特征及从所述声音信号中提取的语音特征,确定所述乘员的融合特征;根据所述融合特征,确定所述乘员的说话检测结果;For the face area of each occupant, perform feature extraction on the occupant's face area in the video frame sequence to obtain the occupant's facial features; according to the facial features and from the sound The speech feature extracted from the signal is used to determine the fusion feature of the occupant; according to the fusion feature, the speech detection result of the occupant is determined;
根据各个乘员的说话检测结果,确定发出所述声音信号的目标乘员。According to the speech detection results of each occupant, the target occupant who sends out the sound signal is determined.
在一种可能的实现方式中,所述乘员确定模块对所述乘员在所述视频帧序列中的人脸区域进行特征提取,包括:对所述乘员在所述视频帧序列的N个视频帧中的每一帧的人脸区域进行特征提取,得到所述乘员的N个人脸特征;In a possible implementation manner, the occupant determination module performs feature extraction on the face area of the occupant in the video frame sequence, including: extracting the N video frames of the occupant in the video frame sequence The face area of each frame in is carried out feature extraction, obtains the N face feature of described occupant;
所述语音特征通过所述乘员确定模块按照如下方式提取得到:根据所述N个视频帧的采集时刻,对所述声音信号进行分割及语音特征提取,得到与所述N个视频帧分别对应的N个语音特征。The voice feature is extracted by the occupant determination module in the following manner: according to the acquisition time of the N video frames, the voice signal is segmented and the voice feature is extracted to obtain the voice signals corresponding to the N video frames respectively. N voice features.
在一种可能的实现方式中,所述乘员确定模块根据所述N个视频帧的采集时刻,对所述声音信号进行分割及语音特征提取,得到与所述N个视频帧分别对应的N个语音特征,包括:根据所述N个视频帧的采集时刻,对所述声音信号进行分割,得到与所述N个视频帧分别对应的N个语音帧,所述N个视 频帧中第n个视频帧的采集时刻处于第n个语音帧对应的时间段内,n为整数且1≤n≤N;对所述N个语音帧分别进行语音特征提取,得到N个语音特征。In a possible implementation manner, the occupant determination module performs segmentation and speech feature extraction on the sound signal according to the acquisition time of the N video frames to obtain N video frames respectively corresponding to the N video frames. Speech features, including: segmenting the sound signal according to the acquisition time of the N video frames to obtain N speech frames respectively corresponding to the N video frames, and the nth video frame in the N video frames The acquisition time of the video frame is within the time period corresponding to the nth speech frame, where n is an integer and 1≤n≤N; performing speech feature extraction on the N speech frames respectively to obtain N speech features.
在一种可能的实现方式中,所述乘员确定模块根据所述N个视频帧的采集时刻,对所述声音信号进行分割,得到与所述N个视频帧分别对应的N个语音帧,包括:根据所述N个视频帧的采集时刻,确定用于分割所述声音信号的时间窗口的时间窗长及移动步长,所述移动步长小于所述时间窗长;针对第n个语音帧,根据所述移动步长,移动所述时间窗口,确定与所述第n个语音帧对应的时间段;根据与所述第n个语音帧对应的时间段,从所述声音信号中分割出所述第n个语音帧。In a possible implementation manner, the occupant determining module divides the sound signal according to the acquisition time of the N video frames to obtain N speech frames respectively corresponding to the N video frames, including : according to the acquisition moment of the N video frames, determine the time window length and the moving step size for dividing the time window of the sound signal, the moving step size is less than the time window length; for the nth voice frame , move the time window according to the moving step, and determine the time period corresponding to the nth speech frame; segment the sound signal from the sound signal according to the time period corresponding to the nth speech frame The nth speech frame.
在一种可能的实现方式中,所述乘员确定模块根据所述人脸特征及所述语音特征,确定所述乘员的融合特征,包括:将所述N个人脸特征与所述N个语音特征一一对应融合,得到N个子融合特征;将所述N个子融合特征进行拼接,得到所述乘员的融合特征。In a possible implementation manner, the occupant determination module determines the fusion features of the occupant according to the facial features and the voice features, including: combining the N facial features with the N voice features One-to-one correspondence fusion to obtain N sub-fusion features; splicing the N sub-fusion features to obtain the fusion features of the occupant.
在一些实施例中,本公开实施例提供的装置具有的功能或包含的模块可以用于执行上文方法实施例描述的方法,其具体实现可以参照上文方法实施例的描述,为了简洁,这里不再赘述。In some embodiments, the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the methods described in the method embodiments above, and its specific implementation can refer to the description of the method embodiments above. For brevity, here No longer.
本公开实施例还提出一种计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现上述方法。计算机可读存储介质可以是易失性或非易失性计算机可读存储介质。Embodiments of the present disclosure also provide a computer-readable storage medium, on which computer program instructions are stored, and the above-mentioned method is implemented when the computer program instructions are executed by a processor. Computer readable storage media may be volatile or nonvolatile computer readable storage media.
本公开实施例还提出一种电子设备,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为调用所述存储器存储的指令,以执行上述方法。An embodiment of the present disclosure also proposes an electronic device, including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to invoke the instructions stored in the memory to execute the above method.
本公开实施例还提供了一种计算机程序产品,包括计算机可读代码,或者承载有计算机可读代码的非易失性计算机可读存储介质,当所述计算机可读代码在电子设备的处理器中运行时,所述电子设备中的处理器执行上述方法。An embodiment of the present disclosure also provides a computer program product, including computer-readable codes, or a non-volatile computer-readable storage medium carrying computer-readable codes, when the computer-readable codes are stored in a processor of an electronic device When running in the electronic device, the processor in the electronic device executes the above method.
本公开实施例还提供了一种计算机程序,包括计算机可读代码,当所述计算机可读代码在电子设备中运行时,所述电子设备中的处理器执行上述方法。An embodiment of the present disclosure also provides a computer program, including computer readable codes, and when the computer readable codes are run in an electronic device, a processor in the electronic device executes the above method.
电子设备可以被提供为终端、服务器或其它形态的设备。Electronic devices may be provided as terminals, servers, or other forms of devices.
图4示出根据本公开实施例的一种电子设备800的框图。例如,电子设备800可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等终端。FIG. 4 shows a block diagram of an electronic device 800 according to an embodiment of the present disclosure. For example, the electronic device 800 may be a terminal such as a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, or a personal digital assistant.
参照图4,电子设备800可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出(I/O)的接口812,传感器组件814,以及通信组件816。4, electronic device 800 may include one or more of the following components: processing component 802, memory 804, power supply component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814 , and the communication component 816.
处理组件802通常控制电子设备800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。The processing component 802 generally controls the overall operations of the electronic device 800, such as those associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 802 may include one or more modules that facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802 .
存储器804被配置为存储各种类型的数据以支持在电子设备800的操作。这些数据的示例包括用于在电子设备800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM), 可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 804 is configured to store various types of data to support operations at the electronic device 800 . Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电源组件806为电子设备800的各种组件提供电力。电源组件806可以包括电源管理系统,一个或多个电源,及其他与为电子设备800生成、管理和分配电力相关联的组件。The power supply component 806 provides power to various components of the electronic device 800 . Power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for electronic device 800 .
多媒体组件808包括在所述电子设备800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当电子设备800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 808 includes a screen providing an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. When the electronic device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当电子设备800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a microphone (MIC), which is configured to receive external audio signals when the electronic device 800 is in operation modes, such as call mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 804 or sent via communication component 816 . In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 812 provides an interface between the processing component 802 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.
传感器组件814包括一个或多个传感器,用于为电子设备800提供各个方面的状态评估。例如,传感器组件814可以检测到电子设备800的打开/关闭状态,组件的相对定位,例如所述组件为电子设备800的显示器和小键盘,传感器组件814还可以检测电子设备800或电子设备800一个组件的位置改变,用户与电子设备800接触的存在或不存在,电子设备800方位或加速/减速和电子设备800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如互补金属氧化物半导体(CMOS)或电荷耦合装置(CCD)图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。 Sensor assembly 814 includes one or more sensors for providing status assessments of various aspects of electronic device 800 . For example, the sensor component 814 can detect the open/closed state of the electronic device 800, the relative positioning of components, such as the display and the keypad of the electronic device 800, the sensor component 814 can also detect the electronic device 800 or a Changes in position of components, presence or absence of user contact with electronic device 800 , electronic device 800 orientation or acceleration/deceleration and temperature changes in electronic device 800 . Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 814 may also include an optical sensor, such as a complementary metal-oxide-semiconductor (CMOS) or charge-coupled device (CCD) image sensor, for use in imaging applications. In some embodiments, the sensor component 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
通信组件816被配置为便于电子设备800和其他设备之间有线或无线方式的通信。电子设备800可以接入基于通信标准的无线网络,如无线网络(WiFi),第二代移动通信技术(2G)或第三代移动通信技术(3G),或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as a wireless network (WiFi), a second generation mobile communication technology (2G) or a third generation mobile communication technology (3G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,电子设备800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, electronic device 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.
在示例性实施例中,还提供了一种非易失性计算机可读存储介质,例如包括计算机程序指令的存储器804,上述计算机程序指令可由电子设备800的处理器820执行以完成上述方法。In an exemplary embodiment, there is also provided a non-volatile computer-readable storage medium, such as the memory 804 including computer program instructions, which can be executed by the processor 820 of the electronic device 800 to implement the above method.
图5示出根据本公开实施例的一种电子设备1900的框图。例如,电子设备1900可以被提供为一服务器。参照图5,电子设备1900包括处理组件1922,其进一步包括一个或多个处理器,以及由存储器1932所代表的存储器资源,用于存储可由处理组件1922的执行的指令,例如应用程序。存储器1932中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件1922被配置为执行指令,以执行上述方法。FIG. 5 shows a block diagram of an electronic device 1900 according to an embodiment of the present disclosure. For example, electronic device 1900 may be provided as a server. Referring to FIG. 5 , electronic device 1900 includes processing component 1922 , which further includes one or more processors, and a memory resource represented by memory 1932 for storing instructions executable by processing component 1922 , such as application programs. The application programs stored in memory 1932 may include one or more modules each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above method.
电子设备1900还可以包括一个电源组件1926被配置为执行电子设备1900的电源管理,一个有线或无线网络接口1950被配置为将电子设备1900连接到网络,和一个输入输出(I/O)接口1958。电子设备1900可以操作基于存储在存储器1932的操作系统,例如微软服务器操作系统(Windows Server TM),苹果公司推出的基于图形用户界面操作系统(Mac OS X TM),多用户多进程的计算机操作系统(Unix TM),自由和开放原代码的类Unix操作系统(Linux TM),开放原代码的类Unix操作系统(FreeBSD TM)或类似。 Electronic device 1900 may also include a power supply component 1926 configured to perform power management of electronic device 1900, a wired or wireless network interface 1950 configured to connect electronic device 1900 to a network, and an input-output (I/O) interface 1958 . The electronic device 1900 can operate based on the operating system stored in the memory 1932, such as the Microsoft server operating system (Windows Server TM ), the graphical user interface-based operating system (Mac OS X TM ) introduced by Apple Inc., and the multi-user and multi-process computer operating system (Unix ), a free and open-source Unix-like operating system (Linux ), an open-source Unix-like operating system (FreeBSD ), or the like.
在示例性实施例中,还提供了一种非易失性计算机可读存储介质,例如包括计算机程序指令的存储器1932,上述计算机程序指令可由电子设备1900的处理组件1922执行以完成上述方法。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium, such as the memory 1932 including computer program instructions, which can be executed by the processing component 1922 of the electronic device 1900 to implement the above method.
本公开可以是系统、方法和/或计算机程序产品。计算机程序产品可以包括计算机可读存储介质,其上载有用于使处理器实现本公开的各个方面的计算机可读程序指令。The present disclosure can be a system, method and/or computer program product. A computer program product may include a computer readable storage medium having computer readable program instructions thereon for causing a processor to implement various aspects of the present disclosure.
计算机可读存储介质可以是可以保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是(但不限于)电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、静态随机存取存储器(SRAM)、便携式压缩盘只读存储器(CD-ROM)、数字多功能盘(DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。这里所使用的计算机可读存储介质不被解释为瞬时信号本身,诸如无线电波或者其他自由传播的电磁波、通过波导或其他传输媒介传播的电磁波(例如,通过光纤电缆的光脉冲)、或者通过电线传输的电信号。A computer readable storage medium may be a tangible device that can retain and store instructions for use by an instruction execution device. A computer readable storage medium may be, for example, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or flash memory), static random access memory (SRAM), compact disc read only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanically encoded device, such as a printer with instructions stored thereon A hole card or a raised structure in a groove, and any suitable combination of the above. As used herein, computer-readable storage media are not to be construed as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., pulses of light through fiber optic cables), or transmitted electrical signals.
这里所描述的计算机可读程序指令可以从计算机可读存储介质下载到各个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和/或无线网下载到外部计算机或外部存储设备。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和/或边缘服务器。每个计算/处理设备中的网络适配卡或者网络接口从网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在各个计算/处理设备中的计算机可读存储介质中。Computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or downloaded to an external computer or external storage device over a network, such as the Internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers. A network adapter card or a network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing/processing device .
用于执行本公开操作的计算机程序指令可以是汇编指令、指令集架构(ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,所述编程语言包括面向对象的编程语言—诸如Smalltalk、C++等,以及常规的过程式编程语言—诸如“C”语言或类似的编程语言。计算机可读程序指令可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络—包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部 计算机(例如利用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、现场可编程门阵列(FPGA)或可编程逻辑阵列(PLA),该电子电路可以执行计算机可读程序指令,从而实现本公开的各个方面。Computer program instructions for performing the operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or Source or object code written in any combination, including object-oriented programming languages—such as Smalltalk, C++, etc., and conventional procedural programming languages—such as the “C” language or similar programming languages. Computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server implement. In cases involving a remote computer, the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as via the Internet using an Internet service provider). connect). In some embodiments, an electronic circuit, such as a programmable logic circuit, field programmable gate array (FPGA), or programmable logic array (PLA), can be customized by utilizing state information of computer-readable program instructions, which can Various aspects of the present disclosure are implemented by executing computer readable program instructions.
这里参照根据本公开实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本公开的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。Aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It should be understood that each block of the flowcharts and/or block diagrams, and combinations of blocks in the flowcharts and/or block diagrams, can be implemented by computer-readable program instructions.
这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理器执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine such that when executed by the processor of the computer or other programmable data processing apparatus , producing an apparatus for realizing the functions/actions specified in one or more blocks in the flowchart and/or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause computers, programmable data processing devices and/or other devices to work in a specific way, so that the computer-readable medium storing instructions includes An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks in flowcharts and/or block diagrams.
也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。It is also possible to load computer-readable program instructions into a computer, other programmable data processing device, or other equipment, so that a series of operational steps are performed on the computer, other programmable data processing device, or other equipment to produce a computer-implemented process , so that instructions executed on computers, other programmable data processing devices, or other devices implement the functions/actions specified in one or more blocks in the flowcharts and/or block diagrams.
附图中的流程图和框图显示了根据本公开的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,所述模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, a portion of a program segment, or an instruction that includes one or more Executable instructions. In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified function or action , or may be implemented by a combination of dedicated hardware and computer instructions.
该计算机程序产品可以具体通过硬件、软件或其结合的方式实现。在一个可选实施例中,所述计算机程序产品具体体现为计算机存储介质,在另一个可选实施例中,计算机程序产品具体体现为软件产品,例如软件开发包(Software Development Kit,SDK)等等。The computer program product can be specifically realized by means of hardware, software or a combination thereof. In an optional embodiment, the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK) etc. Wait.
以上已经描述了本公开的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术的改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。Having described various embodiments of the present disclosure above, the foregoing description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and alterations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principle of each embodiment, practical application or improvement of technology in the market, or to enable other ordinary skilled in the art to understand each embodiment disclosed herein.

Claims (15)

  1. 一种乘员说话检测方法,其特征在于,包括:A method for detecting occupant speech, characterized in that, comprising:
    获取车舱内的视频流和声音信号;Obtain the video stream and sound signal in the cabin;
    对所述视频流进行人脸检测,确定车舱内的至少一个乘员在所述视频流中的人脸区域;Perform face detection on the video stream, and determine the face area of at least one occupant in the cabin in the video stream;
    根据至少一个乘员的所述人脸区域,以及所述声音信号,确定所述车舱内发出所述声音信号的目标乘员。According to the face area of at least one occupant and the sound signal, the target occupant in the vehicle cabin who sends out the sound signal is determined.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, further comprising:
    对所述声音信号进行内容识别,确定与所述声音信号对应的语音内容;performing content recognition on the sound signal, and determining the speech content corresponding to the sound signal;
    在所述语音内容包括预设的语音指令的情况下,执行与所述语音指令对应的控制功能。If the voice content includes a preset voice command, a control function corresponding to the voice command is executed.
  3. 根据权利要求2所述的方法,其特征在于,所述在所述语音内容包括预设的语音指令的情况下,执行与所述语音指令对应的控制功能,包括:The method according to claim 2, wherein when the voice content includes a preset voice command, executing the control function corresponding to the voice command includes:
    在所述语音指令对应具有方向性的多个控制功能的情况下,根据所述目标乘员的所述人脸区域,确定所述目标乘员的注视方向;In the case where the voice command corresponds to multiple control functions with directional properties, determine the gaze direction of the target occupant according to the face area of the target occupant;
    根据所述目标乘员的注视方向,从所述多个控制功能中确定出目标控制功能;determining a target control function from the plurality of control functions based on the gaze direction of the target occupant;
    执行所述目标控制功能。Execute the target control function.
  4. 根据权利要求1-3中任意一项所述的方法,其特征在于,所述视频流包括驾驶员区域的第一视频流;The method according to any one of claims 1-3, wherein the video stream comprises a first video stream of the driver's area;
    所述确定车舱内的至少一个乘员在所述视频流中的人脸区域,包括:The determining the face area of at least one occupant in the cabin in the video stream includes:
    确定所述车舱内的驾驶员在所述第一视频流中的人脸区域;determining the driver's face area in the first video stream in the cabin;
    所述根据至少一个乘员的所述人脸区域,以及所述声音信号,确定所述车舱内发出所述声音信号的目标乘员,包括:The determining the target occupant who sends out the sound signal in the cabin according to the face area of at least one occupant and the sound signal includes:
    根据所述驾驶员的所述人脸区域,以及所述声音信号,确定所述车舱内发出所述声音信号的目标乘员是否为所述驾驶员。According to the face area of the driver and the sound signal, it is determined whether the target occupant in the cabin who sends out the sound signal is the driver.
  5. 根据权利要求1-4中任意一项所述的方法,其特征在于,所述视频流包括乘员区域的第二视频流;The method according to any one of claims 1-4, wherein the video stream comprises a second video stream of the occupant area;
    所述根据至少一个乘员的所述人脸区域,以及所述声音信号,确定所述车舱内发出所述声音信号的目标乘员,包括:The determining the target occupant who sends out the sound signal in the cabin according to the face area of at least one occupant and the sound signal includes:
    针对每一个所述乘员的人脸区域,根据所述人脸区域和所述声音信号,确定所述车舱内发出所述声音信号的目标乘员是否为所述人脸区域对应的乘员。For each face area of the occupant, according to the face area and the sound signal, it is determined whether the target occupant who sends out the sound signal in the cabin is the occupant corresponding to the face area.
  6. 根据权利要求1-5中任意一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-5, wherein the method further comprises:
    根据所述视频流,确定所述目标乘员的座位区域;determining the seating area of the target occupant according to the video stream;
    对所述声音信号进行内容识别,确定与所述声音信号对应的语音内容;performing content recognition on the sound signal, and determining the speech content corresponding to the sound signal;
    在所述语音内容包括预设的语音指令的情况下,根据所述目标乘员的座位区域,确定与所述语音指令对应的区域控制功能;In the case where the voice content includes a preset voice command, according to the seating area of the target occupant, determine the area control function corresponding to the voice command;
    执行所述区域控制功能。Execute the zone control functions.
  7. 根据权利要求1-6中任意一项所述的方法,其特征在于,所述根据至少一个乘员的所述人脸区域,以及所述声音信号,确定所述车舱内发出所述声音信号的目标乘员,包括:The method according to any one of claims 1-6, characterized in that, according to the face area of at least one occupant and the sound signal, it is determined the person in the vehicle cabin that emits the sound signal Target occupants, including:
    确定所述视频流中与所述声音信号的时间段对应的视频帧序列;determining a video frame sequence corresponding to a time period of the sound signal in the video stream;
    针对任一个乘员的所述人脸区域,For the face area of any occupant,
    对所述乘员在所述视频帧序列中的人脸区域进行特征提取,得到所述乘员的人脸特征;performing feature extraction on the occupant's face area in the video frame sequence to obtain the occupant's facial features;
    根据所述人脸特征及从所述声音信号中提取的语音特征,确定所述乘员的融合特征;determining the fusion feature of the occupant according to the face feature and the speech feature extracted from the sound signal;
    根据所述融合特征,确定所述乘员的说话检测结果;determining a speech detection result of the occupant according to the fusion feature;
    根据至少一个乘员的说话检测结果,确定发出所述声音信号的目标乘员。The target occupant who sends out the sound signal is determined according to the speech detection result of at least one occupant.
  8. 根据权利要求7所述的方法,其特征在于,所述对所述乘员在所述视频帧序列中的人脸区域进行特征提取,包括:The method according to claim 7, wherein the feature extraction of the occupant's face area in the video frame sequence comprises:
    对所述乘员在所述视频帧序列的N个视频帧中的至少一帧的人脸区域进行特征提取,得到所述乘员的N个人脸特征;Performing feature extraction on the face area of at least one frame of the occupant in the N video frames of the video frame sequence to obtain N facial features of the occupant;
    所述语音特征按照如下方式提取得到:The speech features are extracted as follows:
    根据所述N个视频帧的采集时刻,对所述声音信号进行分割及语音特征提取,得到与所述N个视频帧分别对应的N个语音特征。According to the acquisition time of the N video frames, the audio signal is segmented and the speech features are extracted to obtain N speech features respectively corresponding to the N video frames.
  9. 根据权利要求8所述的方法,其特征在于,所述根据所述N个视频帧的采集时刻,对所述声音信号进行分割及语音特征提取,得到与所述N个视频帧分别对应的N个语音特征,包括:The method according to claim 8, characterized in that, according to the acquisition time of the N video frames, the sound signal is segmented and the speech feature is extracted to obtain N video frames respectively corresponding to the N video frames. voice features, including:
    根据所述N个视频帧的采集时刻,对所述声音信号进行分割,得到与所述N个视频帧分别对应的N个语音帧,所述N个视频帧中第n个视频帧的采集时刻处于第n个语音帧对应的时间段内,n为整数且1≤n≤N;According to the acquisition moment of the N video frames, the sound signal is segmented to obtain N speech frames respectively corresponding to the N video frames, and the acquisition moment of the nth video frame in the N video frames In the time period corresponding to the nth speech frame, n is an integer and 1≤n≤N;
    对所述N个语音帧分别进行语音特征提取,得到N个语音特征。Perform speech feature extraction on the N speech frames respectively to obtain N speech features.
  10. 根据权利要求9所述的方法,其特征在于,所述根据所述N个视频帧的采集时刻,对所述声音信号进行分割,得到与所述N个视频帧分别对应的N个语音帧,包括:The method according to claim 9, wherein the audio signal is segmented according to the acquisition time of the N video frames to obtain N speech frames respectively corresponding to the N video frames, include:
    根据所述N个视频帧的采集时刻,确定用于分割所述声音信号的时间窗口的时间窗长及移动步长,所述移动步长小于所述时间窗长;According to the acquisition moment of the N video frames, determine a time window length and a moving step for dividing the time window of the sound signal, and the moving step is smaller than the time window;
    针对第n个语音帧,根据所述移动步长,移动所述时间窗口,确定与所述第n个语音帧对应的时间段;For the nth speech frame, according to the moving step, move the time window, and determine the time period corresponding to the nth speech frame;
    根据与所述第n个语音帧对应的时间段,从所述声音信号中分割出所述第n个语音帧。Segmenting the nth speech frame from the sound signal according to the time period corresponding to the nth speech frame.
  11. 根据权利要求8-10中任意一项所述的方法,其特征在于,所述根据所述人脸特征及所述语音特征,确定所述乘员的融合特征,包括:The method according to any one of claims 8-10, wherein the determining the fusion feature of the occupant according to the facial feature and the voice feature includes:
    将所述N个人脸特征与所述N个语音特征一一对应融合,得到N个子融合特征;The N facial features and the N voice features are fused one-to-one to obtain N sub-fusion features;
    将所述N个子融合特征进行拼接,得到所述乘员的融合特征。The N sub-fusion features are spliced to obtain the fusion features of the occupant.
  12. 一种乘员说话检测装置,其特征在于,包括:An occupant speech detection device, characterized in that it comprises:
    信号获取模块,用于获取车舱内的视频流和声音信号;The signal acquisition module is used to acquire video streams and sound signals in the cabin;
    人脸检测模块,用于对所述视频流进行人脸检测,确定车舱内的至少一个乘员在所述视频流中的人脸区域;A face detection module, configured to perform face detection on the video stream, to determine the face area of at least one occupant in the cabin in the video stream;
    乘员确定模块,用于根据至少一个乘员的所述人脸区域,以及所述声音信号,确定所述车舱内发出所述声音信号的目标乘员。The occupant determination module is configured to determine the target occupant in the cabin who sends out the sound signal according to the face area of at least one occupant and the sound signal.
  13. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it comprises:
    处理器;processor;
    用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
    其中,所述处理器被配置为调用所述存储器存储的指令,以执行权利要求1至11中任意一项所述的方法。Wherein, the processor is configured to invoke instructions stored in the memory to execute the method according to any one of claims 1-11.
  14. 一种计算机可读存储介质,其上存储有计算机程序指令,其特征在于,所述计算机程序指令被处理器执行时实现权利要求1至11中任意一项所述的方法。A computer-readable storage medium, on which computer program instructions are stored, wherein, when the computer program instructions are executed by a processor, the method according to any one of claims 1 to 11 is implemented.
  15. 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在电子设备中运行时,所述电子设备中的处理器执行用于实现权利要求1至11中的任一权利要求所述的方法。A computer program, comprising computer readable code, when the computer readable code is run in an electronic device, a processor in the electronic device executes the program for implementing any one of claims 1 to 11 Methods.
PCT/CN2021/127096 2021-06-30 2021-10-28 Passenger speaking detection method and apparatus, and electronic device and storage medium WO2023273063A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2023546461A JP2024505968A (en) 2021-06-30 2021-10-28 Occupant utterance detection method and device, electronic equipment, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110738677.5 2021-06-30
CN202110738677.5A CN113488043B (en) 2021-06-30 2021-06-30 Passenger speaking detection method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2023273063A1 true WO2023273063A1 (en) 2023-01-05

Family

ID=77937123

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/127096 WO2023273063A1 (en) 2021-06-30 2021-10-28 Passenger speaking detection method and apparatus, and electronic device and storage medium

Country Status (3)

Country Link
JP (1) JP2024505968A (en)
CN (1) CN113488043B (en)
WO (1) WO2023273063A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117155583A (en) * 2023-10-24 2023-12-01 清华大学 Multi-mode identity authentication method and system for incomplete information deep fusion

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113488043B (en) * 2021-06-30 2023-03-24 上海商汤临港智能科技有限公司 Passenger speaking detection method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104742823A (en) * 2013-11-07 2015-07-01 罗伯特·博世有限公司 Detection System In Vehicle For Recording The Speaking Activity Of Vehicle Occupant
CN110991329A (en) * 2019-11-29 2020-04-10 上海商汤智能科技有限公司 Semantic analysis method and device, electronic equipment and storage medium
WO2020196931A1 (en) * 2019-03-22 2020-10-01 엘지전자 주식회사 Vehicle electronic device and method for operating vehicle electronic device
CN112017633A (en) * 2020-09-10 2020-12-01 北京地平线信息技术有限公司 Voice recognition method, voice recognition device, storage medium and electronic equipment
CN112026790A (en) * 2020-09-03 2020-12-04 上海商汤临港智能科技有限公司 Control method and device for vehicle-mounted robot, vehicle, electronic device and medium
WO2021038736A1 (en) * 2019-08-28 2021-03-04 三菱電機株式会社 Sound field control device and sound field control method
CN113488043A (en) * 2021-06-30 2021-10-08 上海商汤临港智能科技有限公司 Passenger speaking detection method and device, electronic equipment and storage medium

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008058409A (en) * 2006-08-29 2008-03-13 Aisin Aw Co Ltd Speech recognizing method and speech recognizing device
KR101749143B1 (en) * 2011-12-26 2017-06-20 인텔 코포레이션 Vehicle based determination of occupant audio and visual input
US9626575B2 (en) * 2015-08-07 2017-04-18 International Business Machines Corporation Visual liveness detection
JP2017117371A (en) * 2015-12-25 2017-06-29 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America Control method, control device, and program
CN111629301B (en) * 2019-02-27 2021-12-31 北京地平线机器人技术研发有限公司 Method and device for controlling multiple loudspeakers to play audio and electronic equipment
CN110246512B (en) * 2019-05-30 2023-05-26 平安科技(深圳)有限公司 Sound separation method, device and computer readable storage medium
CN110544491A (en) * 2019-08-30 2019-12-06 上海依图信息技术有限公司 Method and device for real-time association of speaker and voice recognition result thereof
US20210065712A1 (en) * 2019-08-31 2021-03-04 Soundhound, Inc. Automotive visual speech recognition
EP4064284A4 (en) * 2019-12-13 2022-11-30 Huawei Technologies Co., Ltd. Voice detection method, prediction model training method, apparatus, device, and medium
CN112286364A (en) * 2020-11-20 2021-01-29 苏州思必驰信息科技有限公司 Man-machine interaction method and device
CN112989967A (en) * 2021-02-25 2021-06-18 复旦大学 Personnel identity identification method based on audio and video information fusion

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104742823A (en) * 2013-11-07 2015-07-01 罗伯特·博世有限公司 Detection System In Vehicle For Recording The Speaking Activity Of Vehicle Occupant
WO2020196931A1 (en) * 2019-03-22 2020-10-01 엘지전자 주식회사 Vehicle electronic device and method for operating vehicle electronic device
WO2021038736A1 (en) * 2019-08-28 2021-03-04 三菱電機株式会社 Sound field control device and sound field control method
CN110991329A (en) * 2019-11-29 2020-04-10 上海商汤智能科技有限公司 Semantic analysis method and device, electronic equipment and storage medium
CN112026790A (en) * 2020-09-03 2020-12-04 上海商汤临港智能科技有限公司 Control method and device for vehicle-mounted robot, vehicle, electronic device and medium
CN112017633A (en) * 2020-09-10 2020-12-01 北京地平线信息技术有限公司 Voice recognition method, voice recognition device, storage medium and electronic equipment
CN113488043A (en) * 2021-06-30 2021-10-08 上海商汤临港智能科技有限公司 Passenger speaking detection method and device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117155583A (en) * 2023-10-24 2023-12-01 清华大学 Multi-mode identity authentication method and system for incomplete information deep fusion
CN117155583B (en) * 2023-10-24 2024-01-23 清华大学 Multi-mode identity authentication method and system for incomplete information deep fusion

Also Published As

Publication number Publication date
CN113488043B (en) 2023-03-24
CN113488043A (en) 2021-10-08
JP2024505968A (en) 2024-02-08

Similar Documents

Publication Publication Date Title
WO2023273064A1 (en) Object speaking detection method and apparatus, electronic device, and storage medium
WO2021155632A1 (en) Image processing method and apparatus, and electronic device and storage medium
WO2022183661A1 (en) Event detection method and apparatus, electronic device, storage medium, and program product
KR101992676B1 (en) Method and apparatus for voice recognition using video recognition
WO2023273063A1 (en) Passenger speaking detection method and apparatus, and electronic device and storage medium
KR20180102871A (en) Mobile terminal and vehicle control method of mobile terminal
JP2014010456A (en) Mobile terminal and voice recognition method thereof
EP3933570A1 (en) Method and apparatus for controlling a voice assistant, and computer-readable storage medium
WO2023071174A1 (en) Occupancy detection method and apparatus, electronic device, and storage medium
CN107430856B (en) Information processing system and information processing method
CN111583923B (en) Information control method and device and storage medium
EP4184506A1 (en) Audio processing
CN114678021B (en) Audio signal processing method and device, storage medium and vehicle
US11019553B1 (en) Managing communications with devices based on device information
US20220165258A1 (en) Voice processing method, electronic device, and storage medium
CN108073572A (en) Information processing method and its device, simultaneous interpretation system
WO2023273060A1 (en) Dangerous action identifying method and apparatus, electronic device, and storage medium
CN111580773B (en) Information processing method, device and storage medium
KR20140116642A (en) Apparatus and method for controlling function based on speech recognition
WO2023071175A1 (en) Method and apparatus for associating person with object in vehicle, and electronic device and storage medium
WO2023231211A1 (en) Voice recognition method and apparatus, electronic device, storage medium, and product
CN108073291A (en) A kind of input method and device, a kind of device for input
EP4276818A1 (en) Speech operation method for device, apparatus, and electronic device
WO2017206133A1 (en) Speech recognition method and device
CN113449693A (en) Boarding behavior detection method and device, electronic device and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21947990

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2023546461

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE