{"id":26059547,"url":"https://github.com/nexustech101/aircontrol","last_synced_at":"2026-04-21T01:30:56.907Z","repository":{"id":274572048,"uuid":"923348513","full_name":"nexustech101/AirControl","owner":"nexustech101","description":"Control your mouse cursor using hand gestures tracked by a webcam. This project uses computer vision and machine learning to detect hand movements, enabling a touchless and innovative way to navigate your computer.","archived":false,"fork":false,"pushed_at":"2025-02-12T03:17:32.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-08T13:28:08.796Z","etag":null,"topics":["computer-vision","controller","deep-learning"],"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/nexustech101.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}},"created_at":"2025-01-28T04:25:20.000Z","updated_at":"2025-02-24T00:46:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"b41c52d4-6e8e-4c19-a790-45c27003e5f6","html_url":"https://github.com/nexustech101/AirControl","commit_stats":null,"previous_names":["nexustech101/aircontrol"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nexustech101/AirControl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexustech101%2FAirControl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexustech101%2FAirControl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexustech101%2FAirControl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexustech101%2FAirControl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nexustech101","download_url":"https://codeload.github.com/nexustech101/AirControl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexustech101%2FAirControl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32072953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T21:26:33.338Z","status":"ssl_error","status_checked_at":"2026-04-20T21:26:22.081Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["computer-vision","controller","deep-learning"],"created_at":"2025-03-08T13:26:21.960Z","updated_at":"2026-04-21T01:30:56.892Z","avatar_url":"https://github.com/nexustech101.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AirControl | Hand Tracking Mouse Controller\n\nControl your mouse cursor and perform click, drag, and other actions using hand gestures tracked by your webcam. This project leverages **OpenCV**, **MediaPipe**, and **PyAutoGUI** to create an intuitive, touchless interface for interacting with your computer.\n\n---\n\n## Features\n- **Hand Gesture Recognition**: Detects hand gestures for cursor control, left-click, right-click, and dragging.\n- **Smooth Mouse Movements**: Uses a smoothing algorithm for precise control.\n- **Gesture-Based Clicks**: Perform left-click or right-click with specific finger gestures.\n- **Fist Detection for Dragging**: Enables drag-and-drop actions by closing your fist.\n- **Customizable Parameters**: Adjust sensitivity, smoothing, and speed to suit your needs.\n\n\u003c!-- ---\n\n## Demo\n![Hand Tracking Demo](demo.gif)\n- Coming soon...\n\n--- --\u003e\n\n## Technologies Used\n- **Python**: Core programming language.\n- **OpenCV**: For webcam video input and image processing.\n- **MediaPipe**: For hand tracking and landmark detection.\n- **PyAutoGUI**: To control mouse events like moving, clicking, and dragging.\n- **NumPy**: For efficient mathematical operations.\n\n---\n\n## Installation\n\n1. Clone the repository:\n    ```bash\n    git clone https://github.com/nexustech101/AirControl.git\n    cd AirControl\n    ```\n\n2. Optionally create a virtual environment:\n- Windows\n    ```bash\n    python -m venv venv\n    ```\n- MAC OS\n    ```bash\n    python -m venv venv\n    ```\n- Linux\n    ```bash\n    python3 -m venv venv\n    ```\n\n3. Install dependencies:\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n4. Run the project:\n    ```bash\n    python main.py\n    ```\n\n---\n\n## Usage\n\n1. Ensure you have a functional webcam connected to your system.\n2. Run the program to open the webcam interface.\n3. Use the following gestures:\n    - **Cursor Movement**: Move your index finger.\n    - **Left Click**: Pinch the index finger and thumb.\n    - **Right Click**: Pinch the pinky finger and thumb.\n    - **Drag and Drop**: Close your fist and move your hand.\n4. Press `q` to exit the program.\n\n---\n\n## Configuration\n\nCustomize the behavior of the controller by modifying parameters in the script:\n- `smoothing_factor`: Controls the smoothness of mouse movements (`0.0` for instant movement, `1.0` for maximum smoothing).\n- `speed_multiplier`: Adjusts the cursor speed.\n- `click_threshold`: Sensitivity for detecting clicks.\n- `fist_detection_threshold`: Sensitivity for detecting fist gestures.\n\n---\n\n## Limitations\n\n- Works best with good lighting conditions.\n- May struggle with detecting gestures when hands are too close to or far from the webcam.\n- Gesture detection might vary depending on background and hand positioning.\n\n---\n\n## Future Enhancements\n\n- Add support for multi-hand tracking.\n- Enable custom gesture mapping for specific actions.\n- Implement scrolling functionality using hand gestures.\n- Enhance accuracy for low-light environments.\n\n---\n\n## Contributing\n\nContributions are welcome! To contribute:\n1. Fork the repository.\n2. Create a new branch:\n    ```bash\n    git checkout -b feature-name\n    ```\n3. Commit your changes:\n    ```bash\n    git commit -m \"Add new feature\"\n    ```\n4. Push to your branch:\n    ```bash\n    git push origin feature-name\n    ```\n5. Submit a pull request.\n\n---\n\n## License\n\nThis project is licensed under the MIT License.\n\n---\n\n## Acknowledgements\n\n- [MediaPipe by Google](https://mediapipe.dev/) for the hand tracking solution.\n- [PyAutoGUI](https://pyautogui.readthedocs.io/) for simulating mouse movements.\n- [OpenCV](https://opencv.org/) for image processing.\n- Inspired by the endless possibilities of computer vision.\n\n---\n\n## Contact\n\nIf you have questions, suggestions, or feedback, feel free to open an issue or contact me directly.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnexustech101%2Faircontrol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnexustech101%2Faircontrol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnexustech101%2Faircontrol/lists"}