https://github.com/red-data-tools/red-opencv
Ruby bindings for OpenCL based on GObject Introspection
https://github.com/red-data-tools/red-opencv
Last synced: about 1 year ago
JSON representation
Ruby bindings for OpenCL based on GObject Introspection
- Host: GitHub
- URL: https://github.com/red-data-tools/red-opencv
- Owner: red-data-tools
- License: other
- Created: 2018-03-20T04:24:57.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-10-18T02:41:36.000Z (over 6 years ago)
- Last Synced: 2025-04-13T20:14:56.023Z (about 1 year ago)
- Language: Ruby
- Size: 18.6 KB
- Stars: 7
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Red OpenCV
## Description
Red OpenCV is a Ruby bindings of OpenCV. Red OpenCV is based on GObject Introspection.
[OpenCV][opencv] is a computer vision library.
[GObject Introspection][gobject-introspection] is a middleware for language bindings of C library. GObject Introspection can generate language bindings automatically at runtime.
Red OpenCV uses [OpenCV GLib][opencv-glib] and [gobject-introspection gem][gobject-introspection-gem] to generate Ruby bindings of OpenCV.
OpenCV GLib is a C wrapper for OpenCV. GObject Introspection can't use OpenCV directly because OpenCV uses C++. OpenCV GLib is a bridge between OpenCV and GObject Introspection.
gobject-introspection gem is a Ruby bindings of GObject Introspection. Red OpenCV uses GObject Introspection via gobject-introspection gem.
## Install
Install OpenCV GLib before install Red OpenCV. Use [packages.red-data-tools.org][packages-red-data-tools-org] for installing OopenCV GLib.
Install Red OpenCV after you install OpenCV GLib:
```text
% gem install red-opencv
```
## Usage
```ruby
require "cv"
# TODO
```
## Dependencies
* [OpenCV][opencv]
* [OpenCV GLib][opencv-glib]
## Authors
* Kouhei Sutou \
## License
[The 3-Clause BSD license][bsd-3-clause]. See LICENSE for details.
(Kouhei Sutou has a right to change the license including contributed
patches.)
[opencv]:https://opencv.org/
[gobject-introspection]:https://wiki.gnome.org/action/show/Projects/GObjectIntrospection
[opencv-glib]:https://github.com/red-data-tools/opencv-glib
[gobject-introspection-gem]:https://rubygems.org/gems/gobject-introspection
[packages-red-data-tools-org]:https://github.com/red-data-tools/packages.red-data-tools.org
[bsd-3-clause]:https://opensource.org/licenses/BSD-3-Clause