feat: face recognition agent
ref: N25B-397
This commit is contained in:
@@ -10,7 +10,7 @@ from control_backend.agents.actuation.robot_gesture_agent import RobotGestureAge
|
||||
from control_backend.core.config import settings
|
||||
|
||||
from ..actuation.robot_speech_agent import RobotSpeechAgent
|
||||
from ..perception import VADAgent
|
||||
from ..perception import FacePerceptionAgent, VADAgent
|
||||
|
||||
|
||||
class RICommunicationAgent(BaseAgent):
|
||||
@@ -201,6 +201,13 @@ class RICommunicationAgent(BaseAgent):
|
||||
case "audio":
|
||||
vad_agent = VADAgent(audio_in_address=addr, audio_in_bind=bind)
|
||||
await vad_agent.start()
|
||||
case "face":
|
||||
face_agent = FacePerceptionAgent(
|
||||
settings.agent_settings.face_agent_name,
|
||||
address=addr,
|
||||
bind=bind,
|
||||
)
|
||||
await face_agent.start()
|
||||
case _:
|
||||
self.logger.warning("Unhandled negotiation id: %s", id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user