{"id":19225983,"url":"https://github.com/developer239/cv2-pytest-example","last_synced_at":"2025-02-23T10:18:58.506Z","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-01-04T21:33:07.575Z","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":"7d333f15-fb1b-4395-90a3-7af6e7c7ace7","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,"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","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240298873,"owners_count":19779353,"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":[],"created_at":"2024-11-09T15:17:00.350Z","updated_at":"2025-02-23T10:18:58.465Z","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"}