{"id":32564222,"url":"https://github.com/cirquit/opencv-template","last_synced_at":"2026-05-16T00:37:52.992Z","repository":{"id":80313688,"uuid":"100270427","full_name":"cirquit/opencv-template","owner":"cirquit","description":null,"archived":false,"fork":false,"pushed_at":"2019-04-12T14:28:34.000Z","size":147,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-10T03:00:57.873Z","etag":null,"topics":["cpp14","opencv"],"latest_commit_sha":null,"homepage":null,"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/cirquit.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-08-14T13:26:37.000Z","updated_at":"2019-04-12T14:28:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"86d1c555-5a18-47a8-898a-c80931f07d35","html_url":"https://github.com/cirquit/opencv-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cirquit/opencv-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirquit%2Fopencv-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirquit%2Fopencv-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirquit%2Fopencv-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirquit%2Fopencv-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cirquit","download_url":"https://codeload.github.com/cirquit/opencv-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cirquit%2Fopencv-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281556916,"owners_count":26521572,"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-10-29T02:00:06.901Z","response_time":59,"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":["cpp14","opencv"],"created_at":"2025-10-29T03:55:42.909Z","updated_at":"2025-10-29T03:56:07.766Z","avatar_url":"https://github.com/cirquit.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"## OpenCV / C++ Template\n\nThis template project consists of a single library, an executable that uses the library and tests for the library with the `catch` framework. `CMake` is used for the build system.\n\nAdditinaly, the OpenCV library can be enabled with a `WITH_OPENCV_DEBUG` flag.\n\n##### How to use\n```bash\n\u003e git clone https://github.com/cirquit/opencv-template\n\u003e cd opencv-template\n\u003e rm .git\n\u003e cd ..\n\u003e mv opencv-template \u003cyour-project-name\u003e\n\u003e cd \u003cyour-project-name\u003e\n\u003e vim CMakeLists.txt \n(modify the project names)\n```\n\n##### How to install OpenCV\n\n* Go to the [OpenCV hompage](http://opencv.org/releases.html), download the latest stable source (I it tested with 3.3).\n* Extract the folder `opencv-3.3` anywhere\n* You probably will have to install multiple dependencies, which are missing. This depends on, e.g Java and Python bindings, use of `gstreamer` etc. Modify the `opencv-3.3/CMakeLists.txt` file accordingly and install the tools. Almost any errors you will encounter are easily searchable, which point to a single `apt-get install` command.\n* Here is one, which covers the basics requirements `sudo apt-get install build-essential cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev`\n* Alternativly, you can try to execute [this prepared script](./install-opencv.sh), but it would be wise to run it line by line to fix the errors you encounter\n\n\n```bash\n\u003e cd opencv-3.3\n\u003e mkdir build \u0026\u0026 cd build\n```\n\nIf you want to finalize your OpenCV program and run it on a e.g Jetson TX1, use the following command (this improves the overall performance):\n\n```bash\n\u003e cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local .. \n```\n\nOtherwise, to be able to find bugs easier with `gdb`, compile with\n\n```bash\n\u003e cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr/local ..\n```\n\nAfterwards, install the library:\n\n```bash\n\u003e make\n\u003e sudo make install\n```\n\n##### How to enable opencv while compiling\n```bash\n\u003e cd \u003cyour-project-name\u003e\n\u003e mkdir build \u0026\u0026 cd build\n\u003e cmake .. -DWITH_OPENCV_DEBUG=ON\n\u003e make\n```\n\n##### How run example program\n\n```bash\n\u003e cd \u003cyour-project-name\u003e\n\u003e mkdir build \u0026\u0026 cd build\n\u003e cmake .. -DWITH_OPENCV_DEBUG=ON\n\u003e make\n\u003e cd src\n\u003e ./opencv-exec\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcirquit%2Fopencv-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcirquit%2Fopencv-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcirquit%2Fopencv-template/lists"}