{"id":16031752,"url":"https://github.com/ismaeelakram/pycamera","last_synced_at":"2025-07-25T14:14:13.319Z","repository":{"id":62579140,"uuid":"376875153","full_name":"IsmaeelAkram/pycamera","owner":"IsmaeelAkram","description":"An easier solution to computer vision.","archived":false,"fork":false,"pushed_at":"2021-07-12T22:11:34.000Z","size":35,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-12T02:28:15.545Z","etag":null,"topics":["computer-vision","opencv","python3"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/pycamera/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IsmaeelAkram.png","metadata":{"files":{"readme":"README-pypi.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-14T15:41:29.000Z","updated_at":"2025-03-13T12:13:15.000Z","dependencies_parsed_at":"2022-11-03T21:02:14.494Z","dependency_job_id":null,"html_url":"https://github.com/IsmaeelAkram/pycamera","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/IsmaeelAkram/pycamera","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IsmaeelAkram%2Fpycamera","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IsmaeelAkram%2Fpycamera/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IsmaeelAkram%2Fpycamera/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IsmaeelAkram%2Fpycamera/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IsmaeelAkram","download_url":"https://codeload.github.com/IsmaeelAkram/pycamera/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IsmaeelAkram%2Fpycamera/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267018487,"owners_count":24022277,"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","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"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":["computer-vision","opencv","python3"],"created_at":"2024-10-08T21:05:21.668Z","updated_at":"2025-07-25T14:14:13.275Z","avatar_url":"https://github.com/IsmaeelAkram.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"An easier solution to computer vision.\n\n## What is pycamera?\n\nPyCamera is a computer vision library for people who, don't know how to use OpenCV, don't want to use OpenCV for such a simple project, or want something easier!\n\n## Examples\n\n### Save Picture\n```python\nfrom pycamera import camera\n\ncam = camera.Camera(0) # Choosing a camera\nsnap = cam.snap() # Snapping a picture from that camera\n\nsnap.save(\"output.jpg\") # Save picture to output.jpg\n```\n\n### Editing with Pillow\n\n```python\nfrom pycamera import camera\nfrom PIL import ImageDraw\n\ncam = camera.Camera(0)  # Choosing a camera\nsnap = cam.snap()  # Snap photo\nimage = snap.to_pillow()  # Convert pycamera image to Pillow image\n\ndraw = ImageDraw.Draw(image)\nwhite = (255, 255, 255)\ndraw.ellipse([(10, 10), (100, 100)], width=3, fill=white, outline=white)  # Draw circle\nimage.show()\n```\n\n### Live View\n\n```python\nimport pycamera\nfrom pycamera import camera\n\ncam = camera.Camera(0) # Choosing a camera\n\nwhile True:\n    snap = cam.read() # (reading is better for loops)\n    snap.show()\n    pycamera.waitForKey() # Wait until key is pressed (default key is Escape)\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fismaeelakram%2Fpycamera","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fismaeelakram%2Fpycamera","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fismaeelakram%2Fpycamera/lists"}