Project

red-opencv

0.01
No commit activity in last 3 years
No release in over 3 years
[OpenCV][opencv] is a computer vision library.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

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.)