{"id":19225983,"url":"https://github.com/developer239/cv2-pytest-example","last_synced_at":"2026-06-23T10:32:30.772Z","repository":{"id":233113405,"uuid":"786072142","full_name":"developer239/cv2-pytest-example","owner":"developer239","description":null,"archived":false,"fork":false,"pushed_at":"2024-04-13T12:25:16.000Z","size":4451,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-23T10:19:17.398Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/developer239.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}},"created_at":"2024-04-13T10:42:35.000Z","updated_at":"2024-04-13T10:42:46.000Z","dependencies_parsed_at":"2024-04-14T00:45:30.236Z","dependency_job_id":"a2eeb05a-1671-419f-b915-33a7c5f600ac","html_url":"https://github.com/developer239/cv2-pytest-example","commit_stats":null,"previous_names":["developer239/cv2-pytest-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/developer239/cv2-pytest-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developer239%2Fcv2-pytest-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developer239%2Fcv2-pytest-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developer239%2Fcv2-pytest-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developer239%2Fcv2-pytest-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/developer239","download_url":"https://codeload.github.com/developer239/cv2-pytest-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/developer239%2Fcv2-pytest-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34686725,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-09T15:17:00.350Z","updated_at":"2026-06-23T10:32:30.739Z","avatar_url":"https://github.com/developer239.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Test](https://github.com/developer239/cv2-pytest-example/actions/workflows/python-app.yml/badge.svg)](https://github.com/developer239/cv2-pytest-example/actions/workflows/python-app.yml)\n\n# Webcam Application with Face Detection\n\nThis application utilizes a webcam to display a live feed, draw a rectangle in the center, detect faces, and draw rectangles around detected faces. Additionally, it draws an arrow from the center rectangle to each detected face.\n\n![Webcam Application Preview](preview.gif)\n\n## Setup\n\n### Prerequisites\n- Ensure you have Conda installed on your system. If not, install it from [Conda's official site](https://www.conda.io).\n\n### Installation\n1. Clone the repository or download the source code.\n2. Navigate to the project directory.\n3. Create the Conda environment with the required dependencies:\n   ```\n   conda env create -f environment.yml\n   ```\n4. Activate the newly created environment:\n   ```\n   conda activate webcam-app\n   ```\n5. **(optional)** Configure PyCharm to use the Conda environment:\n   - Search for current interpreter in the bottom right corner of the IDE and click the button name.\n   - Select 'Add Interpreter' and 'Add Local Interpreter'.\n   - Choose 'Conda Environment' and 'Use Existing' and select the newly created 'webcam-app' environment.\n\n## Running the Application\nTo start the application, execute the following command in your terminal:\n```\npython src/main.py\n```\nThe application window will open displaying the webcam feed. Press 'q' to quit the application.\n\n## Running Tests\nTo ensure the functions are working as expected, run the unit tests with Pytest:\n```\npytest tests/\n```\n\n## Running Linter\nTo check the code for any linting errors, run the following command:\n```\nruff check src/ tests/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeveloper239%2Fcv2-pytest-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeveloper239%2Fcv2-pytest-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeveloper239%2Fcv2-pytest-example/lists"}