{"id":17698701,"url":"https://github.com/soumyaco/opti-tracker","last_synced_at":"2025-05-13T10:40:54.042Z","repository":{"id":245078266,"uuid":"790031123","full_name":"SoumyaCO/Opti-Tracker","owner":"SoumyaCO","description":"Computer Vision based Attention Tracker via WebCam","archived":false,"fork":false,"pushed_at":"2025-04-02T06:16:51.000Z","size":4062,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-20T23:32:34.771Z","etag":null,"topics":["desktop-app","mediapipe","opencv-python","pyqt5","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SoumyaCO.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-04-22T06:20:57.000Z","updated_at":"2025-04-09T18:22:50.000Z","dependencies_parsed_at":"2025-04-20T23:31:08.087Z","dependency_job_id":"a1acb12e-3b80-42c4-8eba-07d4209f41da","html_url":"https://github.com/SoumyaCO/Opti-Tracker","commit_stats":null,"previous_names":["soumyaco/mediapipe_project"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoumyaCO%2FOpti-Tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoumyaCO%2FOpti-Tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoumyaCO%2FOpti-Tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SoumyaCO%2FOpti-Tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SoumyaCO","download_url":"https://codeload.github.com/SoumyaCO/Opti-Tracker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253924907,"owners_count":21985200,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["desktop-app","mediapipe","opencv-python","pyqt5","python"],"created_at":"2024-10-24T15:10:46.082Z","updated_at":"2025-05-13T10:40:54.017Z","avatar_url":"https://github.com/SoumyaCO.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Computer Vision based focus assistant\n\n---\n### Video Demo\n[![Watch](https://github.com/SoumyaCO/mediapipe_project/assets/101652501/3913351b-3114-45c9-9a7d-cddb55435f4d)](https://youtu.be/WhsXiTHbgkQ?si=WR3RrG2dCLAvyq6b)\n\n\n\n# Opti Tracker\n\n**Opti Tracker** is an AI-powered application designed to **monitor and analyze** user activity in real-time using **facial landmark detection** and **tracking mechanisms**. It provides **feedback alerts** based on user posture, attention level, and fatigue, ensuring better focus and ergonomic posture.\n\n## 🚀 Features\n- 🎭 **Real-time Facial Landmark Tracking**: Uses **MediaPipe** to detect and analyze face movement.\n- 🔊 **Audio Feedback Alerts**: Notifies users if they are **distracted, sleepy, or have poor posture**.\n- 🖥️ **PyQt-based UI**: Provides an interactive interface for tracking and feedback visualization.\n- 📂 **Modular Architecture**: Components are structured separately for better code organization.\n\n---\n\n## 📁 Project Directory Structure\n\n```plaintext\nopti-tracker/\n├── README.md                   # Project documentation\n├── face_landmarks.py            # Facial landmark detection script\n├── icons.py                     # Handles icon resources\n├── main.py                      # Main entry point for the application\n├── requirements.txt              # List of dependencies\n│\n├── Audio/                        # Audio feedback alerts\n│   ├── Distracted.ogg            # Alert for distraction\n│   ├── Posture.ogg               # Alert for poor posture\n│   └── Sleepy.ogg                # Alert for drowsiness\n│\n├── media/                        # Folder for media resources\n├── mediapipe_experiments/        # Mediapipe experiment scripts\n│   ├── face_landmarks.py         # Face landmark detection experiments\n│   └── face_lm_rec.py            # Face recognition test script\n│\n└── models/                       # Pre-trained AI models\n    └── face_landmarker.task      # Model for face landmark detection\n\n\n```\n\n# Installation\n\n### 1. Clone the Repository\n\n``` \ngit clone https://github.com/yourusername/opti-tracker.git\ncd opti-tracker \n```\n### 2. Create a Virtual Environment\n\n```\npython3 -m venv venv\nsource venv/bin/activate  # For Linux/macOS\nvenv\\Scripts\\activate     # For Windows\n\n```\n### 3. Install Dependencies\n```\npip install -r requirements.txt\n\n```\n# Dependencies\n\nThe project relies on the following key libraries:\n\n* **PyQt5** – For GUI development.\n* **OpenCV** - For Video Capture and processing.\n* **MediaPipe** – For real-time facial landmark detection.\n* **PyDub** – For playing audio feedback.\n* **Additional** dependencies listed in `requirements.txt`.\n\n# 🚀 Usage\n\nTo run the Opti Tracker, execute:\n\n```\npython main.py\n\n```\nThis will launch the application and start tracking the user's face, detecting distractions, posture issues, or fatigue, and providing real-time feedback.\n\n# 🛠️ How It Works\n\nUses MediaPipe to analyze 68 facial landmarks in real time.\nContinuously monitors head position, eye movement, and posture.\nTriggers audio alerts from the Audio/ folder when:\n\n* User looks away (distracted)\n* Slouches (poor posture)\n* Shows signs of drowsiness (sleepy)\n\n# 🤝 Contributing\n\nWe welcome contributions! Follow these steps:\n\n### 1. Fork the repository.\n\n```\nhttps://github.com/SoumyaCO/Opti-Tracker.git\n\n```\n\n### 2. Create a new branch:\n\n```\ngit checkout -b feature-name\n```\n### 3. Make your changes and commit:\n\n```\ngit commit -m \"Added new feature\"\n```\n### 4. Push to the branch:\n\n```\ngit push origin feature-name\n```\n\n### 5. Submit a Pull Request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoumyaco%2Fopti-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoumyaco%2Fopti-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoumyaco%2Fopti-tracker/lists"}