{"id":17354146,"url":"https://github.com/dovyski/setup-opencv-action","last_synced_at":"2025-04-14T21:52:37.728Z","repository":{"id":40717520,"uuid":"266858700","full_name":"Dovyski/setup-opencv-action","owner":"Dovyski","description":"Github Action to download and setup OpenCV","archived":false,"fork":false,"pushed_at":"2023-07-12T05:47:29.000Z","size":623,"stargazers_count":26,"open_issues_count":6,"forks_count":9,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-04T03:34:22.086Z","etag":null,"topics":["ci","computer-vision","github-action","github-actions","opencv","opencv-library"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Dovyski.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["dovyski"]}},"created_at":"2020-05-25T19:02:19.000Z","updated_at":"2024-10-26T13:30:18.000Z","dependencies_parsed_at":"2024-06-19T15:45:01.193Z","dependency_job_id":"f2409ca7-80a1-459f-9f7f-1229ac0feb53","html_url":"https://github.com/Dovyski/setup-opencv-action","commit_stats":{"total_commits":19,"total_committers":5,"mean_commits":3.8,"dds":"0.21052631578947367","last_synced_commit":"0df3e86223b658f165e10a4573f645d463a59fa6"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dovyski%2Fsetup-opencv-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dovyski%2Fsetup-opencv-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dovyski%2Fsetup-opencv-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dovyski%2Fsetup-opencv-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dovyski","download_url":"https://codeload.github.com/Dovyski/setup-opencv-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248968757,"owners_count":21191158,"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":["ci","computer-vision","github-action","github-actions","opencv","opencv-library"],"created_at":"2024-10-15T17:19:12.526Z","updated_at":"2025-04-14T21:52:37.703Z","avatar_url":"https://github.com/Dovyski.png","language":"JavaScript","funding_links":["https://github.com/sponsors/dovyski"],"categories":[],"sub_categories":[],"readme":"# Setup OpenCV\n\nThis action downloads, compiles and installs OpenCV. You can choose the version to be installed, as well as how the build/install should occour. If you just want OpenCV installed and ready for use in your Github Actions, this is for you.\n\nCheck out the [`.github/workflows/basic.yml`](https://github.com/Dovyski/setup-opencv-action/blob/master/.github/workflows/basic.yml) file to see this action working.\n\n\u003e **NOTICE:** this action was created to support CI testings of [cvui](https://github.com/Dovyski/cvui), a GUI library for OpenCV.\n\n## Inputs\n\n| Name  | Description | Default value |\n|---|---|---|\n| `opencv-verion` | OpenCV version to be installed. | - |\n| `opencv-extra-modules` | If [opencv-contrib](https://github.com/opencv/opencv_contrib) (extra modules) should be included in the instalation. | `true` |\n| `install-deps` | If dependencies should be installed as well, e.g. libs, cmake, etc. | `true` |\n| `CMAKE_BUILD_TYPE` | | `RELEASE` |\n| `CMAKE_CXX_COMPILER` | | `g++` |\n| `CMAKE_INSTALL_PREFIX` | | `/usr/local` |\n| `WITH_TBB` | | `ON` |\n| `WITH_IPP` | | `ON` |\n| `BUILD_NEW_PYTHON_SUPPORT` | | `OFF` |\n| `WITH_V4L` | | `OFF` |\n| `ENABLE_PRECOMPILED_HEADERS` | | `ON` |\n| `INSTALL_C_EXAMPLES` | | `OFF` |\n| `INSTALL_PYTHON_EXAMPLES` | | `OFF` |\n| `BUILD_EXAMPLES` | | `OFF` |\n| `WITH_QT` | | `OFF` |\n| `WITH_OPENGL` | | `OFF` |\n| `GENERATE_PKGCONFIG` | | `OFF` |\n\n## Usage\n\nSee [action.yml](action.yml)\n\nBasic:\n```yaml\nsteps:\n- uses: actions/checkout@v2\n- uses: Dovyski/setup-opencv-action@v1.1\n  with:\n    opencv-version: '4.0.0'\n```\n\nCustom build and install:\n```yaml\nsteps:\n- uses: actions/checkout@v2\n- uses: Dovyski/setup-opencv-action@v1.1\n  with:\n    opencv-version: 4.0.0\n    ENABLE_PRECOMPILED_HEADERS: OFF\n    INSTALL_C_EXAMPLES: ON\n    BUILD_EXAMPLES: ON\n```\n\nInstall development version (master branch, not released yet):\n```yaml\nsteps:\n- uses: actions/checkout@v2\n- uses: Dovyski/setup-opencv-action@v1.1\n  with:\n    opencv-version: master\n```\n\nMatrix testing:\n```yaml\njobs:\n  build:\n    runs-on: ubuntu-18.04\n    strategy:\n      matrix:\n        opencv: [ '3.4.0', '4.0.0', '4.1.0' ]\n    name: OpenCV ${{ matrix.opencv }}\n    steps:\n      - uses: actions/checkout@v2\n      - name: Setup opencv\n        uses: Dovyski/setup-opencv-action@v1.1\n        with:\n          opencv-version: ${{ matrix.opencv }}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdovyski%2Fsetup-opencv-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdovyski%2Fsetup-opencv-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdovyski%2Fsetup-opencv-action/lists"}