An nose-tracking application using computer vision to detect and track nose direction to detect Doomscrolling in real-time.
- Webcam Integration: Works with your device's webcam for live tracking
- YOLOv8 Model Support: Includes YOLOv8 nano and small pre-trained models for object detection
- MediaPipe: Face mesh and landmark detection
- OpenCV: Image processing and video capture
- YOLO v8: Object detection capabilities
- Python: Core programming language
Doomscrolling/
├── yolov8n.pt # YOLOv8 Nano model weights
├── yolov8s.pt # YOLOv8 Small model weights
├── punishment.mp3 # Audio file
├── punishment.jpg # Image file
└── README.md # This file
pip install opencv-python mediapipe numpypython Doomscrolling.pyThe application will:
- Access your webcam
- Detect facial landmarks and iris position
- Display real-time nose tracking visualization
- Mirror the video horizontally for natural interaction
The application uses MediaPipe's Face Mesh solution with refined landmarks to:
- Identify nose center points (landmarks 468 and 473)
- Provide pixel-coordinate mapping for on-screen interaction
- Add eye movement gesture recognition
- Integrate YOLO models for additional object detection
- Add real-time performance metrics
MIT
AmrEladawey