ropencv 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +21 -4
- data/ropencv.gemspec +8 -4
- metadata +4 -4
data/README.md
CHANGED
@@ -1,12 +1,29 @@
|
|
1
|
-
# ffi ruby wrapper for
|
2
|
-
This
|
1
|
+
# ffi ruby wrapper for OpenCV
|
2
|
+
This are automated ffi ruby wrappers for opencv 2.4.4 and higher. For wrapping
|
3
|
+
all marked OpenCV C++ methods the OpenCV hdr parser is used to parse the OpenCV
|
4
|
+
header files. From there rbind generates a C interface and ruby classes. The
|
5
|
+
ruby classes are using the C interface via ffi to give the user the same object
|
6
|
+
oriented experience on the ruby side like he has on the c++ side.
|
7
|
+
|
8
|
+
## State:
|
9
|
+
- All marked methods in the OpenCV C++ header are wrapped
|
10
|
+
- Most of the OpenCV types have conversion function from and to ruby types
|
11
|
+
- Some convenient methods are still missing
|
12
|
+
- Memory management needs review
|
13
|
+
- Currently, no support for multi threading
|
14
|
+
|
15
|
+
## Supported OpenCV versions:
|
16
|
+
- 2.4.4
|
17
|
+
- 2.4.5
|
18
|
+
- 2.4.6
|
19
|
+
- 2.4.9
|
3
20
|
|
4
21
|
# Installation
|
5
|
-
You have to install opencv 2.4.4 or 2.4.9 first. After this you can install the opencv ruby bindings via:
|
22
|
+
You have to install opencv 2.4.4 - 2.4.6 or 2.4.9 first. After this you can install the opencv ruby bindings via:
|
6
23
|
- gem install ropencv
|
7
24
|
|
8
25
|
# Additional methods
|
9
|
-
The following methods
|
26
|
+
The following methods are available in ruby despite the fact they are not marked to be exported in the c++ headers:
|
10
27
|
- drawMatches
|
11
28
|
- findEssentialMat (OpenCV 2.4.9)
|
12
29
|
- recoverPose (OpenCV 2.4.9)
|
data/ropencv.gemspec
CHANGED
@@ -1,13 +1,17 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'ropencv'
|
3
|
-
s.version = '0.0.
|
3
|
+
s.version = '0.0.5'
|
4
4
|
s.date = '2013-07-03'
|
5
5
|
s.platform = Gem::Platform::RUBY
|
6
6
|
s.authors = ['Alexander Duda']
|
7
7
|
s.email = ['Alexander.Duda@dfki.de']
|
8
|
-
s.homepage = 'http://github.com/'
|
9
|
-
s.summary = 'Automated ffi-bindings for opencv 2.4.4 and
|
10
|
-
s.description = ''
|
8
|
+
s.homepage = 'http://github.com/D-Alex/ropencv'
|
9
|
+
s.summary = 'Automated ffi-bindings for opencv 2.4.4 and higher'
|
10
|
+
s.description = 'This are automated ffi ruby wrappers for opencv 2.4.4 and higher. For wrapping '\
|
11
|
+
'all marked OpenCV C++ methods the OpenCV hdr parser is used to parse the OpenCV '\
|
12
|
+
'header files. From there rbind generates a C interface and ruby classes. The '\
|
13
|
+
'ruby classes are using the C interface via ffi to give the user the same object '\
|
14
|
+
'oriented experience on the ruby side like he has on the c++ side.'
|
11
15
|
s.files = `git ls-files`.split("\n")
|
12
16
|
s.require_path = 'lib/ruby'
|
13
17
|
s.required_rubygems_version = ">= 1.3.6"
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: ropencv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.5
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Alexander Duda
|
@@ -34,7 +34,7 @@ dependencies:
|
|
34
34
|
version: 1.9.0
|
35
35
|
type: :runtime
|
36
36
|
version_requirements: *id002
|
37
|
-
description:
|
37
|
+
description: This are automated ffi ruby wrappers for opencv 2.4.4 and higher. For wrapping all marked OpenCV C++ methods the OpenCV hdr parser is used to parse the OpenCV header files. From there rbind generates a C interface and ruby classes. The ruby classes are using the C interface via ffi to give the user the same object oriented experience on the ruby side like he has on the c++ side.
|
38
38
|
email:
|
39
39
|
- Alexander.Duda@dfki.de
|
40
40
|
executables: []
|
@@ -67,7 +67,7 @@ files:
|
|
67
67
|
- lib/ruby/ropencv.rb
|
68
68
|
- lib/ruby/ropencv/ropencv_ruby.rb
|
69
69
|
- ropencv.gemspec
|
70
|
-
homepage: http://github.com/
|
70
|
+
homepage: http://github.com/D-Alex/ropencv
|
71
71
|
licenses: []
|
72
72
|
|
73
73
|
post_install_message:
|
@@ -93,6 +93,6 @@ rubyforge_project:
|
|
93
93
|
rubygems_version: 1.8.23
|
94
94
|
signing_key:
|
95
95
|
specification_version: 3
|
96
|
-
summary: Automated ffi-bindings for opencv 2.4.4 and
|
96
|
+
summary: Automated ffi-bindings for opencv 2.4.4 and higher
|
97
97
|
test_files: []
|
98
98
|
|