Skip to content
Ruby bindings for OpenCL based on GObject Introspection
Branch: master
Clone or download
Latest commit 7383b0e Aug 14, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dependency-check Remove nonexistent Red Hat package information Jun 27, 2018
lib Bump version Jun 27, 2018
sample Add face detect example Jun 13, 2018
test Image.read: accept Pathname Mar 20, 2018
.gitignore Import Mar 20, 2018
.travis.yml travis: use Webhook Aug 14, 2018
.yardopts Import Mar 20, 2018
Dockerfile travis: add missing compiler package Jun 27, 2018
Gemfile Enable Travis CI Jun 27, 2018
LICENSE Import Mar 20, 2018
README.md Import Mar 20, 2018
Rakefile Import Mar 20, 2018
red-opencv.gemspec Fix a typo Mar 27, 2018

README.md

README

Name

Red OpenCV

Description

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.

Red OpenCV uses OpenCV GLib and 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 for installing OopenCV GLib.

Install Red OpenCV after you install OpenCV GLib:

% gem install red-opencv

Usage

require "cv"

# TODO

Dependencies

Authors

License

The 3-Clause BSD license. See LICENSE for details.

(Kouhei Sutou has a right to change the license including contributed patches.)

You can’t perform that action at this time.