# Cursor AI Skill: DeepFake Eye-Blink Detector ## What This Project Is An Enhanced Eye-Blinking LRCN (Long-term Recurrent ConvNet) for DeepFake video detection using Attentive Adversarial Training (AAT). The model detects deepfakes by analysing unnatural blink patterns and fine-grained ocular artifacts using a hybrid ViT + LSTM architecture hardened with PGD adversarial training. **Research by:** Alina Chikwado Godsaves (BSc Computer Science) **Supervisor:** Mr. Akanji --- ## Critical Constraints — Read Before Writing Any Code | Constraint | Rule | |-----------|------| | **Python version** | Always use Python 3.11. Do NOT use 3.12 or 3.13. | | **Virtual environment** | `.venv311/` at project root. All scripts activate it first. | | **ViT input size** | Frames are already 224×224 from the streaming script. Never resize again inside the model. | | **Face detection** | Use **MediaPipe** only. Not Dlib. | | **No raw videos on disk** | The streaming script processes videos in RAM and saves only `.npz` files. Never write `.mp4` files permanently. | | **Dataset source** | `bitmind/FaceForensicsC23` on HuggingFace, streamed — NOT downloaded. | | **No localhost hardcoding** | API base URL comes from `VITE_API_URL` env var in the frontend. | | **No `