ruby-opencv 0.0.8-x86-mingw32 → 0.0.9.pre2-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +7 -0
  2. data/DEVELOPERS_NOTE.md +29 -12
  3. data/Gemfile +1 -2
  4. data/License.txt +30 -30
  5. data/Manifest.txt +5 -4
  6. data/README.md +1 -1
  7. data/Rakefile +62 -4
  8. data/config.yml +7 -0
  9. data/examples/alpha_blend.rb +21 -21
  10. data/examples/find_obj.rb +169 -169
  11. data/examples/match_kdtree.rb +88 -88
  12. data/ext/opencv/cvcapture.cpp +19 -12
  13. data/ext/opencv/cvutils.cpp +192 -194
  14. data/ext/opencv/cvutils.h +30 -29
  15. data/{extconf.rb → ext/opencv/extconf.rb} +12 -4
  16. data/lib/opencv.rb +12 -3
  17. data/lib/opencv/psyched_yaml.rb +22 -22
  18. data/lib/opencv/version.rb +1 -1
  19. data/ruby-opencv.gemspec +17 -16
  20. data/test/helper.rb +1 -1
  21. data/test/runner.rb +30 -30
  22. data/test/test_curve.rb +1 -1
  23. data/test/test_cvavgcomp.rb +24 -24
  24. data/test/test_cvbox2d.rb +76 -76
  25. data/test/test_cvcapture.rb +183 -183
  26. data/test/test_cvchain.rb +108 -108
  27. data/test/test_cvcircle32f.rb +41 -41
  28. data/test/test_cvconnectedcomp.rb +61 -61
  29. data/test/test_cvcontour.rb +150 -150
  30. data/test/test_cvcontourtree.rb +43 -43
  31. data/test/test_cverror.rb +1 -1
  32. data/test/test_cvfeaturetree.rb +65 -65
  33. data/test/test_cvfont.rb +58 -58
  34. data/test/test_cvhaarclassifiercascade.rb +63 -63
  35. data/test/test_cvhistogram.rb +1 -1
  36. data/test/test_cvhumoments.rb +83 -83
  37. data/test/test_cvline.rb +50 -50
  38. data/test/test_cvmat.rb +1 -1
  39. data/test/test_cvmat_drawing.rb +1 -1
  40. data/test/test_cvmat_dxt.rb +1 -1
  41. data/test/test_cvmat_imageprocessing.rb +1 -1
  42. data/test/test_cvmat_matching.rb +1 -1
  43. data/test/test_cvmoments.rb +180 -180
  44. data/test/test_cvpoint.rb +75 -75
  45. data/test/test_cvpoint2d32f.rb +75 -75
  46. data/test/test_cvpoint3d32f.rb +93 -93
  47. data/test/test_cvrect.rb +144 -144
  48. data/test/test_cvscalar.rb +113 -113
  49. data/test/test_cvseq.rb +295 -295
  50. data/test/test_cvsize.rb +75 -75
  51. data/test/test_cvsize2d32f.rb +75 -75
  52. data/test/test_cvslice.rb +31 -31
  53. data/test/test_cvsurfparams.rb +57 -57
  54. data/test/test_cvsurfpoint.rb +66 -66
  55. data/test/test_cvtermcriteria.rb +56 -56
  56. data/test/test_cvtwopoints.rb +40 -40
  57. data/test/test_cvvideowriter.rb +58 -58
  58. data/test/test_iplconvkernel.rb +54 -54
  59. data/test/test_iplimage.rb +1 -1
  60. data/test/test_mouseevent.rb +17 -17
  61. data/test/test_opencv.rb +1 -1
  62. data/test/test_pointset.rb +1 -1
  63. data/test/test_preliminary.rb +130 -130
  64. data/test/test_trackbar.rb +47 -47
  65. data/test/test_window.rb +115 -115
  66. metadata +26 -54
  67. data/ext/opencv/lib/opencv.rb +0 -3
  68. data/ext/opencv/lib/opencv/psyched_yaml.rb +0 -22
  69. data/ext/opencv/lib/opencv/version.rb +0 -3
metadata CHANGED
@@ -1,9 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-opencv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
5
- segments:
6
- hash:
4
+ version: 0.0.9.pre2
7
5
  platform: x86-mingw32
