{"id":37221751,"url":"https://github.com/lion24/pyvision","last_synced_at":"2026-01-15T01:27:42.960Z","repository":{"id":245887116,"uuid":"819298733","full_name":"lion24/pyvision","owner":"lion24","description":"A minimal computer vision system in Python","archived":false,"fork":false,"pushed_at":"2025-12-19T00:08:11.000Z","size":36829,"stargazers_count":0,"open_issues_count":11,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-21T23:24:49.989Z","etag":null,"topics":["ai","camera","coco","computer-vision","image","image-processing","learning","opencv","python","yolo"],"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/lion24.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-06-24T08:25:52.000Z","updated_at":"2025-06-27T13:08:01.000Z","dependencies_parsed_at":"2024-08-03T02:12:43.016Z","dependency_job_id":"0aa86cf7-121c-411d-be32-975ac6d7b368","html_url":"https://github.com/lion24/pyvision","commit_stats":null,"previous_names":["lion24/pyvision"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/lion24/pyvision","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lion24%2Fpyvision","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lion24%2Fpyvision/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lion24%2Fpyvision/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lion24%2Fpyvision/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lion24","download_url":"https://codeload.github.com/lion24/pyvision/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lion24%2Fpyvision/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28441031,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-15T00:55:22.719Z","status":"ssl_error","status_checked_at":"2026-01-15T00:55:20.945Z","response_time":107,"last_error":"SSL_read: 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":["ai","camera","coco","computer-vision","image","image-processing","learning","opencv","python","yolo"],"created_at":"2026-01-15T01:27:42.390Z","updated_at":"2026-01-15T01:27:42.948Z","avatar_url":"https://github.com/lion24.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pyvision\n\n[![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch) [![linting - Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) [![Checked with pyright](https://microsoft.github.io/pyright/img/pyright_badge.svg)](https://microsoft.github.io/pyright/)\n\n## Bootstrap\n\n### Dependencies\n\nYou need the Windows SDK and Python native code extension enabled. This is needed to enemurate camera of the system.\nSee [device_ext](#device_ext) section.\n\nInstall [Hatch](https://hatch.pypa.io/latest/install/#windows)\n\nHatch is a modern, extensible Python project manager. It will automtically help to construct the\nproject, managed the dependencies and automatically keep everything in sync.\n\nAnd run using:\n```sh\nhatch env prune # make sure no previous env is left over which can cause some issues.\nhatch env create\n# hatch -vv env create # If you want more debug you can run this one\nhatch run pyvision\n```\n\n## device_ext\n\nUsing opencv it is not possible to enumerate capture device.\nFor that we need to use native code that will use the DirectShow C++ windows API\nto enumerate the capture device available on the system.\n`device_ext` is a hence a shared library that query the DirectShow API and return\na list of tuple for every capture devices found on the system and the supported resolution\nfor each of the devices.\n\nThis library is automatically built and shipped when running the project.\nIt requires the Windows SDK and Python native code extension enabled.\nThose can be obtained from the [Visual Studio Community installer](https://visualstudio.microsoft.com/vs/community/) (not visual studio code)\n\n![alt text](./data/images/vs-python.png)\n\nEnsure that C++ for desktop is ticked but also Python development with native Python development tools checked.\nWe don't need to install Python from there, since this will be automatically handle by hatch.\n\n## Some references\n\nHere are the GitHub bibliographical references in markdown format:\n\n* [Week 4: Image Filtering and Edge Detection](https://sbme-tutorials.github.io/2018/cv/notes/4_week4.html)\n* [Image Gradients with OpenCV (Sobel and Scharr)](https://pyimagesearch.com/2021/05/12/image-gradients-with-opencv-sobel-and-scharr/)\n* [Optimizing RTSP Video Processing in OpenCV: Overcoming FPS Discrepancies and Buffering Issues](https://medium.com/@vikas.c20/optimizing-rtsp-video-processing-in-opencv-overcoming-fps-discrepancies-and-buffering-issues-463e204c7b86)\n* [Exploring the Data Types in OpenCV4: A Comprehensive Guide](https://medium.com/@nullbyte.in/part-2-exploring-the-data-types-in-opencv4-a-comprehensive-guide-49272f4a775)\n* [Image Edge Detection: Sobel and Laplacian](https://www.bogotobogo.com/python/OpenCV_Python/python_opencv3_Image_Gradient_Sobel_Laplacian_Derivatives_Edge_Detection.php)\n* [OpenCV Transparent API](https://learnopencv.com/opencv-transparent-api/)\n* [Edge Detection with Gaussian Blur](https://www.projectrhea.org/rhea/index.php/Edge_Detection_with_Gaussian_Blur)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flion24%2Fpyvision","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flion24%2Fpyvision","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flion24%2Fpyvision/lists"}