{"id":23450819,"url":"https://github.com/red-data-tools/opencv-glib","last_synced_at":"2025-04-13T20:15:09.816Z","repository":{"id":43371853,"uuid":"125222652","full_name":"red-data-tools/opencv-glib","owner":"red-data-tools","description":"GLib bindings for OpenCV","archived":false,"fork":false,"pushed_at":"2022-08-13T14:43:42.000Z","size":86,"stargazers_count":4,"open_issues_count":1,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-13T20:15:03.354Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/red-data-tools.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}},"created_at":"2018-03-14T14:09:24.000Z","updated_at":"2025-01-15T21:22:58.000Z","dependencies_parsed_at":"2022-08-20T13:20:33.897Z","dependency_job_id":null,"html_url":"https://github.com/red-data-tools/opencv-glib","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/red-data-tools%2Fopencv-glib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/red-data-tools%2Fopencv-glib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/red-data-tools%2Fopencv-glib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/red-data-tools%2Fopencv-glib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/red-data-tools","download_url":"https://codeload.github.com/red-data-tools/opencv-glib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248774968,"owners_count":21159534,"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":[],"created_at":"2024-12-24T00:15:15.078Z","updated_at":"2025-04-13T20:15:09.792Z","avatar_url":"https://github.com/red-data-tools.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenCV GLib\n\nOpenCV GLib is a wrapper library for [OpenCV][opencv]. OpenCV GLib\nprovides C API.\n\nOpenCV GLib supports [GObject Introspection][gobject-introspection].\nIt means that you can create language bindings at runtime or compile\ntime.\n\nFor example, you can use OpenCV from Ruby by OpenCV GLib and\n[gobject-introspection gem][gobject-introspection-gem] with the\nfollowing code:\n\n```ruby\n# Generate bindings at runtime\nrequire \"gi\"\nCV = GI.load(\"CV\")\n\n# TODO\n```\n\n## Install\n\nYou can use packages or build by yourself to install OpenCV GLib. It's\nrecommended that you use packages.\n\n### Package\n\nYou can install packages from https://packages.red-data-tools.org/ .\nSee\nhttps://github.com/red-data-tools/packages.red-data-tools.org#readme\nfor details.\n\n### How to build by users\n\nOpenCV GLib users should use released source archive to build OpenCV\nGLib:\n\n```console\n% OPENCV_GLIB_VERSION=1.0.0\n% wget https://github.com/red-data-tools/opencv-glib/releases/download/${OPENCV_GLIB_VERSION}/opencv-glib-${OPENCV_GLIB_VERSION}.tar.gz\n% tar xf opencv-glib-${OPENCV_GLIB_VERSION}.tar.gz\n% cd opencv-glib-${OPENCV_GLIB_VERSION}\n```\n\nYou need to install the followings before you install OpenCV GLib:\n\n  * [OpenCV][opencv]\n\n  * [GObject Introspection][gobject-introspection]\n\n  * [Meson][meson]\n\n  * [Ninja][ninja]\n\nYou can build and install OpenCV GLib after you install them:\n\n```console\n% mkdir -p build\n% meson build --buildtype=release\n% (cd build \u0026\u0026 ninja)\n% (cd build \u0026\u0026 sudo ninja install)\n```\n\n### How to build by developers\n\nYou need to install the followings before you install OpenCV GLib:\n\n  * [OpenCV][opencv]\n\n  * [GObject Introspection][gobject-introspection]\n\n  * [Meson][meson]\n\n  * [Ninja][ninja]\n\n  * [GTK-Doc][gtk-doc]\n\nYou can install them by the followings:\n\nOn Debian GNU/Linux or Ubuntu:\n\n```text\n% sudo apt install -y -V meson ninja-build gtk-doc-tools libgirepository1.0-dev\n```\n\nOn Fedora:\n\n```text\nsudo dnf install -y meson ninja-build gtk-doc gobject-introspection-devel\n```\n\nOn CentOS 7 or later:\n\n```text\n% sudo yum install -y gtk-doc gobject-introspection-devel\n% sudo pip install -y meson ninja\n```\n\nOn macOS with [Homebrew][homebrew]:\n\n```text\n% brew install -y gtk-doc gobject-introspection meson ninja\n```\n\nYou can build and install OpenCV GLib after you install them:\n\n```console\n% mkdir -p build\n% meson build -Dgtk_doc=true\n% (cd build \u0026\u0026 ninja)\n% (cd build \u0026\u0026 sudo ninja install)\n```\n\n## Usage\n\nTODO\n\n### C\n\nYou can find API reference in the\n`/usr/local/share/gtk-doc/html/opencv-glib/` directory. If you\nspecify `--prefix` to `configure`, the directory will be different.\n\nTODO: Examples\n\n### Language bindings\n\nTODO\n\n## License\n\n[The 3-Clause BSD license][bsd-3-clause]. See LICENSE for details.\n\n(Kouhei Sutou has a right to change the license including contributed\npatches.)\n\n[opencv]:https://opencv.org/\n\n[gobject-introspection]:https://wiki.gnome.org/Projects/GObjectIntrospection\n\n[gobject-introspection-gem]:https://rubygems.org/gems/gobject-introspection\n\n[meson]:http://mesonbuild.com/\n\n[ninja]:https://ninja-build.org/\n\n[gtk-doc]:https://www.gtk.org/gtk-doc/\n\n[homebrew]:https://brew.sh/\n\n[bsd-3-clause]:https://opensource.org/licenses/BSD-3-Clause\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fred-data-tools%2Fopencv-glib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fred-data-tools%2Fopencv-glib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fred-data-tools%2Fopencv-glib/lists"}