8
6
  authors:
9
7
  - lsxi
@@ -12,89 +10,66 @@ authors:
12
10
  autorequire:
13
11
  bindir: bin
14
12
  cert_chain: []
15
- date: 2013-01-27 00:00:00.000000000 Z
13
+ date: 2013-05-04 00:00:00.000000000 Z
16
14
  dependencies:
17
15
  - !ruby/object:Gem::Dependency
18
16
  name: rdoc
19
17
  requirement: !ruby/object:Gem::Requirement
20
- none: false
21
18
  requirements:
22
19
  - - ~>
23
20
  - !ruby/object:Gem::Version
24
- version: '3.10'
25
- segments:
26
- hash:
21
+ version: '4.0'
27
22
  type: :development
28
23
  prerelease: false
29
24
  version_requirements: !ruby/object:Gem::Requirement
30
- none: false
31
25
  requirements:
32
26
  - - ~>
33
27
  - !ruby/object:Gem::Version
34
- version: '3.10'
35
- segments:
36
- hash:
28
+ version: '4.0'
37
29
  - !ruby/object:Gem::Dependency
38
30
  name: rake-compiler
39
31
  requirement: !ruby/object:Gem::Requirement
40
- none: false
41
32
  requirements:
42
- - - ! '>='
33
+ - - '>='
43
34
  - !ruby/object:Gem::Version
44
35
  version: '0'
45
- segments:
46
- hash:
47
36
  type: :development
48
37
  prerelease: false
49
38
  version_requirements: !ruby/object:Gem::Requirement
50
- none: false
51
39
  requirements:
52
- - - ! '>='
40
+ - - '>='
53
41
  - !ruby/object:Gem::Version
54
42
  version: '0'
55
- segments:
56
- hash:
57
43
  - !ruby/object:Gem::Dependency
58
44
  name: hoe-gemspec
59
45
  requirement: !ruby/object:Gem::Requirement
60
- none: false
61
46
  requirements:
62
- - - ! '>='
47
+ - - '>='
63
48
  - !ruby/object:Gem::Version
64
49
  version: '0'
65
- segments:
66
- hash:
67
50
  type: :development
68
51
  prerelease: false
69
52
  version_requirements: !ruby/object:Gem::Requirement
70
- none: false
71
53
  requirements:
72
- - - ! '>='
54
+ - - '>='
73
55
  - !ruby/object:Gem::Version
74
56
  version: '0'
75
- segments:
76
- hash:
77
57
  - !ruby/object:Gem::Dependency
78
58
  name: hoe
79
59
  requirement: !ruby/object:Gem::Requirement
80
- none: false
81
60
  requirements:
82
61
  - - ~>
83
62
  - !ruby/object:Gem::Version
84
- version: '3.5'
85
- segments:
86
- hash:
63
+ version: '3.6'
87
64
  type: :development
88
65
  prerelease: false
89
66
  version_requirements: !ruby/object:Gem::Requirement
90
- none: false
91
67
  requirements:
92
68
  - - ~>
93
69
  - !ruby/object:Gem::Version
94
- version: '3.5'
95
- segments:
96
- hash:
97
- description: ''
70
+ version: '3.6'
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.
98
73
  email:
99
74
  - masakazu.yonekura@gmail.com
100
75
  - azariahsawtikes@gmail.com
@@ -102,9 +77,11 @@ email:
102
77
  executables: []
103
78
  extensions: []
104
79
  extra_rdoc_files:
80
+ - DEVELOPERS_NOTE.md
105
81
  - History.txt
106
82
  - License.txt
107
83
  - Manifest.txt
84
+ - README.md
108
85
  - examples/matching_to_many_images/train/trainImages.txt
109
86
  files:
110
87
  - .gitignore
@@ -115,6 +92,7 @@ files:
115
92
  - Manifest.txt
116
93
  - README.md
117
94
  - Rakefile
95
+ - config.yml
118
96
  - examples/alpha_blend.rb
119
97
  - examples/box.png
120
98
  - examples/box_in_scene.png
@@ -218,15 +196,13 @@ files:
218
196
  - ext/opencv/cvutils.h
219
197
  - ext/opencv/cvvideowriter.cpp
