{"id":13417847,"url":"https://github.com/opencv/opencv_contrib","last_synced_at":"2025-05-06T02:22:04.552Z","repository":{"id":37790337,"uuid":"12756992","full_name":"opencv/opencv_contrib","owner":"opencv","description":"Repository for OpenCV's extra modules","archived":false,"fork":false,"pushed_at":"2025-04-22T08:55:04.000Z","size":152890,"stargazers_count":9641,"open_issues_count":619,"forks_count":5824,"subscribers_count":383,"default_branch":"4.x","last_synced_at":"2025-04-22T13:02:33.498Z","etag":null,"topics":["opencv"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opencv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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,"zenodo":null}},"created_at":"2013-09-11T13:28:04.000Z","updated_at":"2025-04-22T09:22:26.000Z","dependencies_parsed_at":"2023-10-20T22:12:04.128Z","dependency_job_id":"97bd2738-fe70-4d15-953d-870c031fd5a9","html_url":"https://github.com/opencv/opencv_contrib","commit_stats":{"total_commits":2905,"total_committers":516,"mean_commits":5.62984496124031,"dds":0.9401032702237522,"last_synced_commit":"0377a6af9967ceb5176e00a05b3650ae1973fe9c"},"previous_names":[],"tags_count":55,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencv%2Fopencv_contrib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencv%2Fopencv_contrib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencv%2Fopencv_contrib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opencv%2Fopencv_contrib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opencv","download_url":"https://codeload.github.com/opencv/opencv_contrib/tar.gz/refs/heads/4.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252607389,"owners_count":21775467,"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":["opencv"],"created_at":"2024-07-30T22:00:53.906Z","updated_at":"2025-05-06T02:22:04.527Z","avatar_url":"https://github.com/opencv.png","language":"C++","readme":"## Repository for OpenCV's extra modules\n\nThis repository is intended for the development of so-called \"extra\" modules,\ncontributed functionality. New modules quite often do not have stable API,\nand they are not well-tested. Thus, they shouldn't be released as a part of the\nofficial OpenCV distribution, since the library maintains binary compatibility,\nand tries to provide decent performance and stability.\n\nSo, all the new modules should be developed separately, and published in the\n`opencv_contrib` repository at first. Later, when the module matures and gains\npopularity, it is moved to the central OpenCV repository, and the development team\nprovides production-quality support for this module.\n\n### How to build OpenCV with extra modules\n\nYou can build OpenCV, so it will include the modules from this repository. Contrib modules are under constant development and it is recommended to use them alongside the master branch or latest releases of OpenCV.\n\nHere is the CMake command for you:\n\n```\n$ cd \u003copencv_build_directory\u003e\n$ cmake -DOPENCV_EXTRA_MODULES_PATH=\u003copencv_contrib\u003e/modules \u003copencv_source_directory\u003e\n$ make -j5\n```\n\nAs the result, OpenCV will be built in the `\u003copencv_build_directory\u003e` with all\nmodules from `opencv_contrib` repository. If you don't want all of the modules,\nuse CMake's `BUILD_opencv_*` options. Like in this example:\n\n```\n$ cmake -DOPENCV_EXTRA_MODULES_PATH=\u003copencv_contrib\u003e/modules -DBUILD_opencv_legacy=OFF \u003copencv_source_directory\u003e\n```\n\nIf you also want to build the samples from the \"samples\" folder of each module, also include the \"-DBUILD_EXAMPLES=ON\" option.\n\nIf you prefer using the GUI version of CMake (cmake-gui), then, you can add `opencv_contrib` modules within `opencv` core by doing the following:\n\n1. Start cmake-gui.\n\n2. Select the opencv source code folder and the folder where binaries will be built (the 2 upper forms of the interface).\n\n3. Press the `configure` button. You will see all the opencv build parameters in the central interface.\n\n4. Browse the parameters and look for the form called `OPENCV_EXTRA_MODULES_PATH` (use the search form to focus rapidly on it).\n\n5. Complete this `OPENCV_EXTRA_MODULES_PATH` by the proper pathname to the `\u003copencv_contrib\u003e/modules` value using its browse button.\n\n6. Press the `configure` button followed by the `generate` button (the first time, you will be asked which makefile style to use).\n\n7. Build the `opencv` core with the method you chose (make and make install if you chose Unix makefile at step 6).\n\n8. To run, linker flags to contrib modules will need to be added to use them in your code/IDE. For example to use the aruco module, \"-lopencv_aruco\" flag will be added.\n\n### Update the repository documentation\n\nIn order to keep a clean overview containing all contributed modules, the following files need to be created/adapted:\n\n1. Update the README.md file under the modules folder. Here, you add your model with a single-line description.\n\n2. Add a README.md inside your own module folder. This README explains which functionality (separate functions) is available, links to the corresponding samples, and explains in somewhat more detail what the module is expected to do. If any extra requirements are needed to build the module without problems, add them here also.\n","funding_links":[],"categories":["TODO scan for Android support in followings","C++","\u003ca name=\"cpp\"\u003e\u003c/a\u003eC++","Computer Vision","\u003e 30k ★"],"sub_categories":["General Purpose CV"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopencv%2Fopencv_contrib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopencv%2Fopencv_contrib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopencv%2Fopencv_contrib/lists"}