bonanza-ruby-opencv 0.0.13.20140330211753
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +28 -0
- data/.yardopts +3 -0
- data/DEVELOPERS_NOTE.md +137 -0
- data/Gemfile +9 -0
- data/History.txt +5 -0
- data/License.txt +30 -0
- data/Manifest.txt +239 -0
- data/README.md +98 -0
- data/Rakefile +99 -0
- data/config.yml +7 -0
- data/examples/alpha_blend.rb +21 -0
- data/examples/contours/bitmap-contours-with-labels.png +0 -0
- data/examples/contours/bitmap-contours.png +0 -0
- data/examples/contours/bounding-box-detect-canny.rb +62 -0
- data/examples/contours/contour_retrieval_modes.rb +139 -0
- data/examples/contours/rotated-boxes.jpg +0 -0
- data/examples/convexhull.rb +47 -0
- data/examples/face_detect.rb +20 -0
- data/examples/facerec/create_csv.rb +43 -0
- data/examples/facerec/facerec_eigenfaces.rb +132 -0
- data/examples/facerec/facerec_fisherfaces.rb +131 -0
- data/examples/facerec/facerec_lbph.rb +116 -0
- data/examples/facerec/readme.md +111 -0
- data/examples/find_obj.rb +169 -0
- data/examples/houghcircle.rb +22 -0
- data/examples/images/box.png +0 -0
- data/examples/images/box_in_scene.png +0 -0
- data/examples/images/inpaint.png +0 -0
- data/examples/images/lena-256x256.jpg +0 -0
- data/examples/images/lena-eyes.jpg +0 -0
- data/examples/images/lenna-rotated.jpg +0 -0
- data/examples/images/lenna.jpg +0 -0
- data/examples/images/stuff.jpg +0 -0
- data/examples/images/tiffany.jpg +0 -0
- data/examples/inpaint.rb +57 -0
- data/examples/match_kdtree.rb +88 -0
- data/examples/match_template.rb +26 -0
- data/examples/paint.rb +70 -0
- data/examples/snake.rb +43 -0
- data/ext/opencv/algorithm.cpp +291 -0
- data/ext/opencv/algorithm.h +38 -0
- data/ext/opencv/curve.cpp +127 -0
- data/ext/opencv/curve.h +34 -0
- data/ext/opencv/cvavgcomp.cpp +64 -0
- data/ext/opencv/cvavgcomp.h +39 -0
- data/ext/opencv/cvbox2d.cpp +195 -0
- data/ext/opencv/cvbox2d.h +61 -0
- data/ext/opencv/cvcapture.cpp +607 -0
- data/ext/opencv/cvcapture.h +72 -0
- data/ext/opencv/cvchain.cpp +233 -0
- data/ext/opencv/cvchain.h +46 -0
- data/ext/opencv/cvcircle32f.cpp +126 -0
- data/ext/opencv/cvcircle32f.h +52 -0
- data/ext/opencv/cvconnectedcomp.cpp +156 -0
- data/ext/opencv/cvconnectedcomp.h +49 -0
- data/ext/opencv/cvcontour.cpp +332 -0
- data/ext/opencv/cvcontour.h +48 -0
- data/ext/opencv/cvcontourtree.cpp +96 -0
- data/ext/opencv/cvcontourtree.h +41 -0
- data/ext/opencv/cvconvexitydefect.cpp +92 -0
- data/ext/opencv/cvconvexitydefect.h +42 -0
- data/ext/opencv/cverror.cpp +115 -0
- data/ext/opencv/cverror.h +28 -0
- data/ext/opencv/cvfeaturetree.cpp +123 -0
- data/ext/opencv/cvfeaturetree.h +55 -0
- data/ext/opencv/cvfont.cpp +228 -0
- data/ext/opencv/cvfont.h +64 -0
- data/ext/opencv/cvhaarclassifiercascade.cpp +148 -0
- data/ext/opencv/cvhaarclassifiercascade.h +39 -0
- data/ext/opencv/cvhistogram.cpp +715 -0
- data/ext/opencv/cvhistogram.h +73 -0
- data/ext/opencv/cvhumoments.cpp +178 -0
- data/ext/opencv/cvhumoments.h +51 -0
- data/ext/opencv/cvline.cpp +159 -0
- data/ext/opencv/cvline.h +54 -0
- data/ext/opencv/cvmat.cpp +6829 -0
- data/ext/opencv/cvmat.h +323 -0
- data/ext/opencv/cvmemstorage.cpp +73 -0
- data/ext/opencv/cvmemstorage.h +53 -0
- data/ext/opencv/cvmoments.cpp +293 -0
- data/ext/opencv/cvmoments.h +75 -0
- data/ext/opencv/cvpoint.cpp +265 -0
- data/ext/opencv/cvpoint.h +67 -0
- data/ext/opencv/cvpoint2d32f.cpp +216 -0
- data/ext/opencv/cvpoint2d32f.h +63 -0
- data/ext/opencv/cvpoint3d32f.cpp +252 -0
- data/ext/opencv/cvpoint3d32f.h +66 -0
- data/ext/opencv/cvrect.cpp +441 -0
- data/ext/opencv/cvrect.h +88 -0
- data/ext/opencv/cvscalar.cpp +301 -0
- data/ext/opencv/cvscalar.h +76 -0
- data/ext/opencv/cvseq.cpp +605 -0
- data/ext/opencv/cvseq.h +74 -0
- data/ext/opencv/cvsize.cpp +227 -0
- data/ext/opencv/cvsize.h +65 -0
- data/ext/opencv/cvsize2d32f.cpp +215 -0
- data/ext/opencv/cvsize2d32f.h +64 -0
- data/ext/opencv/cvslice.cpp +126 -0
- data/ext/opencv/cvslice.h +61 -0
- data/ext/opencv/cvsurfparams.cpp +208 -0
- data/ext/opencv/cvsurfparams.h +58 -0
- data/ext/opencv/cvsurfpoint.cpp +279 -0
- data/ext/opencv/cvsurfpoint.h +54 -0
- data/ext/opencv/cvtermcriteria.cpp +198 -0
- data/ext/opencv/cvtermcriteria.h +71 -0
- data/ext/opencv/cvtwopoints.cpp +122 -0
- data/ext/opencv/cvtwopoints.h +51 -0
- data/ext/opencv/cvutils.cpp +221 -0
- data/ext/opencv/cvutils.h +31 -0
- data/ext/opencv/cvvideowriter.cpp +142 -0
- data/ext/opencv/cvvideowriter.h +43 -0
- data/ext/opencv/eigenfaces.cpp +75 -0
- data/ext/opencv/eigenfaces.h +30 -0
- data/ext/opencv/extconf.rb +82 -0
- data/ext/opencv/facerecognizer.cpp +181 -0
- data/ext/opencv/facerecognizer.h +46 -0
- data/ext/opencv/fisherfaces.cpp +75 -0
- data/ext/opencv/fisherfaces.h +30 -0
- data/ext/opencv/gui.cpp +71 -0
- data/ext/opencv/gui.h +30 -0
- data/ext/opencv/iplconvkernel.cpp +198 -0
- data/ext/opencv/iplconvkernel.h +71 -0
- data/ext/opencv/iplimage.cpp +666 -0
- data/ext/opencv/iplimage.h +75 -0
- data/ext/opencv/lbph.cpp +78 -0
- data/ext/opencv/lbph.h +30 -0
- data/ext/opencv/mouseevent.cpp +186 -0
- data/ext/opencv/mouseevent.h +56 -0
- data/ext/opencv/opencv.cpp +833 -0
- data/ext/opencv/opencv.h +405 -0
- data/ext/opencv/pointset.cpp +280 -0
- data/ext/opencv/pointset.h +68 -0
- data/ext/opencv/trackbar.cpp +127 -0
- data/ext/opencv/trackbar.h +69 -0
- data/ext/opencv/window.cpp +377 -0
- data/ext/opencv/window.h +66 -0
- data/images/CvMat_sobel.png +0 -0
- data/images/CvMat_sub_rect.png +0 -0
- data/images/CvSeq_relationmap.png +0 -0
- data/lib/opencv.rb +12 -0
- data/lib/opencv/psyched_yaml.rb +22 -0
- data/lib/opencv/version.rb +4 -0
- data/test/eigenfaces_save.xml +7524 -0
- data/test/fisherfaces_save.xml +7530 -0
- data/test/helper.rb +166 -0
- data/test/lbph_save.xml +4304 -0
- data/test/runner.rb +30 -0
- data/test/samples/airplane.jpg +0 -0
- data/test/samples/baboon.jpg +0 -0
- data/test/samples/baboon200.jpg +0 -0
- data/test/samples/baboon200_rotated.jpg +0 -0
- data/test/samples/blank0.jpg +0 -0
- data/test/samples/blank1.jpg +0 -0
- data/test/samples/blank2.jpg +0 -0
- data/test/samples/blank3.jpg +0 -0
- data/test/samples/blank4.jpg +0 -0
- data/test/samples/blank5.jpg +0 -0
- data/test/samples/blank6.jpg +0 -0
- data/test/samples/blank7.jpg +0 -0
- data/test/samples/blank8.jpg +0 -0
- data/test/samples/blank9.jpg +0 -0
- data/test/samples/cat.jpg +0 -0
- data/test/samples/chessboard.jpg +0 -0
- data/test/samples/contours.jpg +0 -0
- data/test/samples/fruits.jpg +0 -0
- data/test/samples/haarcascade_frontalface_alt.xml.gz +0 -0
- data/test/samples/inpaint-mask.bmp +0 -0
- data/test/samples/lena-256x256.jpg +0 -0
- data/test/samples/lena-32x32.jpg +0 -0
- data/test/samples/lena-eyes.jpg +0 -0
- data/test/samples/lena-inpaint.jpg +0 -0
- data/test/samples/lena.jpg +0 -0
- data/test/samples/lines.jpg +0 -0
- data/test/samples/messy0.jpg +0 -0
- data/test/samples/messy1.jpg +0 -0
- data/test/samples/movie_sample.avi +0 -0
- data/test/samples/one_way_train_0000.jpg +0 -0
- data/test/samples/one_way_train_0001.jpg +0 -0
- data/test/samples/partially_blank0.jpg +0 -0
- data/test/samples/partially_blank1.jpg +0 -0
- data/test/samples/smooth0.jpg +0 -0
- data/test/samples/smooth1.jpg +0 -0
- data/test/samples/smooth2.jpg +0 -0
- data/test/samples/smooth3.jpg +0 -0
- data/test/samples/smooth4.jpg +0 -0
- data/test/samples/smooth5.jpg +0 -0
- data/test/samples/smooth6.jpg +0 -0
- data/test/samples/str-cv-rotated.jpg +0 -0
- data/test/samples/str-cv.jpg +0 -0
- data/test/samples/str-ov.jpg +0 -0
- data/test/samples/stuff.jpg +0 -0
- data/test/test_curve.rb +43 -0
- data/test/test_cvavgcomp.rb +24 -0
- data/test/test_cvbox2d.rb +76 -0
- data/test/test_cvcapture.rb +183 -0
- data/test/test_cvchain.rb +108 -0
- data/test/test_cvcircle32f.rb +41 -0
- data/test/test_cvconnectedcomp.rb +61 -0
- data/test/test_cvcontour.rb +150 -0
- data/test/test_cvcontourtree.rb +43 -0
- data/test/test_cverror.rb +50 -0
- data/test/test_cvfeaturetree.rb +65 -0
- data/test/test_cvfont.rb +58 -0
- data/test/test_cvhaarclassifiercascade.rb +63 -0
- data/test/test_cvhistogram.rb +271 -0
- data/test/test_cvhumoments.rb +83 -0
- data/test/test_cvline.rb +50 -0
- data/test/test_cvmat.rb +3003 -0
- data/test/test_cvmat_drawing.rb +349 -0
- data/test/test_cvmat_dxt.rb +150 -0
- data/test/test_cvmat_imageprocessing.rb +2085 -0
- data/test/test_cvmoments.rb +180 -0
- data/test/test_cvpoint.rb +75 -0
- data/test/test_cvpoint2d32f.rb +75 -0
- data/test/test_cvpoint3d32f.rb +93 -0
- data/test/test_cvrect.rb +144 -0
- data/test/test_cvscalar.rb +113 -0
- data/test/test_cvseq.rb +295 -0
- data/test/test_cvsize.rb +75 -0
- data/test/test_cvsize2d32f.rb +75 -0
- data/test/test_cvslice.rb +31 -0
- data/test/test_cvsurfparams.rb +57 -0
- data/test/test_cvsurfpoint.rb +66 -0
- data/test/test_cvtermcriteria.rb +56 -0
- data/test/test_cvtwopoints.rb +40 -0
- data/test/test_cvvideowriter.rb +58 -0
- data/test/test_eigenfaces.rb +93 -0
- data/test/test_fisherfaces.rb +93 -0
- data/test/test_iplconvkernel.rb +54 -0
- data/test/test_iplimage.rb +232 -0
- data/test/test_lbph.rb +152 -0
- data/test/test_mouseevent.rb +17 -0
- data/test/test_opencv.rb +360 -0
- data/test/test_pointset.rb +128 -0
- data/test/test_preliminary.rb +130 -0
- data/test/test_trackbar.rb +47 -0
- data/test/test_window.rb +115 -0
- data/yard_extension.rb +5 -0
- metadata +399 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 672a1630d7c9879a652709f672f52403d8addc60
|
4
|
+
data.tar.gz: ee6cda28176305ae79ec6d6bf8e5b89d61f1dba8
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: dd2180774897df0bf15ae79e5c799ddf4b627dfc4f95159b2758e387f05f2bdaa2b73f06b41dc3e3ffc6bc5e0897391e67aa88c021626743aff18e45f87f1e45
|
7
|
+
data.tar.gz: c1d576d4e22e29f1b6d211cd77106d19c4c7110ef9154fe77c9451d614439c08a8a9875ca412574bf786ba428ca268445334692f801f2971385e54eab5aed6a0
|
data/.gitignore
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
.DS_Store
|
2
|
+
.project
|
3
|
+
examples/data
|
4
|
+
*.o
|
5
|
+
*.so
|
6
|
+
*.obj
|
7
|
+
*.pdb
|
8
|
+
Makefile
|
9
|
+
mkmf.log
|
10
|
+
opencv.bundle
|
11
|
+
GPATH
|
12
|
+
GRTAGS
|
13
|
+
GSYMS
|
14
|
+
GTAGS
|
15
|
+
OpenCV-*
|
16
|
+
ruby-*
|
17
|
+
ext/opencv/test.txt
|
18
|
+
pkg/
|
19
|
+
doc/
|
20
|
+
log.txt
|
21
|
+
videowriter_result.avi
|
22
|
+
examples/contours/rotated-boxes-with-detected-bounding-rectangles.jpg
|
23
|
+
Gemfile.lock
|
24
|
+
.yardoc
|
25
|
+
.RUBYLIBDIR.*
|
26
|
+
.RUBYARCHDIR.*
|
27
|
+
.bundle
|
28
|
+
.idea
|
data/.yardopts
ADDED
data/DEVELOPERS_NOTE.md
ADDED
@@ -0,0 +1,137 @@
|
|
1
|
+
# DEVELOPER'S NOTE
|
2
|
+
|
3
|
+
## Requirement to develop ruby-opencv
|
4
|
+
|
5
|
+
* OpenCV
|
6
|
+
* Git
|
7
|
+
* Microsoft Visual C++ (for mswin32)
|
8
|
+
* <http://www.microsoft.com/visualstudio/eng/downloads#d-2010-express>
|
9
|
+
* MinGW and MSYS (for mingw32)
|
10
|
+
* gcc, g++ and MSYS are needed.
|
11
|
+
* <http://www.mingw.org>
|
12
|
+
* Some gems (see Gemfile)
|
13
|
+
* [bundler](https://github.com/carlhuda/bundler/)
|
14
|
+
* [hoe](https://github.com/seattlerb/hoe)
|
15
|
+
* [hoe-gemspec](https://github.com/flavorjones/hoe-gemspec)
|
16
|
+
* [rake-compiler](https://github.com/luislavena/rake-compiler)
|
17
|
+
|
18
|
+
|
19
|
+
## Create ruby-opencv gem
|
20
|
+
Run the following commands.
|
21
|
+
When you use mingw32, use **MSYS console**, or when you use mswin32,
|
22
|
+
use [**Visual Studio Command Prompt**](http://msdn.microsoft.com/en-us/library/ms229859.aspx)
|
23
|
+
instead of cmd.exe.
|
24
|
+
|
25
|
+
```
|
26
|
+
$ git clone git://github.com/ruby-opencv/ruby-opencv.git
|
27
|
+
$ cd ruby-opencv
|
28
|
+
$ git checkout master
|
29
|
+
$ bundle install
|
30
|
+
$ git ls-files > Manifest.txt
|
31
|
+
$ rake gem:spec
|
32
|
+
$ rake gem
|
33
|
+
```
|
34
|
+
**ruby-opencv-x.y.z.gem** will be created in **pkg** directory.
|
35
|
+
|
36
|
+
To create pre-build binaries, create a config file firstly:
|
37
|
+
|
38
|
+
```yml
|
39
|
+
# config.yml
|
40
|
+
platform: mingw32
|
41
|
+
rubies:
|
42
|
+
- C:/ruby-1.9.3-p392-mingw32/bin/ruby.exe
|
43
|
+
- C:/ruby-2.0.0-p0-mingw32/bin/ruby.exe
|
44
|
+
extopts:
|
45
|
+
- --with-opencv-include=C:/opencv/build/include
|
46
|
+
- --with-opencv-lib=C:/opencv/build/x86/mingw/lib
|
47
|
+
```
|
48
|
+
|
49
|
+
Entries are below:
|
50
|
+
|
51
|
+
- **platform**: Target platform (e.g. mingw32, mswin32)
|
52
|
+
- **rubies**: Array of target versions of ruby's paths (You can create fat gems if you specify multiple versions of ruby)
|
53
|
+
- **extopts**: Array of options to be passed to **extconf.rb**
|
54
|
+
|
55
|
+
Then, run the following command:
|
56
|
+
|
57
|
+
```
|
58
|
+
$ rake gem:precompile CONFIG=config.yml
|
59
|
+
```
|
60
|
+
|
61
|
+
**ruby-opencv-x.y.z-mingw32.gem** will be created when you use mingw32, or
|
62
|
+
**ruby-opencv-x.y.z-x86-mswin32.gem** when you use mswin32.
|
63
|
+
|
64
|
+
|
65
|
+
## Install ruby-opencv manually
|
66
|
+
### Linux/Mac
|
67
|
+
|
68
|
+
```
|
69
|
+
$ git clone git://github.com/ruby-opencv/ruby-opencv.git
|
70
|
+
$ cd ruby-opencv
|
71
|
+
$ git checkout master
|
72
|
+
$ ruby ext/opencv/extconf.rb --with-opencv-dir=/path/to/opencvdir
|
73
|
+
$ make
|
74
|
+
$ make install
|
75
|
+
```
|
76
|
+
|
77
|
+
Note: **/path/to/opencvdir** is the directory where you installed OpenCV.
|
78
|
+
|
79
|
+
|
80
|
+
### Windows (mswin32)
|
81
|
+
|
82
|
+
Run the following commands on [**Visual Studio Command Prompt**](http://msdn.microsoft.com/en-us/library/ms229859.aspx).
|
83
|
+
|
84
|
+
```
|
85
|
+
$ git clone git://github.com/ruby-opencv/ruby-opencv.git
|
86
|
+
$ cd ruby-opencv
|
87
|
+
$ git checkout master
|
88
|
+
$ ruby ext/opencv/extconf.rb --with-opencv-dir=C:\path\to\opencvdir\install # for your own built OpenCV library
|
89
|
+
$ nmake
|
90
|
+
$ nmake install
|
91
|
+
```
|
92
|
+
|
93
|
+
To use pre-built OpenCV libraries, set the following option to extconf.rb.
|
94
|
+
|
95
|
+
```
|
96
|
+
$ 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
|
97
|
+
```
|
98
|
+
|
99
|
+
|
100
|
+
### Windows (mingw32)
|
101
|
+
|
102
|
+
Run the following commands on **MSYS console**.
|
103
|
+
|
104
|
+
```
|
105
|
+
$ git clone git://github.com/ruby-opencv/ruby-opencv.git
|
106
|
+
$ cd ruby-opencv
|
107
|
+
$ git checkout master
|
108
|
+
$ ruby ext/opencv/extconf.rb --with-opencv-dir=/C/path/to/opencvdir/install # for your own built OpenCV library
|
109
|
+
$ make
|
110
|
+
$ make install
|
111
|
+
```
|
112
|
+
|
113
|
+
To use pre-built OpenCV libraries, set the following option to extconf.rb.
|
114
|
+
|
115
|
+
```
|
116
|
+
$ 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
|
117
|
+
```
|
118
|
+
|
119
|
+
|
120
|
+
## Run tests
|
121
|
+
|
122
|
+
To run all tests, run **test/runner.rb**
|
123
|
+
|
124
|
+
```
|
125
|
+
$ cd ruby-opencv/test
|
126
|
+
$ ruby runner.rb
|
127
|
+
```
|
128
|
+
|
129
|
+
To run tests of the specified function, run a specific test with --name option.
|
130
|
+
|
131
|
+
The following sample runs tests for CvMat#initialize
|
132
|
+
|
133
|
+
```
|
134
|
+
$ cd ruby-opencv/test
|
135
|
+
$ ruby test_cvmat.rb --name=test_initialize
|
136
|
+
```
|
137
|
+
|
data/Gemfile
ADDED
data/History.txt
ADDED
data/License.txt
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
The BSD License
|
2
|
+
|
3
|
+
Copyright (c) 2008, Masakazu Yonekura
|
4
|
+
All rights reserved.
|
5
|
+
|
6
|
+
Redistribution and use of this software in source and binary forms, with or without modification, are
|
7
|
+
permitted provided that the following conditions are met:
|
8
|
+
|
9
|
+
* Redistributions of source code must retain the above
|
10
|
+
copyright notice, this list of conditions and the
|
11
|
+
following disclaimer.
|
12
|
+
|
13
|
+
* Redistributions in binary form must reproduce the above
|
14
|
+
copyright notice, this list of conditions and the
|
15
|
+
following disclaimer in the documentation and/or other
|
16
|
+
materials provided with the distribution.
|
17
|
+
|
18
|
+
* Neither the name of Masakazu Yonekura. nor the names of its
|
19
|
+
contributors may be used to endorse or promote products
|
20
|
+
derived from this software without specific prior
|
21
|
+
written permission of Masakazu Yonekura.
|
22
|
+
|
23
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED
|
24
|
+
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
25
|
+
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
26
|
+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
27
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
28
|
+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
29
|
+
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
30
|
+
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
data/Manifest.txt
ADDED
@@ -0,0 +1,239 @@
|
|
1
|
+
.gitignore
|
2
|
+
.yardopts
|
3
|
+
DEVELOPERS_NOTE.md
|
4
|
+
Gemfile
|
5
|
+
History.txt
|
6
|
+
License.txt
|
7
|
+
Manifest.txt
|
8
|
+
README.md
|
9
|
+
Rakefile
|
10
|
+
config.yml
|
11
|
+
examples/alpha_blend.rb
|
12
|
+
examples/contours/bitmap-contours-with-labels.png
|
13
|
+
examples/contours/bitmap-contours.png
|
14
|
+
examples/contours/bounding-box-detect-canny.rb
|
15
|
+
examples/contours/contour_retrieval_modes.rb
|
16
|
+
examples/contours/rotated-boxes.jpg
|
17
|
+
examples/convexhull.rb
|
18
|
+
examples/face_detect.rb
|
19
|
+
examples/facerec/create_csv.rb
|
20
|
+
examples/facerec/facerec_eigenfaces.rb
|
21
|
+
examples/facerec/facerec_fisherfaces.rb
|
22
|
+
examples/facerec/facerec_lbph.rb
|
23
|
+
examples/facerec/readme.md
|
24
|
+
examples/find_obj.rb
|
25
|
+
examples/houghcircle.rb
|
26
|
+
examples/images/box.png
|
27
|
+
examples/images/box_in_scene.png
|
28
|
+
examples/images/inpaint.png
|
29
|
+
examples/images/lena-256x256.jpg
|
30
|
+
examples/images/lena-eyes.jpg
|
31
|
+
examples/images/lenna-rotated.jpg
|
32
|
+
examples/images/lenna.jpg
|
33
|
+
examples/images/stuff.jpg
|
34
|
+
examples/images/tiffany.jpg
|
35
|
+
examples/inpaint.rb
|
36
|
+
examples/match_kdtree.rb
|
37
|
+
examples/match_template.rb
|
38
|
+
examples/paint.rb
|
39
|
+
examples/snake.rb
|
40
|
+
ext/opencv/algorithm.cpp
|
41
|
+
ext/opencv/algorithm.h
|
42
|
+
ext/opencv/curve.cpp
|
43
|
+
ext/opencv/curve.h
|
44
|
+
ext/opencv/cvavgcomp.cpp
|
45
|
+
ext/opencv/cvavgcomp.h
|
46
|
+
ext/opencv/cvbox2d.cpp
|
47
|
+
ext/opencv/cvbox2d.h
|
48
|
+
ext/opencv/cvcapture.cpp
|
49
|
+
ext/opencv/cvcapture.h
|
50
|
+
ext/opencv/cvchain.cpp
|
51
|
+
ext/opencv/cvchain.h
|
52
|
+
ext/opencv/cvcircle32f.cpp
|
53
|
+
ext/opencv/cvcircle32f.h
|
54
|
+
ext/opencv/cvconnectedcomp.cpp
|
55
|
+
ext/opencv/cvconnectedcomp.h
|
56
|
+
ext/opencv/cvcontour.cpp
|
57
|
+
ext/opencv/cvcontour.h
|
58
|
+
ext/opencv/cvcontourtree.cpp
|
59
|
+
ext/opencv/cvcontourtree.h
|
60
|
+
ext/opencv/cvconvexitydefect.cpp
|
61
|
+
ext/opencv/cvconvexitydefect.h
|
62
|
+
ext/opencv/cverror.cpp
|
63
|
+
ext/opencv/cverror.h
|
64
|
+
ext/opencv/cvfeaturetree.cpp
|
65
|
+
ext/opencv/cvfeaturetree.h
|
66
|
+
ext/opencv/cvfont.cpp
|
67
|
+
ext/opencv/cvfont.h
|
68
|
+
ext/opencv/cvhaarclassifiercascade.cpp
|
69
|
+
ext/opencv/cvhaarclassifiercascade.h
|
70
|
+
ext/opencv/cvhistogram.cpp
|
71
|
+
ext/opencv/cvhistogram.h
|
72
|
+
ext/opencv/cvhumoments.cpp
|
73
|
+
ext/opencv/cvhumoments.h
|
74
|
+
ext/opencv/cvline.cpp
|
75
|
+
ext/opencv/cvline.h
|
76
|
+
ext/opencv/cvmat.cpp
|
77
|
+
ext/opencv/cvmat.h
|
78
|
+
ext/opencv/cvmemstorage.cpp
|
79
|
+
ext/opencv/cvmemstorage.h
|
80
|
+
ext/opencv/cvmoments.cpp
|
81
|
+
ext/opencv/cvmoments.h
|
82
|
+
ext/opencv/cvpoint.cpp
|
83
|
+
ext/opencv/cvpoint.h
|
84
|
+
ext/opencv/cvpoint2d32f.cpp
|
85
|
+
ext/opencv/cvpoint2d32f.h
|
86
|
+
ext/opencv/cvpoint3d32f.cpp
|
87
|
+
ext/opencv/cvpoint3d32f.h
|
88
|
+
ext/opencv/cvrect.cpp
|
89
|
+
ext/opencv/cvrect.h
|
90
|
+
ext/opencv/cvscalar.cpp
|
91
|
+
ext/opencv/cvscalar.h
|
92
|
+
ext/opencv/cvseq.cpp
|
93
|
+
ext/opencv/cvseq.h
|
94
|
+
ext/opencv/cvsize.cpp
|
95
|
+
ext/opencv/cvsize.h
|
96
|
+
ext/opencv/cvsize2d32f.cpp
|
97
|
+
ext/opencv/cvsize2d32f.h
|
98
|
+
ext/opencv/cvslice.cpp
|
99
|
+
ext/opencv/cvslice.h
|
100
|
+
ext/opencv/cvsurfparams.cpp
|
101
|
+
ext/opencv/cvsurfparams.h
|
102
|
+
ext/opencv/cvsurfpoint.cpp
|
103
|
+
ext/opencv/cvsurfpoint.h
|
104
|
+
ext/opencv/cvtermcriteria.cpp
|
105
|
+
ext/opencv/cvtermcriteria.h
|
106
|
+
ext/opencv/cvtwopoints.cpp
|
107
|
+
ext/opencv/cvtwopoints.h
|
108
|
+
ext/opencv/cvutils.cpp
|
109
|
+
ext/opencv/cvutils.h
|
110
|
+
ext/opencv/cvvideowriter.cpp
|
111
|
+
ext/opencv/cvvideowriter.h
|
112
|
+
ext/opencv/eigenfaces.cpp
|
113
|
+
ext/opencv/eigenfaces.h
|
114
|
+
ext/opencv/extconf.rb
|
115
|
+
ext/opencv/facerecognizer.cpp
|
116
|
+
ext/opencv/facerecognizer.h
|
117
|
+
ext/opencv/fisherfaces.cpp
|
118
|
+
ext/opencv/fisherfaces.h
|
119
|
+
ext/opencv/gui.cpp
|
120
|
+
ext/opencv/gui.h
|
121
|
+
ext/opencv/iplconvkernel.cpp
|
122
|
+
ext/opencv/iplconvkernel.h
|
123
|
+
ext/opencv/iplimage.cpp
|
124
|
+
ext/opencv/iplimage.h
|
125
|
+
ext/opencv/lbph.cpp
|
126
|
+
ext/opencv/lbph.h
|
127
|
+
ext/opencv/mouseevent.cpp
|
128
|
+
ext/opencv/mouseevent.h
|
129
|
+
ext/opencv/opencv.cpp
|
130
|
+
ext/opencv/opencv.h
|
131
|
+
ext/opencv/pointset.cpp
|
132
|
+
ext/opencv/pointset.h
|
133
|
+
ext/opencv/trackbar.cpp
|
134
|
+
ext/opencv/trackbar.h
|
135
|
+
ext/opencv/window.cpp
|
136
|
+
ext/opencv/window.h
|
137
|
+
images/CvMat_sobel.png
|
138
|
+
images/CvMat_sub_rect.png
|
139
|
+
images/CvSeq_relationmap.png
|
140
|
+
lib/opencv.rb
|
141
|
+
lib/opencv/psyched_yaml.rb
|
142
|
+
lib/opencv/version.rb
|
143
|
+
ruby-opencv.gemspec
|
144
|
+
test/eigenfaces_save.xml
|
145
|
+
test/fisherfaces_save.xml
|
146
|
+
test/helper.rb
|
147
|
+
test/lbph_save.xml
|
148
|
+
test/runner.rb
|
149
|
+
test/samples/airplane.jpg
|
150
|
+
test/samples/baboon.jpg
|
151
|
+
test/samples/baboon200.jpg
|
152
|
+
test/samples/baboon200_rotated.jpg
|
153
|
+
test/samples/blank0.jpg
|
154
|
+
test/samples/blank1.jpg
|
155
|
+
test/samples/blank2.jpg
|
156
|
+
test/samples/blank3.jpg
|
157
|
+
test/samples/blank4.jpg
|
158
|
+
test/samples/blank5.jpg
|
159
|
+
test/samples/blank6.jpg
|
160
|
+
test/samples/blank7.jpg
|
161
|
+
test/samples/blank8.jpg
|
162
|
+
test/samples/blank9.jpg
|
163
|
+
test/samples/cat.jpg
|
164
|
+
test/samples/chessboard.jpg
|
165
|
+
test/samples/contours.jpg
|
166
|
+
test/samples/fruits.jpg
|
167
|
+
test/samples/haarcascade_frontalface_alt.xml.gz
|
168
|
+
test/samples/inpaint-mask.bmp
|
169
|
+
test/samples/lena-256x256.jpg
|
170
|
+
test/samples/lena-32x32.jpg
|
171
|
+
test/samples/lena-eyes.jpg
|
172
|
+
test/samples/lena-inpaint.jpg
|
173
|
+
test/samples/lena.jpg
|
174
|
+
test/samples/lines.jpg
|
175
|
+
test/samples/messy0.jpg
|
176
|
+
test/samples/messy1.jpg
|
177
|
+
test/samples/movie_sample.avi
|
178
|
+
test/samples/one_way_train_0000.jpg
|
179
|
+
test/samples/one_way_train_0001.jpg
|
180
|
+
test/samples/partially_blank0.jpg
|
181
|
+
test/samples/partially_blank1.jpg
|
182
|
+
test/samples/smooth0.jpg
|
183
|
+
test/samples/smooth1.jpg
|
184
|
+
test/samples/smooth2.jpg
|
185
|
+
test/samples/smooth3.jpg
|
186
|
+
test/samples/smooth4.jpg
|
187
|
+
test/samples/smooth5.jpg
|
188
|
+
test/samples/smooth6.jpg
|
189
|
+
test/samples/str-cv-rotated.jpg
|
190
|
+
test/samples/str-cv.jpg
|
191
|
+
test/samples/str-ov.jpg
|
192
|
+
test/samples/stuff.jpg
|
193
|
+
test/test_curve.rb
|
194
|
+
test/test_cvavgcomp.rb
|
195
|
+
test/test_cvbox2d.rb
|
196
|
+
test/test_cvcapture.rb
|
197
|
+
test/test_cvchain.rb
|
198
|
+
test/test_cvcircle32f.rb
|
199
|
+
test/test_cvconnectedcomp.rb
|
200
|
+
test/test_cvcontour.rb
|
201
|
+
test/test_cvcontourtree.rb
|
202
|
+
test/test_cverror.rb
|
203
|
+
test/test_cvfeaturetree.rb
|
204
|
+
test/test_cvfont.rb
|
205
|
+
test/test_cvhaarclassifiercascade.rb
|
206
|
+
test/test_cvhistogram.rb
|
207
|
+
test/test_cvhumoments.rb
|
208
|
+
test/test_cvline.rb
|
209
|
+
test/test_cvmat.rb
|
210
|
+
test/test_cvmat_drawing.rb
|
211
|
+
test/test_cvmat_dxt.rb
|
212
|
+
test/test_cvmat_imageprocessing.rb
|
213
|
+
test/test_cvmoments.rb
|
214
|
+
test/test_cvpoint.rb
|
215
|
+
test/test_cvpoint2d32f.rb
|
216
|
+
test/test_cvpoint3d32f.rb
|
217
|
+
test/test_cvrect.rb
|
218
|
+
test/test_cvscalar.rb
|
219
|
+
test/test_cvseq.rb
|
220
|
+
test/test_cvsize.rb
|
221
|
+
test/test_cvsize2d32f.rb
|
222
|
+
test/test_cvslice.rb
|
223
|
+
test/test_cvsurfparams.rb
|
224
|
+
test/test_cvsurfpoint.rb
|
225
|
+
test/test_cvtermcriteria.rb
|
226
|
+
test/test_cvtwopoints.rb
|
227
|
+
test/test_cvvideowriter.rb
|
228
|
+
test/test_eigenfaces.rb
|
229
|
+
test/test_fisherfaces.rb
|
230
|
+
test/test_iplconvkernel.rb
|
231
|
+
test/test_iplimage.rb
|
232
|
+
test/test_lbph.rb
|
233
|
+
test/test_mouseevent.rb
|
234
|
+
test/test_opencv.rb
|
235
|
+
test/test_pointset.rb
|
236
|
+
test/test_preliminary.rb
|
237
|
+
test/test_trackbar.rb
|
238
|
+
test/test_window.rb
|
239
|
+
yard_extension.rb
|