{"id":19205054,"url":"https://github.com/avirsaha/sitfix-ai","last_synced_at":"2025-02-23T06:22:34.675Z","repository":{"id":196220453,"uuid":"695051336","full_name":"avirsaha/sitfix-ai","owner":"avirsaha","description":"Posture control system developed in python for CS exhibition by students of BDMI.","archived":false,"fork":false,"pushed_at":"2023-10-22T09:20:08.000Z","size":3385,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-04T14:48:00.576Z","etag":null,"topics":["artificial-intelligence","computer-vision","mechine-learning"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/avirsaha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-22T08:46:42.000Z","updated_at":"2023-10-05T14:00:57.000Z","dependencies_parsed_at":"2023-09-28T16:23:34.854Z","dependency_job_id":"57f8761b-2ac5-490d-a6e3-0f43febbd367","html_url":"https://github.com/avirsaha/sitfix-ai","commit_stats":null,"previous_names":["avirsaha/sitfix-ai"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avirsaha%2Fsitfix-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avirsaha%2Fsitfix-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avirsaha%2Fsitfix-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avirsaha%2Fsitfix-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avirsaha","download_url":"https://codeload.github.com/avirsaha/sitfix-ai/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240277059,"owners_count":19775824,"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":["artificial-intelligence","computer-vision","mechine-learning"],"created_at":"2024-11-09T13:11:02.525Z","updated_at":"2025-02-23T06:22:34.650Z","avatar_url":"https://github.com/avirsaha.png","language":"Python","readme":"# Sitfix-ai Documentation\n\n## Contributers\nAuthor: [Aviraj Saha](mailto:aviraj.saha@outlook.com)\n\n## Table of Contents\n\n- [Dependencies](#dependencies)\n- [License](#license)\n- [How to Contribute](#how-to-contribute)\n- [Working Principle of Functions](#working-principle-of-functions)\n  - [initialize_pose_model](#initialize_pose_model)\n  - [capture_video](#capture_video)\n  - [process_frame](#process_frame)\n  - [display_posture_status](#display_posture_status)\n  - [process_video](#process_video)\n- [Time and Space Complexity](#time-and-space-complexity)\n- [Environment Setup](#environment-setup)\n- [Code of Conduct](#code-of-conduct)\n\n## Dependencies\n\n- [Python](https://www.python.org/) (\u003e= 3.10)\n- [OpenCV](https://opencv.org/)\n- [MediaPipe](https://mediapipe.dev/)\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.\n\n## Keywords\npass\n## How to Contribute\n\nWe welcome contributions! Please follow our [contribution guidelines](doc/CONTRIBUTING.md).\n\n## Working Principle of Functions\n\n### `initialize_pose_model`\n\nThis function initializes and configures the MediaPipe pose model for detecting human poses.\n\n*Time Complexity*: O(1)\n*Space Complexity*: O(1)\n\n### `capture_video`\n\nThis function captures video from the camera specified by the `camera_index`.\n\n*Time Complexity*: O(1)\n*Space Complexity*: O(1)\n\n### `process_frame`\n\nThis function processes a video frame, detecting and visualizing human poses.\n\n*Time Complexity*: Depends on the image size and pose detection model.\n*Space Complexity*: Depends on the image size and pose detection model.\n\n### `display_posture_status`\n\nThis function displays posture status on the provided image.\n\n*Time Complexity*: O(1)\n*Space Complexity*: O(1)\n\n### `process_video`\n\nThis function continuously processes video frames for posture detection and visualization.\n\n*Time Complexity*: Depends on the frame rate and image size.\n*Space Complexity*: Depends on the frame rate and image size.\n\n## Time and Space Complexity\n\nHere, we summarize the time and space complexities of each function.\n\n| Function               | Time Complexity           | Space Complexity         |\n|------------------------|---------------------------|--------------------------|\n| `initialize_pose_model`| O(1)                      | O(1)                     |\n| `capture_video`        | O(1)                      | O(1)                     |\n| `process_frame`        | Depends on image size and model | Depends on image size and model |\n| `display_posture_status`| O(1)                     | O(1)                     |\n| `process_video`        | Depends on frame rate and image size | Depends on frame rate and image size |\n\n## Environment Setup\n\nTo set up the environment for running this program, follow these steps:\n\n1. Clone the repository: `git clone https://github.com/avirsaha/sitfix-ai.git`\n2. Install Python (\u003e= 3.10) from [python.org](https://www.python.org/).\n3. Install dependencies: `pip install -r requirements.txt`\n---\n## Code of Conduct\n\nPlease read and follow our [Code of Conduct](doc/CODE_OF_CONDUCT.md) to ensure a respectful and inclusive community.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favirsaha%2Fsitfix-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favirsaha%2Fsitfix-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favirsaha%2Fsitfix-ai/lists"}