jf-ruby-opencv 0.0.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (241) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +28 -0
  3. data/.yardopts +3 -0
  4. data/DEVELOPERS_NOTE.md +137 -0
  5. data/Gemfile +9 -0
  6. data/History.txt +5 -0
  7. data/License.txt +30 -0
  8. data/Manifest.txt +239 -0
  9. data/README.md +94 -0
  10. data/Rakefile +99 -0
  11. data/config.yml +7 -0
  12. data/examples/alpha_blend.rb +21 -0
  13. data/examples/contours/bitmap-contours-with-labels.png +0 -0
  14. data/examples/contours/bitmap-contours.png +0 -0
  15. data/examples/contours/bounding-box-detect-canny.rb +62 -0
  16. data/examples/contours/contour_retrieval_modes.rb +139 -0
  17. data/examples/contours/rotated-boxes.jpg +0 -0
  18. data/examples/convexhull.rb +47 -0
  19. data/examples/face_detect.rb +20 -0
  20. data/examples/facerec/create_csv.rb +43 -0
  21. data/examples/facerec/facerec_eigenfaces.rb +132 -0
  22. data/examples/facerec/facerec_fisherfaces.rb +131 -0
  23. data/examples/facerec/facerec_lbph.rb +116 -0
  24. data/examples/facerec/readme.md +111 -0
  25. data/examples/find_obj.rb +169 -0
  26. data/examples/houghcircle.rb +22 -0
  27. data/examples/images/box.png +0 -0
  28. data/examples/images/box_in_scene.png +0 -0
  29. data/examples/images/inpaint.png +0 -0
  30. data/examples/images/lena-256x256.jpg +0 -0
  31. data/examples/images/lena-eyes.jpg +0 -0
  32. data/examples/images/lenna-rotated.jpg +0 -0
  33. data/examples/images/lenna.jpg +0 -0
  34. data/examples/images/stuff.jpg +0 -0
  35. data/examples/images/tiffany.jpg +0 -0
  36. data/examples/inpaint.rb +57 -0
  37. data/examples/match_kdtree.rb +88 -0
  38. data/examples/match_template.rb +26 -0
  39. data/examples/paint.rb +70 -0
  40. data/examples/snake.rb +43 -0
  41. data/ext/opencv/algorithm.cpp +291 -0
  42. data/ext/opencv/algorithm.h +38 -0
  43. data/ext/opencv/curve.cpp +127 -0
  44. data/ext/opencv/curve.h +34 -0
  45. data/ext/opencv/cvavgcomp.cpp +64 -0
  46. data/ext/opencv/cvavgcomp.h +39 -0
  47. data/ext/opencv/cvbox2d.cpp +195 -0
  48. data/ext/opencv/cvbox2d.h +61 -0
  49. data/ext/opencv/cvcapture.cpp +633 -0
  50. data/ext/opencv/cvcapture.h +82 -0
  51. data/ext/opencv/cvchain.cpp +233 -0
  52. data/ext/opencv/cvchain.h +46 -0
  53. data/ext/opencv/cvcircle32f.cpp +126 -0
  54. data/ext/opencv/cvcircle32f.h +52 -0
  55. data/ext/opencv/cvconnectedcomp.cpp +156 -0
  56. data/ext/opencv/cvconnectedcomp.h +49 -0
  57. data/ext/opencv/cvcontour.cpp +384 -0
  58. data/ext/opencv/cvcontour.h +51 -0
  59. data/ext/opencv/cvcontourtree.cpp +96 -0
  60. data/ext/opencv/cvcontourtree.h +41 -0
  61. data/ext/opencv/cvconvexitydefect.cpp +92 -0
  62. data/ext/opencv/cvconvexitydefect.h +42 -0
  63. data/ext/opencv/cverror.cpp +115 -0
  64. data/ext/opencv/cverror.h +28 -0
  65. data/ext/opencv/cvfeaturetree.cpp +123 -0
  66. data/ext/opencv/cvfeaturetree.h +55 -0
  67. data/ext/opencv/cvfont.cpp +228 -0
  68. data/ext/opencv/cvfont.h +64 -0
  69. data/ext/opencv/cvhaarclassifiercascade.cpp +148 -0
  70. data/ext/opencv/cvhaarclassifiercascade.h +39 -0
  71. data/ext/opencv/cvhistogram.cpp +717 -0
  72. data/ext/opencv/cvhistogram.h +73 -0
  73. data/ext/opencv/cvhumoments.cpp +178 -0
  74. data/ext/opencv/cvhumoments.h +51 -0
  75. data/ext/opencv/cvline.cpp +159 -0
  76. data/ext/opencv/cvline.h +54 -0
  77. data/ext/opencv/cvmat.cpp +6086 -0
  78. data/ext/opencv/cvmat.h +290 -0
  79. data/ext/opencv/cvmemstorage.cpp +73 -0
  80. data/ext/opencv/cvmemstorage.h +50 -0
  81. data/ext/opencv/cvmoments.cpp +293 -0
  82. data/ext/opencv/cvmoments.h +75 -0
  83. data/ext/opencv/cvpoint.cpp +234 -0
  84. data/ext/opencv/cvpoint.h +64 -0
  85. data/ext/opencv/cvpoint2d32f.cpp +216 -0
  86. data/ext/opencv/cvpoint2d32f.h +63 -0
  87. data/ext/opencv/cvpoint3d32f.cpp +252 -0
  88. data/ext/opencv/cvpoint3d32f.h +66 -0
  89. data/ext/opencv/cvrect.cpp +338 -0
  90. data/ext/opencv/cvrect.h +79 -0
  91. data/ext/opencv/cvscalar.cpp +241 -0
  92. data/ext/opencv/cvscalar.h +71 -0
  93. data/ext/opencv/cvseq.cpp +663 -0
  94. data/ext/opencv/cvseq.h +75 -0
  95. data/ext/opencv/cvsize.cpp +227 -0
  96. data/ext/opencv/cvsize.h +65 -0
  97. data/ext/opencv/cvsize2d32f.cpp +215 -0
  98. data/ext/opencv/cvsize2d32f.h +64 -0
  99. data/ext/opencv/cvslice.cpp +126 -0
  100. data/ext/opencv/cvslice.h +61 -0
  101. data/ext/opencv/cvsurfparams.cpp +208 -0
  102. data/ext/opencv/cvsurfparams.h +58 -0
  103. data/ext/opencv/cvsurfpoint.cpp +246 -0
  104. data/ext/opencv/cvsurfpoint.h +52 -0
  105. data/ext/opencv/cvtermcriteria.cpp +198 -0
  106. data/ext/opencv/cvtermcriteria.h +71 -0
  107. data/ext/opencv/cvtwopoints.cpp +122 -0
  108. data/ext/opencv/cvtwopoints.h +51 -0
  109. data/ext/opencv/cvutils.cpp +192 -0
  110. data/ext/opencv/cvutils.h +30 -0
  111. data/ext/opencv/cvvideowriter.cpp +142 -0
  112. data/ext/opencv/cvvideowriter.h +43 -0
  113. data/ext/opencv/eigenfaces.cpp +75 -0
  114. data/ext/opencv/eigenfaces.h +30 -0
  115. data/ext/opencv/extconf.rb +77 -0
  116. data/ext/opencv/facerecognizer.cpp +219 -0
  117. data/ext/opencv/facerecognizer.h +46 -0
  118. data/ext/opencv/fisherfaces.cpp +75 -0
  119. data/ext/opencv/fisherfaces.h +30 -0
  120. data/ext/opencv/gui.cpp +71 -0
  121. data/ext/opencv/gui.h +30 -0
  122. data/ext/opencv/iplconvkernel.cpp +198 -0
  123. data/ext/opencv/iplconvkernel.h +71 -0
  124. data/ext/opencv/iplimage.cpp +651 -0
  125. data/ext/opencv/iplimage.h +73 -0
  126. data/ext/opencv/lbph.cpp +78 -0
  127. data/ext/opencv/lbph.h +30 -0
  128. data/ext/opencv/mouseevent.cpp +186 -0
  129. data/ext/opencv/mouseevent.h +56 -0
  130. data/ext/opencv/opencv.cpp +819 -0
  131. data/ext/opencv/opencv.h +408 -0
  132. data/ext/opencv/pointset.cpp +280 -0
  133. data/ext/opencv/pointset.h +68 -0
  134. data/ext/opencv/trackbar.cpp +127 -0
  135. data/ext/opencv/trackbar.h +69 -0
  136. data/ext/opencv/window.cpp +377 -0
  137. data/ext/opencv/window.h +66 -0
  138. data/images/CvMat_sobel.png +0 -0
  139. data/images/CvMat_sub_rect.png +0 -0
  140. data/images/CvSeq_relationmap.png +0 -0
  141. data/lib/opencv.rb +12 -0
  142. data/lib/opencv/psyched_yaml.rb +22 -0
  143. data/lib/opencv/version.rb +3 -0
  144. data/ruby-opencv.gemspec +44 -0
  145. data/test/eigenfaces_save.xml +7524 -0
  146. data/test/fisherfaces_save.xml +7530 -0
  147. data/test/helper.rb +167 -0
  148. data/test/lbph_save.xml +4304 -0
  149. data/test/runner.rb +30 -0
  150. data/test/samples/airplane.jpg +0 -0
  151. data/test/samples/baboon.jpg +0 -0
  152. data/test/samples/baboon200.jpg +0 -0
  153. data/test/samples/baboon200_rotated.jpg +0 -0
  154. data/test/samples/blank0.jpg +0 -0
  155. data/test/samples/blank1.jpg +0 -0
  156. data/test/samples/blank2.jpg +0 -0
  157. data/test/samples/blank3.jpg +0 -0
  158. data/test/samples/blank4.jpg +0 -0
  159. data/test/samples/blank5.jpg +0 -0
  160. data/test/samples/blank6.jpg +0 -0
  161. data/test/samples/blank7.jpg +0 -0
  162. data/test/samples/blank8.jpg +0 -0
  163. data/test/samples/blank9.jpg +0 -0
  164. data/test/samples/cat.jpg +0 -0
  165. data/test/samples/chessboard.jpg +0 -0
  166. data/test/samples/contours.jpg +0 -0
  167. data/test/samples/fruits.jpg +0 -0
  168. data/test/samples/haarcascade_frontalface_alt.xml.gz +0 -0
  169. data/test/samples/inpaint-mask.bmp +0 -0
  170. data/test/samples/lena-256x256.jpg +0 -0
  171. data/test/samples/lena-32x32.jpg +0 -0
  172. data/test/samples/lena-eyes.jpg +0 -0
  173. data/test/samples/lena-inpaint.jpg +0 -0
  174. data/test/samples/lena.jpg +0 -0
  175. data/test/samples/lines.jpg +0 -0
  176. data/test/samples/messy0.jpg +0 -0
  177. data/test/samples/messy1.jpg +0 -0
  178. data/test/samples/movie_sample.avi +0 -0
  179. data/test/samples/one_way_train_0000.jpg +0 -0
  180. data/test/samples/one_way_train_0001.jpg +0 -0
  181. data/test/samples/partially_blank0.jpg +0 -0
  182. data/test/samples/partially_blank1.jpg +0 -0
  183. data/test/samples/smooth0.jpg +0 -0
  184. data/test/samples/smooth1.jpg +0 -0
  185. data/test/samples/smooth2.jpg +0 -0
  186. data/test/samples/smooth3.jpg +0 -0
  187. data/test/samples/smooth4.jpg +0 -0
  188. data/test/samples/smooth5.jpg +0 -0
  189. data/test/samples/smooth6.jpg +0 -0
  190. data/test/samples/str-cv-rotated.jpg +0 -0
  191. data/test/samples/str-cv.jpg +0 -0
  192. data/test/samples/str-ov.jpg +0 -0
  193. data/test/samples/stuff.jpg +0 -0
  194. data/test/test_curve.rb +43 -0
  195. data/test/test_cvavgcomp.rb +24 -0
  196. data/test/test_cvbox2d.rb +76 -0
  197. data/test/test_cvcapture.rb +191 -0
  198. data/test/test_cvchain.rb +108 -0
  199. data/test/test_cvcircle32f.rb +41 -0
  200. data/test/test_cvconnectedcomp.rb +61 -0
  201. data/test/test_cvcontour.rb +171 -0
  202. data/test/test_cvcontourtree.rb +43 -0
  203. data/test/test_cverror.rb +50 -0
  204. data/test/test_cvfeaturetree.rb +65 -0
  205. data/test/test_cvfont.rb +58 -0
  206. data/test/test_cvhaarclassifiercascade.rb +63 -0
  207. data/test/test_cvhistogram.rb +271 -0
  208. data/test/test_cvhumoments.rb +83 -0
  209. data/test/test_cvline.rb +50 -0
  210. data/test/test_cvmat.rb +3036 -0
  211. data/test/test_cvmat_drawing.rb +349 -0
  212. data/test/test_cvmat_dxt.rb +150 -0
  213. data/test/test_cvmat_imageprocessing.rb +2085 -0
  214. data/test/test_cvmoments.rb +180 -0
  215. data/test/test_cvpoint.rb +75 -0
  216. data/test/test_cvpoint2d32f.rb +75 -0
  217. data/test/test_cvpoint3d32f.rb +93 -0
  218. data/test/test_cvrect.rb +144 -0
  219. data/test/test_cvscalar.rb +113 -0
  220. data/test/test_cvseq.rb +311 -0
  221. data/test/test_cvsize.rb +75 -0
  222. data/test/test_cvsize2d32f.rb +75 -0
  223. data/test/test_cvslice.rb +31 -0
  224. data/test/test_cvsurfparams.rb +57 -0
  225. data/test/test_cvsurfpoint.rb +66 -0
  226. data/test/test_cvtermcriteria.rb +56 -0
  227. data/test/test_cvtwopoints.rb +40 -0
  228. data/test/test_cvvideowriter.rb +58 -0
  229. data/test/test_eigenfaces.rb +93 -0
  230. data/test/test_fisherfaces.rb +93 -0
  231. data/test/test_iplconvkernel.rb +54 -0
  232. data/test/test_iplimage.rb +232 -0
  233. data/test/test_lbph.rb +166 -0
  234. data/test/test_mouseevent.rb +17 -0
  235. data/test/test_opencv.rb +360 -0
  236. data/test/test_pointset.rb +128 -0
  237. data/test/test_preliminary.rb +130 -0
  238. data/test/test_trackbar.rb +47 -0
  239. data/test/test_window.rb +115 -0
  240. data/yard_extension.rb +5 -0
  241. metadata +352 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 1aa1af82799cc51f77a5f9e4855094dfe6a1d4adab34accdd4f63ad8dfdd5bd6
4
+ data.tar.gz: 6134f5573414ee1af6d79964212983665d7bba5591da20872bc05ed0beac3083
5
+ SHA512:
6
+ metadata.gz: f03c66207d8a4936a6563192adf38d552c48e69620e338cb666bc355415194f3de20a90bd673464cef9ceb54990d68415b6e81cfe8c1ec894171e4d30392a770
7
+ data.tar.gz: '0419ada4ba55ade128b0c91704198fa92de7a35b5ea3fd377c12d2518c9c61bcebe1850466f51f5cf36991b8ef9a3a9a510ab483cd5cee863259251109220db0'
@@ -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
+
@@ -0,0 +1,3 @@
1
+ --load ./yard_extension.rb
2
+ ext/opencv/*.cpp
3
+
@@ -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
@@ -0,0 +1,9 @@
1
+ source 'https://rubygems.org'
2
+
3
+ group :development do
4
+ gem "hoe"
5
+ gem "hoe-gemspec"
6
+ gem "rake-compiler"
7
+ gem "yard"
8
+ end
9
+
@@ -0,0 +1,5 @@
1
+ === 0.0.6 / 2008-06-27
2
+
3
+ * First gem release.
4
+
5
+ * Some OpenCV function wrapped.
@@ -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.
@@ -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