220
198
  - ext/opencv/cvvideowriter.h
199
+ - ext/opencv/extconf.rb
221
200
  - ext/opencv/gui.cpp
222
201
  - ext/opencv/gui.h
223
202
  - ext/opencv/iplconvkernel.cpp
224
203
  - ext/opencv/iplconvkernel.h
225
204
  - ext/opencv/iplimage.cpp
226
205
  - ext/opencv/iplimage.h
227
- - ext/opencv/lib/opencv.rb
228
- - ext/opencv/lib/opencv/psyched_yaml.rb
229
- - ext/opencv/lib/opencv/version.rb
230
206
  - ext/opencv/mouseevent.cpp
231
207
  - ext/opencv/mouseevent.h
232
208
  - ext/opencv/opencv.cpp
@@ -237,13 +213,11 @@ files:
237
213
  - ext/opencv/trackbar.h
238
214
  - ext/opencv/window.cpp
239
215
  - ext/opencv/window.h
240
- - extconf.rb
241
216
  - images/CvMat_sobel.png
242
217
  - images/CvMat_sub_rect.png
243
218
  - images/CvSeq_relationmap.png
244
219
  - images/face_detect_from_lena.jpg
245
220
  - lib/opencv.rb
246
- - lib/opencv.so
247
221
  - lib/opencv/psyched_yaml.rb
248
222
  - lib/opencv/version.rb
249
223
  - ruby-opencv.gemspec
@@ -337,8 +311,12 @@ files:
337
311
  - test/test_preliminary.rb
338
312
  - test/test_trackbar.rb
339
313
  - test/test_window.rb
314
+ - lib/1.9/opencv.so
315
+ - lib/2.0/opencv.so
340
316
  homepage: https://github.com/ruby-opencv/ruby-opencv/
341
- licenses: []
317
+ licenses:
318
+ - The BSD License
319
+ metadata: {}
342
320
  post_install_message:
343
321
  rdoc_options:
344
322
  - --main
@@ -346,26 +324,20 @@ rdoc_options:
346
324
  require_paths:
347
325
  - lib
348
326
  required_ruby_version: !ruby/object:Gem::Requirement
349
- none: false
350
327
  requirements:
351
- - - ! '>='
328
+ - - '>='
352
329
  - !ruby/object:Gem::Version
353
330
  version: '0'
354
- segments:
355
- hash:
356
331
  required_rubygems_version: !ruby/object:Gem::Requirement
357
- none: false
358
332
  requirements:
359
- - - ! '>='
333
+ - - '>'
360
334
  - !ruby/object:Gem::Version
361
- version: '0'
362
- segments:
363
- hash:
335
+ version: 1.3.1
364
336
  requirements: []
365
337
  rubyforge_project: ruby-opencv
366
- rubygems_version: 1.8.24
338
+ rubygems_version: 2.0.3
367
339
  signing_key:
368
- specification_version: 3
340
+ specification_version: 4
369
341
  summary: OpenCV wrapper for Ruby
370
342
  test_files:
371
343
  - test/test_curve.rb
@@ -1,3 +0,0 @@
1
- require (File.dirname(__FILE__) + '/opencv/version')
2
- require 'opencv.so'
3
-
@@ -1,22 +0,0 @@
1
- # -*- mode: ruby; coding: utf-8-unix -*-
2
- # Psych loader for avoiding loading problem
3
- # (borrowed from Bundler 1.1.rc.7 https://github.com/carlhuda/bundler/blob/v1.1.rc.7/lib/bundler/psyched_yaml.rb )
4
- #
5
- # See: https://github.com/ruby-opencv/ruby-opencv/pull/6
6
-
7
- # Psych could be a gem
8
- begin
9
- gem 'psych'
10
- rescue Gem::LoadError
11
- end if defined?(Gem)
12
-
13
- # Psych could be a stdlib
14
- begin
15
- # it's too late if Syck is already loaded
16
- require 'psych' unless defined?(Syck)
17
- rescue LoadError
18
- end
19
-
20
- # Psych might NOT EXIST AT ALL
21
- require 'yaml'
22
-
@@ -1,3 +0,0 @@
1
- module OpenCV
2
- VERSION = '0.0.8'
3
- end