encs-humanoid / speech-and-hearing

speech and hearing systems for the IEEE ENCS Humanoid Robot Project
1 stars 1 forks source link

Face recognition interrupts listening #4

Open danielmcd opened 8 years ago

danielmcd commented 8 years ago

Publish a message from the listen node at the start and end of voice activity detection.

Receive the message in the AI respond node and prevent face recognition from interrupting.

Similar to the start_speaking and stop_speaking messages that the speak node sends, the listen node can publish a control message indicating when a voice has been detected. This can be used to prevent awkward interrupts from face recognition.

danielmcd commented 8 years ago

I have for the moment disabled the preemptive conversation when KEN recognizes a person, because it was disruptive. Instead, you can ask, "What is my name?" or "Who am I?" to check recognition. The name is also displayed on the annotated face images.