git clone https://github.com/gholder513/Donald-Trump-Brainrot-Identifier.git
A realtime webcam app that detects three custom gestures using MediaPipe Holistic (pose + hands) and triggers video playback in a second OpenCV window. Gesture detection runs continuously; when a gesture is sustained for a few frames, the corresponding “reaction” video plays.
- Input: Your webcam (
cv2.VideoCapture(0)) - Detection: MediaPipe Holistic landmarks (nose, eyes, ears, hands)
- Output:
Action Detectionwindow: webcam feed + landmarks + status textVideo Playbackwindow: plays a mapped MP4/MOV clip when an action triggers
- Safety features:
- Sustain gating: action must be detected for
SUSTAIN_FRAMES - Cooldown: prevents retriggering for
TRIGGER_COOLDOWN_FRAMESProject Built from: https://www.instagram.com/elijahcyber/
- Sustain gating: action must be detected for
Videos are mapped here, if you add more you'll need to specify in this hashmap:
ACTION_VIDEOS = { 1: "donaldTrumpScuba.mp4", 2: "donaldTrumpTakeMeThruDere.MOV", 3: "donaldTrumpHeadBobble.mov", }
enjoy!