AEGIS-JD
A humanoid robot that responds to gestures, emotions, body pose and voice.
What it does
AEGIS-JD (Autonomous Engagement & Guardian Intelligence System) is a unified control system for the EZ-Robot JD humanoid, built over a six-week internship at the Educational Robotics Lab, NUST SEECS.
It brings gesture, emotion, pose and speech control together with a conversational assistant, object detection and a face-recognition security gate in one application, replacing what began as several separate demo scripts.
How it works
- InputA webcam and microphone on a companion laptop capture the person in front of JD.
- PerceptionMediaPipe reads seven hand gestures and body pose, DeepFace reads facial emotion, Faster-Whisper transcribes speech locally and YOLOv8 finds objects.
- Security gateFace recognition (DeepFace / Facenet) decides whether the current person is authorised before JD acts.
- DecisionRules map readings to actions. "Ask JD" answers questions with LLaMA models running on Ollama, and Gemini interprets requests like "find my bottle".
- OutputCommands go to JD over Wi-Fi through EZ-Robot ARC and EZ-Script, from a terminal controller or a Flask browser dashboard.
What I did
- Led the five-person team and merged the separately built modules into one terminal controller and Flask dashboard.
- Built the gesture, emotion, pose and speech control modes.
- Made vision control reliable: a reading must hold in 8 of the last 10 frames, then a 5-second cooldown, before JD moves. This stops single-frame misfires.
- Co-developed "Ask JD" with Sameen Fatima: typed or spoken chat, 50 messages of history, a fast model for small talk and an 8B model for harder questions.
- Proposed using face recognition as a security gate and integrated it. The detection and recognition modules themselves were built by teammates Ahmed, Asjid and Sajid.
Built with
- Python
- MediaPipe
- DeepFace
- Faster-Whisper
- Ollama / LLaMA
- YOLOv8
- Gemini
- Flask
- Firebase
- EZ-Robot ARC