{"id":16112995,"url":"https://github.com/guilospanck/ra-opencv","last_synced_at":"2026-04-27T22:31:29.567Z","repository":{"id":103567213,"uuid":"208475000","full_name":"Guilospanck/RA-opencv","owner":"Guilospanck","description":"Augmented Reality with OpenCV using Python","archived":false,"fork":false,"pushed_at":"2024-12-28T15:09:50.000Z","size":508,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T07:28:34.273Z","etag":null,"topics":["ar","augmented-reality","opencv","python","ra"],"latest_commit_sha":null,"homepage":"","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/Guilospanck.png","metadata":{"files":{"readme":"README.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-14T17:11:32.000Z","updated_at":"2024-12-28T15:09:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"596791ed-524e-459f-8341-37d3bbb5a2b2","html_url":"https://github.com/Guilospanck/RA-opencv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Guilospanck/RA-opencv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guilospanck%2FRA-opencv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guilospanck%2FRA-opencv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guilospanck%2FRA-opencv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guilospanck%2FRA-opencv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Guilospanck","download_url":"https://codeload.github.com/Guilospanck/RA-opencv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Guilospanck%2FRA-opencv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32358509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["ar","augmented-reality","opencv","python","ra"],"created_at":"2024-10-09T20:09:56.164Z","updated_at":"2026-04-27T22:31:29.551Z","avatar_url":"https://github.com/Guilospanck.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RA-opencv\n\nAugmented Reality with OpenCV using Python.\n \n## Usage\n\n* Place the image of the surface to be tracked inside the `references` folder;\n* Replace `TRAIN_IMAGE_RELATIVE_PATH` with the relative path of the train image you want to track;\n* Replace `OBJ_MODEL_RELATIVE_PATH` with the relative path of the model you want to render. To change the size of the rendered model change the scale parameter `MODEL_OBJ_SCALE` to a suitable number. This might require some trial and error.\n\n## Running \n\nOpen a terminal session inside the project folder and run:\n\n```sh\n# Activate virtualenv\nvirtualenv python_ra\nsource python_ra/bin/activate\n# to deactivate: run `deactivate`\n```\nThen:\n\n```sh\n# Install from the requirements\npip install -r requirements.txt\npython3 src/ra.py\n```\n\n### Command line arguments\n\n* `--rectangle`, `-r`: Draws the projection of the reference surface on the video frame as a blue rectangle;\n* `--matches`, `-ma`: Draws matches between reference surface and video frame.\n\n```sh\npython3 src/ra.py -r -ma\n```\n\n## Troubleshooting\n\n**If you get the message**:\n\n```\nUnable to capture video\n```\n\nprinted to your terminal, the most likely cause is that your OpenCV installation has been compiled without FFMPEG support. Pre-built OpenCV packages such as the ones downloaded via pip are not compiled with FFMPEG support, which means that you have to build it manually.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguilospanck%2Fra-opencv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguilospanck%2Fra-opencv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguilospanck%2Fra-opencv/lists"}