Red OpenCV is a Ruby bindings of OpenCV. Red OpenCV is based on GObject Introspection.
OpenCV is a computer vision library.
GObject Introspection is a middleware for language bindings of C library. GObject Introspection can generate language bindings automatically at runtime.
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 OpenCV GLib before install Red OpenCV. Use packages.red-data-tools.org for installing OopenCV GLib.
Install Red OpenCV after you install OpenCV GLib:
% gem install red-opencv
require "cv" # TODO
- Kouhei Sutou <[email protected]>
The 3-Clause BSD license. See LICENSE for details.
(Kouhei Sutou has a right to change the license including contributed patches.)