ruby-opencv 0.0.8 → 0.0.9.pre
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.
- checksums.yaml +7 -0
- data/DEVELOPERS_NOTE.md +5 -5
- data/Gemfile +1 -1
- data/License.txt +1 -1
- data/Manifest.txt +4 -4
- data/README.md +1 -1
- data/Rakefile +5 -3
- data/examples/alpha_blend.rb +1 -1
- data/examples/find_obj.rb +1 -1
- data/examples/match_kdtree.rb +1 -1
- data/{extconf.rb → ext/opencv/extconf.rb} +7 -1
- data/{ext/opencv/lib → lib}/opencv.rb +0 -0
- data/{ext/opencv/lib → lib}/opencv/psyched_yaml.rb +1 -1
- data/lib/opencv/version.rb +3 -0
- data/ruby-opencv.gemspec +9 -8
- data/test/helper.rb +1 -1
- data/test/runner.rb +1 -1
- data/test/test_curve.rb +1 -1
- data/test/test_cvavgcomp.rb +1 -1
- data/test/test_cvbox2d.rb +1 -1
- data/test/test_cvcapture.rb +1 -1
- data/test/test_cvchain.rb +1 -1
- data/test/test_cvcircle32f.rb +1 -1
- data/test/test_cvconnectedcomp.rb +1 -1
- data/test/test_cvcontour.rb +1 -1
- data/test/test_cvcontourtree.rb +1 -1
- data/test/test_cverror.rb +1 -1
- data/test/test_cvfeaturetree.rb +1 -1
- data/test/test_cvfont.rb +1 -1
- data/test/test_cvhaarclassifiercascade.rb +1 -1
- data/test/test_cvhistogram.rb +1 -1
- data/test/test_cvhumoments.rb +1 -1
- data/test/test_cvline.rb +1 -1
- data/test/test_cvmat.rb +1 -1
- data/test/test_cvmat_drawing.rb +1 -1
- data/test/test_cvmat_dxt.rb +1 -1
- data/test/test_cvmat_imageprocessing.rb +1 -1
- data/test/test_cvmat_matching.rb +1 -1
- data/test/test_cvmoments.rb +1 -1
- data/test/test_cvpoint.rb +1 -1
- data/test/test_cvpoint2d32f.rb +1 -1
- data/test/test_cvpoint3d32f.rb +1 -1
- data/test/test_cvrect.rb +1 -1
- data/test/test_cvscalar.rb +1 -1
- data/test/test_cvseq.rb +1 -1
- data/test/test_cvsize.rb +1 -1
- data/test/test_cvsize2d32f.rb +1 -1
- data/test/test_cvslice.rb +1 -1
- data/test/test_cvsurfparams.rb +1 -1
- data/test/test_cvsurfpoint.rb +1 -1
- data/test/test_cvtermcriteria.rb +1 -1
- data/test/test_cvtwopoints.rb +1 -1
- data/test/test_cvvideowriter.rb +1 -1
- data/test/test_iplconvkernel.rb +1 -1
- data/test/test_iplimage.rb +1 -1
- data/test/test_mouseevent.rb +1 -1
- data/test/test_opencv.rb +1 -1
- data/test/test_pointset.rb +1 -1
- data/test/test_preliminary.rb +1 -1
- data/test/test_trackbar.rb +1 -1
- data/test/test_window.rb +1 -1
- metadata +21 -29
- data/ext/opencv/lib/opencv/version.rb +0 -3
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 33cfd3a0cd131a4b59cb89d8d9f65ba91066fe2e
|
4
|
+
data.tar.gz: 1036803c9deb609d417a1d10f3e59fad87dbc627
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 040e94477fd9d6e00314334b1889f10fda54ff78e541986003c5d71e48601aef8c596b11bef17d9b0cb24485b250e993cccb1d87cf364dda7c15121db9f15ef0
|
7
|
+
data.tar.gz: c8b503a23b21c54f9b9723d4e721c1d12fb8cfbe5cc361db434d8ed168da714981922eefd2dce9526ad086b70a1d2c6181afc4f7e13ae0332254089ca5a3a48f
|
data/DEVELOPERS_NOTE.md
CHANGED
@@ -52,7 +52,7 @@ $ gem compile ruby-opencv-*.gem
|
|
52
52
|
$ git clone git://github.com/ruby-opencv/ruby-opencv.git
|
53
53
|
$ cd ruby-opencv
|
54
54
|
$ git checkout master
|
55
|
-
$ ruby extconf.rb --with-opencv-dir=/path/to/opencvdir
|
55
|
+
$ ruby ext/opencv/extconf.rb --with-opencv-dir=/path/to/opencvdir
|
56
56
|
$ make
|
57
57
|
$ make install
|
58
58
|
```
|
@@ -68,7 +68,7 @@ Run the following commands on [**Visual Studio Command Prompt**](http://msdn.mic
|
|
68
68
|
$ git clone git://github.com/ruby-opencv/ruby-opencv.git
|
69
69
|
$ cd ruby-opencv
|
70
70
|
$ git checkout master
|
71
|
-
$ ruby extconf.rb --with-opencv-dir=C:\path\to\opencvdir\install # for your own built OpenCV library
|
71
|
+
$ ruby ext/opencv/extconf.rb --with-opencv-dir=C:\path\to\opencvdir\install # for your own built OpenCV library
|
72
72
|
$ nmake
|
73
73
|
$ nmake install
|
74
74
|
```
|
@@ -76,7 +76,7 @@ $ nmake install
|
|
76
76
|
To use pre-built OpenCV libraries, set the following option to extconf.rb.
|
77
77
|
|
78
78
|
```
|
79
|
-
$ ruby extconf.rb --with-opencv-include=C:\path\to\opencvdir\build\include --with-opencv-lib=C:\path\to\opencvdir\build\x86\vc10\lib
|
79
|
+
$ ruby ext/opencv/extconf.rb --with-opencv-include=C:\path\to\opencvdir\build\include --with-opencv-lib=C:\path\to\opencvdir\build\x86\vc10\lib
|
80
80
|
```
|
81
81
|
|
82
82
|
|
@@ -88,7 +88,7 @@ Run the following commands on **MSYS console**.
|
|
88
88
|
$ git clone git://github.com/ruby-opencv/ruby-opencv.git
|
89
89
|
$ cd ruby-opencv
|
90
90
|
$ git checkout master
|
91
|
-
$ ruby extconf.rb --with-opencv-dir=/C/path/to/opencvdir/install # for your own built OpenCV library
|
91
|
+
$ ruby ext/opencv/extconf.rb --with-opencv-dir=/C/path/to/opencvdir/install # for your own built OpenCV library
|
92
92
|
$ make
|
93
93
|
$ make install
|
94
94
|
```
|
@@ -96,7 +96,7 @@ $ make install
|
|
96
96
|
To use pre-built OpenCV libraries, set the following option to extconf.rb.
|
97
97
|
|
98
98
|
```
|
99
|
-
$ ruby extconf.rb --with-opencv-include=/c/path/to/opencvdir/build/include --with-opencv-lib=/c/path/to/opencvdir/build/x86/mingw/lib
|
99
|
+
$ ruby ext/opencv/extconf.rb --with-opencv-include=/c/path/to/opencvdir/build/include --with-opencv-lib=/c/path/to/opencvdir/build/x86/mingw/lib
|
100
100
|
```
|
101
101
|
|
102
102
|
|
data/Gemfile
CHANGED
data/License.txt
CHANGED
data/Manifest.txt
CHANGED
@@ -109,15 +109,13 @@ ext/opencv/cvutils.cpp
|
|
109
109
|
ext/opencv/cvutils.h
|
110
110
|
ext/opencv/cvvideowriter.cpp
|
111
111
|
ext/opencv/cvvideowriter.h
|
112
|
+
ext/opencv/extconf.rb
|
112
113
|
ext/opencv/gui.cpp
|
113
114
|
ext/opencv/gui.h
|
114
115
|
ext/opencv/iplconvkernel.cpp
|
115
116
|
ext/opencv/iplconvkernel.h
|
116
117
|
ext/opencv/iplimage.cpp
|
117
118
|
ext/opencv/iplimage.h
|
118
|
-
ext/opencv/lib/opencv.rb
|
119
|
-
ext/opencv/lib/opencv/psyched_yaml.rb
|
120
|
-
ext/opencv/lib/opencv/version.rb
|
121
119
|
ext/opencv/mouseevent.cpp
|
122
120
|
ext/opencv/mouseevent.h
|
123
121
|
ext/opencv/opencv.cpp
|
@@ -128,11 +126,13 @@ ext/opencv/trackbar.cpp
|
|
128
126
|
ext/opencv/trackbar.h
|
129
127
|
ext/opencv/window.cpp
|
130
128
|
ext/opencv/window.h
|
131
|
-
extconf.rb
|
132
129
|
images/CvMat_sobel.png
|
133
130
|
images/CvMat_sub_rect.png
|
134
131
|
images/CvSeq_relationmap.png
|
135
132
|
images/face_detect_from_lena.jpg
|
133
|
+
lib/opencv.rb
|
134
|
+
lib/opencv/psyched_yaml.rb
|
135
|
+
lib/opencv/version.rb
|
136
136
|
ruby-opencv.gemspec
|
137
137
|
test/helper.rb
|
138
138
|
test/runner.rb
|
data/README.md
CHANGED
data/Rakefile
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
# -*- mode: ruby; coding: utf-8
|
1
|
+
# -*- mode: ruby; coding: utf-8 -*-
|
2
2
|
require 'rubygems'
|
3
|
-
require './
|
3
|
+
require './lib/opencv/psyched_yaml'
|
4
4
|
require 'hoe'
|
5
5
|
require 'rake/extensiontask'
|
6
6
|
|
@@ -8,13 +8,15 @@ Hoe.plugin :gemspec
|
|
8
8
|
|
9
9
|
hoespec = Hoe.spec 'ruby-opencv' do |s|
|
10
10
|
s.summary = 'OpenCV wrapper for Ruby'
|
11
|
+
s.description = 'ruby-opencv is a wrapper of OpenCV for Ruby. It helps you to write computer vision programs (e.g. detecting faces from pictures) with Ruby.'
|
12
|
+
s.licenses = ['The BSD License']
|
11
13
|
s.developer('lsxi', 'masakazu.yonekura@gmail.com')
|
12
14
|
s.developer('ser1zw', 'azariahsawtikes@gmail.com')
|
13
15
|
s.developer('pcting', 'pcting@gmail.com')
|
14
16
|
|
15
17
|
s.readme_file = 'README.md'
|
16
18
|
s.history_file = 'History.txt'
|
17
|
-
s.spec_extras = { :extensions => ['extconf.rb'] }
|
19
|
+
s.spec_extras = { :extensions => ['ext/opencv/extconf.rb'] }
|
18
20
|
s.test_globs = ['test/test_*.rb']
|
19
21
|
s.urls = ['https://github.com/ruby-opencv/ruby-opencv/']
|
20
22
|
|
data/examples/alpha_blend.rb
CHANGED
data/examples/find_obj.rb
CHANGED
data/examples/match_kdtree.rb
CHANGED
@@ -13,6 +13,9 @@ def cv_version_suffix(incdir)
|
|
13
13
|
major + minor + subminor
|
14
14
|
end
|
15
15
|
|
16
|
+
# Quick fix for 2.0.0
|
17
|
+
# @libdir_basename is set to nil and dir_config() sets invalid libdir '${opencv-dir}/' when --with-opencv-dir option passed.
|
18
|
+
@libdir_basename ||= 'lib'
|
16
19
|
incdir, libdir = dir_config("opencv", "/usr/local/include", "/usr/local/lib")
|
17
20
|
dir_config("libxml2", "/usr/include", "/usr/lib")
|
18
21
|
|
@@ -67,9 +70,12 @@ opencv_headers.each {|header|
|
|
67
70
|
}
|
68
71
|
have_header("stdarg.h")
|
69
72
|
|
73
|
+
$warnflags.slice!('-Wdeclaration-after-statement')
|
74
|
+
$warnflags.slice!('-Wimplicit-function-declaration')
|
75
|
+
|
70
76
|
# Quick fix for 1.8.7
|
71
77
|
$CFLAGS << " -I#{File.dirname(__FILE__)}/ext/opencv"
|
72
78
|
|
73
79
|
# Create Makefile
|
74
|
-
create_makefile(
|
80
|
+
create_makefile('opencv')
|
75
81
|
|
File without changes
|
data/ruby-opencv.gemspec
CHANGED
@@ -2,26 +2,27 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = "ruby-opencv"
|
5
|
-
s.version = "0.0.
|
5
|
+
s.version = "0.0.9.pre.20130324195100"
|
6
6
|
|
7
|
-
s.required_rubygems_version = Gem::Requirement.new("
|
7
|
+
s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["lsxi", "ser1zw", "pcting"]
|
9
|
-
s.date = "2013-
|
10
|
-
s.description = ""
|
9
|
+
s.date = "2013-03-24"
|
10
|
+
s.description = "ruby-opencv is a wrapper of OpenCV for Ruby. It helps you to write computer vision programs (e.g. detecting faces from pictures) with Ruby."
|
11
11
|
s.email = ["masakazu.yonekura@gmail.com", "azariahsawtikes@gmail.com", "pcting@gmail.com"]
|
12
|
-
s.extensions = ["extconf.rb"]
|
12
|
+
s.extensions = ["ext/opencv/extconf.rb"]
|
13
13
|
s.extra_rdoc_files = ["History.txt", "License.txt", "Manifest.txt", "examples/matching_to_many_images/train/trainImages.txt"]
|
14
|
-
s.files = [".gitignore", "DEVELOPERS_NOTE.md", "Gemfile", "History.txt", "License.txt", "Manifest.txt", "README.md", "Rakefile", "examples/alpha_blend.rb", "examples/box.png", "examples/box_in_scene.png", "examples/contours/bitmap-contours-with-labels.png", "examples/contours/bitmap-contours.png", "examples/contours/bounding-box-detect-canny.rb", "examples/contours/contour_retrieval_modes.rb", "examples/contours/rotated-boxes.jpg", "examples/convexhull.rb", "examples/face_detect.rb", "examples/find_obj.rb", "examples/houghcircle.rb", "examples/inpaint.png", "examples/inpaint.rb", "examples/lenna-rotated.jpg", "examples/lenna.jpg", "examples/match_kdtree.rb", "examples/matching_to_many_images.rb", "examples/matching_to_many_images/query.png", "examples/matching_to_many_images/train/1.png", "examples/matching_to_many_images/train/2.png", "examples/matching_to_many_images/train/3.png", "examples/matching_to_many_images/train/trainImages.txt", "examples/paint.rb", "examples/snake.rb", "examples/stuff.jpg", "examples/tiffany.jpg", "ext/opencv/curve.cpp", "ext/opencv/curve.h", "ext/opencv/cvavgcomp.cpp", "ext/opencv/cvavgcomp.h", "ext/opencv/cvbox2d.cpp", "ext/opencv/cvbox2d.h", "ext/opencv/cvcapture.cpp", "ext/opencv/cvcapture.h", "ext/opencv/cvchain.cpp", "ext/opencv/cvchain.h", "ext/opencv/cvcircle32f.cpp", "ext/opencv/cvcircle32f.h", "ext/opencv/cvcondensation.cpp", "ext/opencv/cvcondensation.h", "ext/opencv/cvconnectedcomp.cpp", "ext/opencv/cvconnectedcomp.h", "ext/opencv/cvcontour.cpp", "ext/opencv/cvcontour.h", "ext/opencv/cvcontourtree.cpp", "ext/opencv/cvcontourtree.h", "ext/opencv/cvconvexitydefect.cpp", "ext/opencv/cvconvexitydefect.h", "ext/opencv/cverror.cpp", "ext/opencv/cverror.h", "ext/opencv/cvfeaturetree.cpp", "ext/opencv/cvfeaturetree.h", "ext/opencv/cvfont.cpp", "ext/opencv/cvfont.h", "ext/opencv/cvhaarclassifiercascade.cpp", "ext/opencv/cvhaarclassifiercascade.h", "ext/opencv/cvhistogram.cpp", "ext/opencv/cvhistogram.h", "ext/opencv/cvhumoments.cpp", "ext/opencv/cvhumoments.h", "ext/opencv/cvline.cpp", "ext/opencv/cvline.h", "ext/opencv/cvmat.cpp", "ext/opencv/cvmat.h", "ext/opencv/cvmatnd.cpp", "ext/opencv/cvmatnd.h", "ext/opencv/cvmemstorage.cpp", "ext/opencv/cvmemstorage.h", "ext/opencv/cvmoments.cpp", "ext/opencv/cvmoments.h", "ext/opencv/cvpoint.cpp", "ext/opencv/cvpoint.h", "ext/opencv/cvpoint2d32f.cpp", "ext/opencv/cvpoint2d32f.h", "ext/opencv/cvpoint3d32f.cpp", "ext/opencv/cvpoint3d32f.h", "ext/opencv/cvrect.cpp", "ext/opencv/cvrect.h", "ext/opencv/cvscalar.cpp", "ext/opencv/cvscalar.h", "ext/opencv/cvseq.cpp", "ext/opencv/cvseq.h", "ext/opencv/cvsize.cpp", "ext/opencv/cvsize.h", "ext/opencv/cvsize2d32f.cpp", "ext/opencv/cvsize2d32f.h", "ext/opencv/cvslice.cpp", "ext/opencv/cvslice.h", "ext/opencv/cvsparsemat.cpp", "ext/opencv/cvsparsemat.h", "ext/opencv/cvsurfparams.cpp", "ext/opencv/cvsurfparams.h", "ext/opencv/cvsurfpoint.cpp", "ext/opencv/cvsurfpoint.h", "ext/opencv/cvtermcriteria.cpp", "ext/opencv/cvtermcriteria.h", "ext/opencv/cvtwopoints.cpp", "ext/opencv/cvtwopoints.h", "ext/opencv/cvutils.cpp", "ext/opencv/cvutils.h", "ext/opencv/cvvideowriter.cpp", "ext/opencv/cvvideowriter.h", "ext/opencv/
|
14
|
+
s.files = [".gitignore", "DEVELOPERS_NOTE.md", "Gemfile", "History.txt", "License.txt", "Manifest.txt", "README.md", "Rakefile", "examples/alpha_blend.rb", "examples/box.png", "examples/box_in_scene.png", "examples/contours/bitmap-contours-with-labels.png", "examples/contours/bitmap-contours.png", "examples/contours/bounding-box-detect-canny.rb", "examples/contours/contour_retrieval_modes.rb", "examples/contours/rotated-boxes.jpg", "examples/convexhull.rb", "examples/face_detect.rb", "examples/find_obj.rb", "examples/houghcircle.rb", "examples/inpaint.png", "examples/inpaint.rb", "examples/lenna-rotated.jpg", "examples/lenna.jpg", "examples/match_kdtree.rb", "examples/matching_to_many_images.rb", "examples/matching_to_many_images/query.png", "examples/matching_to_many_images/train/1.png", "examples/matching_to_many_images/train/2.png", "examples/matching_to_many_images/train/3.png", "examples/matching_to_many_images/train/trainImages.txt", "examples/paint.rb", "examples/snake.rb", "examples/stuff.jpg", "examples/tiffany.jpg", "ext/opencv/curve.cpp", "ext/opencv/curve.h", "ext/opencv/cvavgcomp.cpp", "ext/opencv/cvavgcomp.h", "ext/opencv/cvbox2d.cpp", "ext/opencv/cvbox2d.h", "ext/opencv/cvcapture.cpp", "ext/opencv/cvcapture.h", "ext/opencv/cvchain.cpp", "ext/opencv/cvchain.h", "ext/opencv/cvcircle32f.cpp", "ext/opencv/cvcircle32f.h", "ext/opencv/cvcondensation.cpp", "ext/opencv/cvcondensation.h", "ext/opencv/cvconnectedcomp.cpp", "ext/opencv/cvconnectedcomp.h", "ext/opencv/cvcontour.cpp", "ext/opencv/cvcontour.h", "ext/opencv/cvcontourtree.cpp", "ext/opencv/cvcontourtree.h", "ext/opencv/cvconvexitydefect.cpp", "ext/opencv/cvconvexitydefect.h", "ext/opencv/cverror.cpp", "ext/opencv/cverror.h", "ext/opencv/cvfeaturetree.cpp", "ext/opencv/cvfeaturetree.h", "ext/opencv/cvfont.cpp", "ext/opencv/cvfont.h", "ext/opencv/cvhaarclassifiercascade.cpp", "ext/opencv/cvhaarclassifiercascade.h", "ext/opencv/cvhistogram.cpp", "ext/opencv/cvhistogram.h", "ext/opencv/cvhumoments.cpp", "ext/opencv/cvhumoments.h", "ext/opencv/cvline.cpp", "ext/opencv/cvline.h", "ext/opencv/cvmat.cpp", "ext/opencv/cvmat.h", "ext/opencv/cvmatnd.cpp", "ext/opencv/cvmatnd.h", "ext/opencv/cvmemstorage.cpp", "ext/opencv/cvmemstorage.h", "ext/opencv/cvmoments.cpp", "ext/opencv/cvmoments.h", "ext/opencv/cvpoint.cpp", "ext/opencv/cvpoint.h", "ext/opencv/cvpoint2d32f.cpp", "ext/opencv/cvpoint2d32f.h", "ext/opencv/cvpoint3d32f.cpp", "ext/opencv/cvpoint3d32f.h", "ext/opencv/cvrect.cpp", "ext/opencv/cvrect.h", "ext/opencv/cvscalar.cpp", "ext/opencv/cvscalar.h", "ext/opencv/cvseq.cpp", "ext/opencv/cvseq.h", "ext/opencv/cvsize.cpp", "ext/opencv/cvsize.h", "ext/opencv/cvsize2d32f.cpp", "ext/opencv/cvsize2d32f.h", "ext/opencv/cvslice.cpp", "ext/opencv/cvslice.h", "ext/opencv/cvsparsemat.cpp", "ext/opencv/cvsparsemat.h", "ext/opencv/cvsurfparams.cpp", "ext/opencv/cvsurfparams.h", "ext/opencv/cvsurfpoint.cpp", "ext/opencv/cvsurfpoint.h", "ext/opencv/cvtermcriteria.cpp", "ext/opencv/cvtermcriteria.h", "ext/opencv/cvtwopoints.cpp", "ext/opencv/cvtwopoints.h", "ext/opencv/cvutils.cpp", "ext/opencv/cvutils.h", "ext/opencv/cvvideowriter.cpp", "ext/opencv/cvvideowriter.h", "ext/opencv/extconf.rb", "ext/opencv/gui.cpp", "ext/opencv/gui.h", "ext/opencv/iplconvkernel.cpp", "ext/opencv/iplconvkernel.h", "ext/opencv/iplimage.cpp", "ext/opencv/iplimage.h", "ext/opencv/mouseevent.cpp", "ext/opencv/mouseevent.h", "ext/opencv/opencv.cpp", "ext/opencv/opencv.h", "ext/opencv/pointset.cpp", "ext/opencv/pointset.h", "ext/opencv/trackbar.cpp", "ext/opencv/trackbar.h", "ext/opencv/window.cpp", "ext/opencv/window.h", "images/CvMat_sobel.png", "images/CvMat_sub_rect.png", "images/CvSeq_relationmap.png", "images/face_detect_from_lena.jpg", "lib/opencv.rb", "lib/opencv/psyched_yaml.rb", "lib/opencv/version.rb", "ruby-opencv.gemspec", "test/helper.rb", "test/runner.rb", "test/samples/airplane.jpg", "test/samples/baboon.jpg", "test/samples/baboon200.jpg", "test/samples/baboon200_rotated.jpg", "test/samples/blank0.jpg", "test/samples/blank1.jpg", "test/samples/blank2.jpg", "test/samples/blank3.jpg", "test/samples/blank4.jpg", "test/samples/blank5.jpg", "test/samples/blank6.jpg", "test/samples/blank7.jpg", "test/samples/blank8.jpg", "test/samples/blank9.jpg", "test/samples/cat.jpg", "test/samples/chessboard.jpg", "test/samples/contours.jpg", "test/samples/fruits.jpg", "test/samples/haarcascade_frontalface_alt.xml.gz", "test/samples/inpaint-mask.bmp", "test/samples/lena-256x256.jpg", "test/samples/lena-32x32.jpg", "test/samples/lena-eyes.jpg", "test/samples/lena-inpaint.jpg", "test/samples/lena.jpg", "test/samples/lines.jpg", "test/samples/messy0.jpg", "test/samples/messy1.jpg", "test/samples/movie_sample.avi", "test/samples/one_way_train_0000.jpg", "test/samples/one_way_train_0001.jpg", "test/samples/partially_blank0.jpg", "test/samples/partially_blank1.jpg", "test/samples/smooth0.jpg", "test/samples/smooth1.jpg", "test/samples/smooth2.jpg", "test/samples/smooth3.jpg", "test/samples/smooth4.jpg", "test/samples/smooth5.jpg", "test/samples/smooth6.jpg", "test/samples/str-cv-rotated.jpg", "test/samples/str-cv.jpg", "test/samples/str-ov.jpg", "test/samples/stuff.jpg", "test/test_curve.rb", "test/test_cvavgcomp.rb", "test/test_cvbox2d.rb", "test/test_cvcapture.rb", "test/test_cvchain.rb", "test/test_cvcircle32f.rb", "test/test_cvconnectedcomp.rb", "test/test_cvcontour.rb", "test/test_cvcontourtree.rb", "test/test_cverror.rb", "test/test_cvfeaturetree.rb", "test/test_cvfont.rb", "test/test_cvhaarclassifiercascade.rb", "test/test_cvhistogram.rb", "test/test_cvhumoments.rb", "test/test_cvline.rb", "test/test_cvmat.rb", "test/test_cvmat_drawing.rb", "test/test_cvmat_dxt.rb", "test/test_cvmat_imageprocessing.rb", "test/test_cvmat_matching.rb", "test/test_cvmoments.rb", "test/test_cvpoint.rb", "test/test_cvpoint2d32f.rb", "test/test_cvpoint3d32f.rb", "test/test_cvrect.rb", "test/test_cvscalar.rb", "test/test_cvseq.rb", "test/test_cvsize.rb", "test/test_cvsize2d32f.rb", "test/test_cvslice.rb", "test/test_cvsurfparams.rb", "test/test_cvsurfpoint.rb", "test/test_cvtermcriteria.rb", "test/test_cvtwopoints.rb", "test/test_cvvideowriter.rb", "test/test_iplconvkernel.rb", "test/test_iplimage.rb", "test/test_mouseevent.rb", "test/test_opencv.rb", "test/test_pointset.rb", "test/test_preliminary.rb", "test/test_trackbar.rb", "test/test_window.rb"]
|
15
15
|
s.homepage = "https://github.com/ruby-opencv/ruby-opencv/"
|
16
|
+
s.licenses = ["The BSD License"]
|
16
17
|
s.rdoc_options = ["--main", "README.md"]
|
17
18
|
s.require_paths = ["lib"]
|
18
19
|
s.rubyforge_project = "ruby-opencv"
|
19
|
-
s.rubygems_version = "
|
20
|
+
s.rubygems_version = "2.0.3"
|
20
21
|
s.summary = "OpenCV wrapper for Ruby"
|
21
22
|
s.test_files = ["test/test_cvcontourtree.rb", "test/test_iplconvkernel.rb", "test/test_cvsize2d32f.rb", "test/test_cvconnectedcomp.rb", "test/test_cvcontour.rb", "test/test_cvslice.rb", "test/test_cvmat_matching.rb", "test/test_trackbar.rb", "test/test_cvpoint3d32f.rb", "test/test_cvpoint2d32f.rb", "test/test_cvcapture.rb", "test/test_cvfont.rb", "test/test_cvhumoments.rb", "test/test_cvmat_dxt.rb", "test/test_cvbox2d.rb", "test/test_iplimage.rb", "test/test_preliminary.rb", "test/test_cvmat_drawing.rb", "test/test_cvsurfparams.rb", "test/test_cvcircle32f.rb", "test/test_pointset.rb", "test/test_cvmat.rb", "test/test_cvhistogram.rb", "test/test_cverror.rb", "test/test_cvtermcriteria.rb", "test/test_cvmoments.rb", "test/test_cvchain.rb", "test/test_cvpoint.rb", "test/test_cvavgcomp.rb", "test/test_cvrect.rb", "test/test_cvvideowriter.rb", "test/test_curve.rb", "test/test_window.rb", "test/test_cvline.rb", "test/test_opencv.rb", "test/test_cvfeaturetree.rb", "test/test_cvseq.rb", "test/test_cvsize.rb", "test/test_mouseevent.rb", "test/test_cvmat_imageprocessing.rb", "test/test_cvtwopoints.rb", "test/test_cvscalar.rb", "test/test_cvsurfpoint.rb", "test/test_cvhaarclassifiercascade.rb"]
|
22
23
|
|
23
24
|
if s.respond_to? :specification_version then
|
24
|
-
s.specification_version =
|
25
|
+
s.specification_version = 4
|
25
26
|
|
26
27
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
27
28
|
s.add_development_dependency(%q<rdoc>, ["~> 3.10"])
|
data/test/helper.rb
CHANGED
data/test/runner.rb
CHANGED
data/test/test_curve.rb
CHANGED
data/test/test_cvavgcomp.rb
CHANGED
data/test/test_cvbox2d.rb
CHANGED
data/test/test_cvcapture.rb
CHANGED
data/test/test_cvchain.rb
CHANGED
data/test/test_cvcircle32f.rb
CHANGED
data/test/test_cvcontour.rb
CHANGED
data/test/test_cvcontourtree.rb
CHANGED
data/test/test_cverror.rb
CHANGED
data/test/test_cvfeaturetree.rb
CHANGED
data/test/test_cvfont.rb
CHANGED
data/test/test_cvhistogram.rb
CHANGED
data/test/test_cvhumoments.rb
CHANGED
data/test/test_cvline.rb
CHANGED
data/test/test_cvmat.rb
CHANGED
data/test/test_cvmat_drawing.rb
CHANGED
data/test/test_cvmat_dxt.rb
CHANGED
data/test/test_cvmat_matching.rb
CHANGED
data/test/test_cvmoments.rb
CHANGED
data/test/test_cvpoint.rb
CHANGED
data/test/test_cvpoint2d32f.rb
CHANGED
data/test/test_cvpoint3d32f.rb
CHANGED
data/test/test_cvrect.rb
CHANGED
data/test/test_cvscalar.rb
CHANGED
data/test/test_cvseq.rb
CHANGED
data/test/test_cvsize.rb
CHANGED
data/test/test_cvsize2d32f.rb
CHANGED
data/test/test_cvslice.rb
CHANGED
data/test/test_cvsurfparams.rb
CHANGED
data/test/test_cvsurfpoint.rb
CHANGED
data/test/test_cvtermcriteria.rb
CHANGED
data/test/test_cvtwopoints.rb
CHANGED
data/test/test_cvvideowriter.rb
CHANGED
data/test/test_iplconvkernel.rb
CHANGED
data/test/test_iplimage.rb
CHANGED
data/test/test_mouseevent.rb
CHANGED
data/test/test_opencv.rb
CHANGED
data/test/test_pointset.rb
CHANGED
data/test/test_preliminary.rb
CHANGED
data/test/test_trackbar.rb
CHANGED
data/test/test_window.rb
CHANGED
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-opencv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.9.pre
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- lsxi
|
@@ -11,12 +10,11 @@ authors:
|
|
11
10
|
autorequire:
|
12
11
|
bindir: bin
|
13
12
|
cert_chain: []
|
14
|
-
date: 2013-
|
13
|
+
date: 2013-03-24 00:00:00.000000000 Z
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
16
|
name: rdoc
|
18
17
|
requirement: !ruby/object:Gem::Requirement
|
19
|
-
none: false
|
20
18
|
requirements:
|
21
19
|
- - ~>
|
22
20
|
- !ruby/object:Gem::Version
|
@@ -24,7 +22,6 @@ dependencies:
|
|
24
22
|
type: :development
|
25
23
|
prerelease: false
|
26
24
|
version_requirements: !ruby/object:Gem::Requirement
|
27
|
-
none: false
|
28
25
|
requirements:
|
29
26
|
- - ~>
|
30
27
|
- !ruby/object:Gem::Version
|
@@ -32,39 +29,34 @@ dependencies:
|
|
32
29
|
- !ruby/object:Gem::Dependency
|
33
30
|
name: rake-compiler
|
34
31
|
requirement: !ruby/object:Gem::Requirement
|
35
|
-
none: false
|
36
32
|
requirements:
|
37
|
-
- -
|
33
|
+
- - '>='
|
38
34
|
- !ruby/object:Gem::Version
|
39
35
|
version: '0'
|
40
36
|
type: :development
|
41
37
|
prerelease: false
|
42
38
|
version_requirements: !ruby/object:Gem::Requirement
|
43
|
-
none: false
|
44
39
|
requirements:
|
45
|
-
- -
|
40
|
+
- - '>='
|
46
41
|
- !ruby/object:Gem::Version
|
47
42
|
version: '0'
|
48
43
|
- !ruby/object:Gem::Dependency
|
49
44
|
name: hoe-gemspec
|
50
45
|
requirement: !ruby/object:Gem::Requirement
|
51
|
-
none: false
|
52
46
|
requirements:
|
53
|
-
- -
|
47
|
+
- - '>='
|
54
48
|
- !ruby/object:Gem::Version
|
55
49
|
version: '0'
|
56
50
|
type: :development
|
57
51
|
prerelease: false
|
58
52
|
version_requirements: !ruby/object:Gem::Requirement
|
59
|
-
none: false
|
60
53
|
requirements:
|
61
|
-
- -
|
54
|
+
- - '>='
|
62
55
|
- !ruby/object:Gem::Version
|
63
56
|
version: '0'
|
64
57
|
- !ruby/object:Gem::Dependency
|
65
58
|
name: hoe
|
66
59
|
requirement: !ruby/object:Gem::Requirement
|
67
|
-
none: false
|
68
60
|
requirements:
|
69
61
|
- - ~>
|
70
62
|
- !ruby/object:Gem::Version
|
@@ -72,19 +64,19 @@ dependencies:
|
|
72
64
|
type: :development
|
73
65
|
prerelease: false
|
74
66
|
version_requirements: !ruby/object:Gem::Requirement
|
75
|
-
none: false
|
76
67
|
requirements:
|
77
68
|
- - ~>
|
78
69
|
- !ruby/object:Gem::Version
|
79
70
|
version: '3.5'
|
80
|
-
description:
|
71
|
+
description: ruby-opencv is a wrapper of OpenCV for Ruby. It helps you to write computer
|
72
|
+
vision programs (e.g. detecting faces from pictures) with Ruby.
|
81
73
|
email:
|
82
74
|
- masakazu.yonekura@gmail.com
|
83
75
|
- azariahsawtikes@gmail.com
|
84
76
|
- pcting@gmail.com
|
85
77
|
executables: []
|
86
78
|
extensions:
|
87
|
-
- extconf.rb
|
79
|
+
- ext/opencv/extconf.rb
|
88
80
|
extra_rdoc_files:
|
89
81
|
- History.txt
|
90
82
|
- License.txt
|
@@ -202,15 +194,13 @@ files:
|
|
202
194
|
- ext/opencv/cvutils.h
|
203
195
|
- ext/opencv/cvvideowriter.cpp
|
204
196
|
- ext/opencv/cvvideowriter.h
|
197
|
+
- ext/opencv/extconf.rb
|
205
198
|
- ext/opencv/gui.cpp
|
206
199
|
- ext/opencv/gui.h
|
207
200
|
- ext/opencv/iplconvkernel.cpp
|
208
201
|
- ext/opencv/iplconvkernel.h
|
209
202
|
- ext/opencv/iplimage.cpp
|
210
203
|
- ext/opencv/iplimage.h
|
211
|
-
- ext/opencv/lib/opencv.rb
|
212
|
-
- ext/opencv/lib/opencv/psyched_yaml.rb
|
213
|
-
- ext/opencv/lib/opencv/version.rb
|
214
204
|
- ext/opencv/mouseevent.cpp
|
215
205
|
- ext/opencv/mouseevent.h
|
216
206
|
- ext/opencv/opencv.cpp
|
@@ -221,11 +211,13 @@ files:
|
|
221
211
|
- ext/opencv/trackbar.h
|
222
212
|
- ext/opencv/window.cpp
|
223
213
|
- ext/opencv/window.h
|
224
|
-
- extconf.rb
|
225
214
|
- images/CvMat_sobel.png
|
226
215
|
- images/CvMat_sub_rect.png
|
227
216
|
- images/CvSeq_relationmap.png
|
228
217
|
- images/face_detect_from_lena.jpg
|
218
|
+
- lib/opencv.rb
|
219
|
+
- lib/opencv/psyched_yaml.rb
|
220
|
+
- lib/opencv/version.rb
|
229
221
|
- ruby-opencv.gemspec
|
230
222
|
- test/helper.rb
|
231
223
|
- test/runner.rb
|
@@ -318,7 +310,9 @@ files:
|
|
318
310
|
- test/test_trackbar.rb
|
319
311
|
- test/test_window.rb
|
320
312
|
homepage: https://github.com/ruby-opencv/ruby-opencv/
|
321
|
-
licenses:
|
313
|
+
licenses:
|
314
|
+
- The BSD License
|
315
|
+
metadata: {}
|
322
316
|
post_install_message:
|
323
317
|
rdoc_options:
|
324
318
|
- --main
|
@@ -326,22 +320,20 @@ rdoc_options:
|
|
326
320
|
require_paths:
|
327
321
|
- lib
|
328
322
|
required_ruby_version: !ruby/object:Gem::Requirement
|
329
|
-
none: false
|
330
323
|
requirements:
|
331
|
-
- -
|
324
|
+
- - '>='
|
332
325
|
- !ruby/object:Gem::Version
|
333
326
|
version: '0'
|
334
327
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
335
|
-
none: false
|
336
328
|
requirements:
|
337
|
-
- -
|
329
|
+
- - '>'
|
338
330
|
- !ruby/object:Gem::Version
|
339
|
-
version:
|
331
|
+
version: 1.3.1
|
340
332
|
requirements: []
|
341
333
|
rubyforge_project: ruby-opencv
|
342
|
-
rubygems_version:
|
334
|
+
rubygems_version: 2.0.3
|
343
335
|
signing_key:
|
344
|
-
specification_version:
|
336
|
+
specification_version: 4
|
345
337
|
summary: OpenCV wrapper for Ruby
|
346
338
|
test_files:
|
347
339
|
- test/test_cvcontourtree.rb
|