{"id":26836641,"url":"https://github.com/rursprung/opencvtest","last_synced_at":"2025-03-30T16:28:53.004Z","repository":{"id":98975572,"uuid":"358186554","full_name":"rursprung/OpenCVTest","owner":"rursprung","description":"Example of how to use OpenCV in C++ with VCPkg","archived":false,"fork":false,"pushed_at":"2024-11-18T20:39:38.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-18T21:46:54.928Z","etag":null,"topics":["cmake","cpp","example","opencv","vcpkg"],"latest_commit_sha":null,"homepage":"","language":"C++","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/rursprung.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,"publiccode":null,"codemeta":null}},"created_at":"2021-04-15T08:35:28.000Z","updated_at":"2024-11-18T20:39:04.000Z","dependencies_parsed_at":"2024-11-19T06:17:39.424Z","dependency_job_id":null,"html_url":"https://github.com/rursprung/OpenCVTest","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rursprung%2FOpenCVTest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rursprung%2FOpenCVTest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rursprung%2FOpenCVTest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rursprung%2FOpenCVTest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rursprung","download_url":"https://codeload.github.com/rursprung/OpenCVTest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246346796,"owners_count":20762652,"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":["cmake","cpp","example","opencv","vcpkg"],"created_at":"2025-03-30T16:28:52.421Z","updated_at":"2025-03-30T16:28:52.995Z","avatar_url":"https://github.com/rursprung.png","language":"C++","readme":"# Simple OpenCV Application\nThis demo just shows the picture from your webcam. If the webcam can't be accessed or isn't present it'll fail with an error.\n\n## Building\nThis is a cross-platform project, you should be able to compile it on any target platform supported by OpenCV.\n\n### Prerequisites\nYou need to install the following tools:\n* a C++ compiler (might be packaged with your IDE)\n* CMake (might be packaged with your IDE)\n* optional: an IDE (e.g. Microsoft Visual Studio)\n* [vcpkg](https://docs.microsoft.com/en-us/cpp/build/vcpkg)\n\n### Configure the Environment for vcpkg\nThis needs to be done once:\n* Set up an environment variable `VCPKG_ROOT` and set it to the root directory of your vcpkg installation (see also [vcpkg environment](https://vcpkg.readthedocs.io/en/latest/users/config-environment/))\n* Set up an environment variable `CMAKE_TOOLCHAIN_FILE` and set it to `%VCPKG_ROOT%\\scripts\\buildsystems\\vcpkg.cmake` (Windows) or `${VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake` (Linux/Mac)\n  * Note: for this to work properly you need CMake \u003e= 3.21, see [the docs](https://cmake.org/cmake/help/v3.24/envvar/CMAKE_TOOLCHAIN_FILE.html#envvar:CMAKE_TOOLCHAIN_FILE).\n\n### Open in an IDE / Build\nVarious IDEs (e.g. CLion) have built-in support for CMake and can just directly open the directory as a project.\nSome, e.g. Visual Studio, need an additional component or plugin (for VS open the installer and make sure to select the CMake component).\n\nYou can also use CMake to generate any project files, incl. standard `Makefile`s.\n\nDue to the integration of vcpkg in CMake (thanks to the toolchain file) and the presence of the `vcpkg.json` config which\nspecifies the dependencies the build will automatically download \u0026 compile the necessary dependencies (incl. all transient dependencies).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frursprung%2Fopencvtest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frursprung%2Fopencvtest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frursprung%2Fopencvtest/lists"}