opencv 0.0.6

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.
Files changed (117) hide show
  1. data/History.txt +5 -0
  2. data/License.txt +30 -0
  3. data/Manifest.txt +115 -0
  4. data/README.txt +47 -0
  5. data/Rakefile +34 -0
  6. data/examples/convexhull.rb +41 -0
  7. data/examples/face_detect.rb +25 -0
  8. data/examples/houghcircle.rb +23 -0
  9. data/examples/inpaint.png +0 -0
  10. data/examples/inpaint.rb +43 -0
  11. data/examples/paint.rb +72 -0
  12. data/examples/snake.rb +43 -0
  13. data/examples/stuff.jpg +0 -0
  14. data/ext/curve.cpp +103 -0
  15. data/ext/curve.h +34 -0
  16. data/ext/cvavgcomp.cpp +67 -0
  17. data/ext/cvavgcomp.h +39 -0
  18. data/ext/cvbox2d.cpp +114 -0
  19. data/ext/cvbox2d.h +53 -0
  20. data/ext/cvcapture.cpp +276 -0
  21. data/ext/cvcapture.h +54 -0
  22. data/ext/cvchain.cpp +184 -0
  23. data/ext/cvchain.h +43 -0
  24. data/ext/cvchaincode.cpp +49 -0
  25. data/ext/cvchaincode.h +43 -0
  26. data/ext/cvcircle32f.cpp +90 -0
  27. data/ext/cvcircle32f.h +53 -0
  28. data/ext/cvcondensation.cpp +230 -0
  29. data/ext/cvcondensation.h +49 -0
  30. data/ext/cvconnectedcomp.cpp +115 -0
  31. data/ext/cvconnectedcomp.h +46 -0
  32. data/ext/cvcontour.cpp +219 -0
  33. data/ext/cvcontour.h +47 -0
  34. data/ext/cvcontourtree.cpp +86 -0
  35. data/ext/cvcontourtree.h +41 -0
  36. data/ext/cvconvexitydefect.cpp +103 -0
  37. data/ext/cvconvexitydefect.h +42 -0
  38. data/ext/cverror.cpp +140 -0
  39. data/ext/cverror.h +79 -0
  40. data/ext/cvfont.cpp +173 -0
  41. data/ext/cvfont.h +56 -0
  42. data/ext/cvhaarclassifiercascade.cpp +159 -0
  43. data/ext/cvhaarclassifiercascade.h +41 -0
  44. data/ext/cvhistogram.cpp +200 -0
  45. data/ext/cvhistogram.h +51 -0
  46. data/ext/cvindex.cpp +73 -0
  47. data/ext/cvindex.h +40 -0
  48. data/ext/cvline.cpp +106 -0
  49. data/ext/cvline.h +52 -0
  50. data/ext/cvmat.cpp +4809 -0
  51. data/ext/cvmat.h +286 -0
  52. data/ext/cvmatnd.cpp +44 -0
  53. data/ext/cvmatnd.h +28 -0
  54. data/ext/cvmemstorage.cpp +64 -0
  55. data/ext/cvmemstorage.h +53 -0
  56. data/ext/cvmoments.cpp +204 -0
  57. data/ext/cvmoments.h +48 -0
  58. data/ext/cvpoint.cpp +229 -0
  59. data/ext/cvpoint.h +59 -0
  60. data/ext/cvpoint2d32f.cpp +213 -0
  61. data/ext/cvpoint2d32f.h +61 -0
  62. data/ext/cvpoint3d32f.cpp +245 -0
  63. data/ext/cvpoint3d32f.h +64 -0
  64. data/ext/cvrect.cpp +340 -0
  65. data/ext/cvrect.h +79 -0
  66. data/ext/cvscalar.cpp +227 -0
  67. data/ext/cvscalar.h +63 -0
  68. data/ext/cvseq.cpp +583 -0
  69. data/ext/cvseq.h +71 -0
  70. data/ext/cvset.cpp +63 -0
  71. data/ext/cvset.h +39 -0
  72. data/ext/cvsize.cpp +223 -0
  73. data/ext/cvsize.h +63 -0
  74. data/ext/cvsize2d32f.cpp +180 -0
  75. data/ext/cvsize2d32f.h +59 -0
  76. data/ext/cvslice.cpp +82 -0
  77. data/ext/cvslice.h +53 -0
  78. data/ext/cvsparsemat.cpp +44 -0
  79. data/ext/cvsparsemat.h +28 -0
  80. data/ext/cvtermcriteria.cpp +183 -0
  81. data/ext/cvtermcriteria.h +71 -0
  82. data/ext/cvtwopoints.cpp +98 -0
  83. data/ext/cvtwopoints.h +50 -0
  84. data/ext/cvvector.cpp +206 -0
  85. data/ext/cvvector.h +54 -0
  86. data/ext/cvvideowriter.cpp +116 -0
  87. data/ext/cvvideowriter.h +41 -0
  88. data/ext/extconf.rb +61 -0
  89. data/ext/gui.cpp +65 -0
  90. data/ext/gui.h +33 -0
  91. data/ext/iplconvkernel.cpp +177 -0
  92. data/ext/iplconvkernel.h +52 -0
  93. data/ext/iplimage.cpp +238 -0
  94. data/ext/iplimage.h +54 -0
  95. data/ext/mouseevent.cpp +184 -0
  96. data/ext/mouseevent.h +59 -0
  97. data/ext/opencv.cpp +481 -0
  98. data/ext/opencv.h +356 -0
  99. data/ext/point3dset.cpp +41 -0
  100. data/ext/point3dset.h +31 -0
  101. data/ext/pointset.cpp +238 -0
  102. data/ext/pointset.h +69 -0
  103. data/ext/trackbar.cpp +122 -0
  104. data/ext/trackbar.h +65 -0
  105. data/ext/window.cpp +368 -0
  106. data/ext/window.h +56 -0
  107. data/images/CvMat_sobel.png +0 -0
  108. data/images/CvMat_sub_rect.png +0 -0
  109. data/images/CvSeq_relationmap.png +0 -0
  110. data/images/face_detect_from_lena.jpg +0 -0
  111. data/lib/opencv.rb +3 -0
  112. data/lib/version.rb +3 -0
  113. data/setup/setup.cygwin.rb +120 -0
  114. data/setup/setup.mingw.rb +99 -0
  115. data/setup/setup.mswin32.rb +103 -0
  116. data/test/test_opencv.rb +4 -0
  117. metadata +191 -0
@@ -0,0 +1,56 @@
1
+ /************************************************************
2
+
3
+ window.h -
4
+
5
+ $Author: lsxi $
6
+
7
+ Copyright (C) 2005-2006 Masakazu Yonekura
8
+
9
+ ************************************************************/
10
+ #ifdef HAVE_CALLBACK_H
11
+
12
+ #ifndef RUBY_OPENCV_GUI_H
13
+ #include "gui.h"
14
+ #endif
15
+
16
+ #ifndef RUBY_OPENCV_GUI_WINDOW_H
17
+ #define RUBY_OPENCV_GUI_WINDOW_H
18
+
19
+ #include "opencv.h"
20
+ #define __NAMESPACE_BEGIN_WINDOW namespace cWindow{
21
+ #define __NAMESPACE_END_WINDOW }
22
+
23
+ __NAMESPACE_BEGIN_OPENCV
24
+ __NAMESPACE_BEGIN_GUI
25
+ __NAMESPACE_BEGIN_WINDOW
26
+
27
+ void define_ruby_class();
28
+
29
+ VALUE rb_allocate(VALUE klass);
30
+
31
+ void mark(void *ptr);
32
+ VALUE each_protect(VALUE key, VALUE value);
33
+ //VALUE each_protect(void *key, VALUE value);
34
+ void free(void *ptr);
35
+
36
+ VALUE rb_aref(VALUE klass, VALUE name);
37
+ VALUE rb_initialize(int argc, VALUE *argv, VALUE self);
38
+ VALUE rb_alive_q(VALUE self);
39
+ VALUE rb_destroy(VALUE self);
40
+ VALUE rb_destroy_all(VALUE klass);
41
+ VALUE rb_resize(int argc, VALUE *argv, VALUE self);
42
+ VALUE rb_move(int argc, VALUE *argv, VALUE self);
43
+ VALUE rb_show_image(VALUE self, VALUE image);
44
+ VALUE rb_set_trackbar(int argc, VALUE *argv, VALUE self);
45
+ VALUE rb_set_mouse_callback(VALUE self);
46
+
47
+ void trackbar_callback(VALUE block, va_alist ap);
48
+ void mouse_callback(VALUE block, va_alist ap);
49
+
50
+ __NAMESPACE_END_WINDOW
51
+ __NAMESPACE_END_GUI
52
+ __NAMESPACE_END_OPENCV
53
+
54
+ #endif // RUBY_OPENCV_GUI_WINDOW_H
55
+
56
+ #endif // HAVE_CALLBACK_H
Binary file
Binary file
@@ -0,0 +1,3 @@
1
+ require (File.dirname(__FILE__) + '/version')
2
+ require 'opencv.so'
3
+
@@ -0,0 +1,3 @@
1
+ module OpenCV
2
+ VERSION = '0.0.6'
3
+ end
@@ -0,0 +1,120 @@
1
+ #!/usr/env ruby
2
+ # Create OpenCV cygwin library from Windows DLLs.
3
+ require 'pathname'
4
+ opencv_installed_dir = "C:/Program\ Files/OpenCV"
5
+ install_bindir = "/usr/local/bin"
6
+ install_libdir = "/usr/local/lib"
7
+ install_includedir = "/usr/local/include/opencv"
8
+
9
+ STDOUT.sync = true
10
+ puts ">> Please tell me path installed OpenCV."
11
+ puts ">> note: default is #{opencv_installed_dir}"
12
+ print "opencv installed directory : "
13
+ input = gets.chomp!
14
+ opencv_installed_dir = input unless input.empty?
15
+ opencv_installed_dir = `cygpath -u "#{opencv_installed_dir}"`.chomp!
16
+
17
+ puts "[step.1]"
18
+ puts ">> Checking directory..."
19
+ basedir = Pathname(opencv_installed_dir)
20
+ print ">> basedir #{basedir}"
21
+ raise "error: directory #{basedir} does not exist." unless File.directory?(basedir)
22
+ bindir = basedir + 'bin'
23
+ puts "...ok"
24
+ print ">> bindir #{bindir}"
25
+ raise "error: directory #{bindir} does not exist." unless File.directory?(bindir)
26
+ puts "...ok"
27
+ libdir = basedir + 'lib'
28
+ print ">> libdir #{libdir}"
29
+ raise "error: directory #{libdir} does not exist." unless File.directory?(libdir)
30
+ puts "...ok"
31
+
32
+ puts "[step.2]"
33
+ puts ">> Searching OpenCV Windows DLLs..."
34
+ Dir.foreach(bindir){|filename|
35
+ next unless filename =~ /\d\d\d\.dll\Z/
36
+ dllname = filename.scan(/(\D+)\d+\.dll/)
37
+ `echo EXPORTS > #{dllname}.def`
38
+ `nm "#{libdir + "#{dllname}.lib"}" | grep ' T _' | sed 's/.* T _//' >> #{dllname}.def`
39
+ `dlltool --def #{dllname}.def --dllname "#{filename}" --output-lib lib#{dllname}.dll.a`
40
+ `rm #{dllname}.def`
41
+ puts ">> Create lib#{dllname}.dll.a success."
42
+ }
43
+
44
+ puts "[step.3]"
45
+ puts ">> Move libs to target directory"
46
+ puts ">> note: default is #{install_libdir}"
47
+ print "target directory : "
48
+ input = gets.chomp!
49
+ install_libdir = input unless input.empty?
50
+ if File.exist?(install_libdir)
51
+ raise "#{install_libdir} is exist. but it is not directory." unless File.directory?(install_libdir)
52
+ else
53
+ print "Directory #{install_libdir} does not exist. Create it? [y/n]:"
54
+ raise "Please create directory #{install_libdir}" unless gets.chomp! == 'y'
55
+ `mkdir -p #{install_libdir}`
56
+ end
57
+ `mv *.dll.a #{install_libdir}`
58
+
59
+
60
+ puts "[step.4]"
61
+ puts ">> Copy OpenCV header files(*.h / *.hpp) to target directory"
62
+ puts ">> note: default is #{install_includedir}"
63
+ print "target directory : "
64
+ input = gets.chomp!
65
+ install_includedir = input unless input.empty?
66
+ if File.exist?(install_includedir)
67
+ raise "#{install_includedir} is exist. but it is not directory." unless File.directory?(install_libdir)
68
+ else
69
+ print "Directory #{install_includedir} does not exist. Create it? [y/n]:"
70
+ raise "Please create directory #{install_includedir}" unless gets.chomp! == 'y'
71
+ `mkdir -p #{install_includedir}`
72
+ end
73
+ puts ">> Copying header files..."
74
+ [
75
+ "cxcore/include",
76
+ "cv/include",
77
+ "cvaux/include",
78
+ "ml/include",
79
+ "otherlibs/cvcam/include",
80
+ "otherlibs/highgui"
81
+ ].each{|i|
82
+ if File.directory?(basedir + i)
83
+ Dir.foreach(basedir + i){|filename|
84
+ next unless (File.extname(filename) == ".h" || File.extname(filename) == ".hpp")
85
+ `cp "#{basedir + i + filename}" #{install_includedir}`
86
+ }
87
+ end
88
+ }
89
+
90
+
91
+ puts "[step.5]"
92
+ puts ">> Copy OpenCV dll files (*.dll) to target directory"
93
+ puts ">> note: default is #{install_bindir}"
94
+ print "target directory : "
95
+ input = gets.chomp!
96
+ install_bindir = input unless input.empty?
97
+ if File.exist?(install_includedir)
98
+ raise "#{install_bindir} is exist. but it is not directory." unless File.directory?(install_libdir)
99
+ else
100
+ print "Directory #{install_bindir} does not exist. Create it? [y/n]:"
101
+ raise "Please create directory #{install_bindir}" unless gets.chomp! == 'y'
102
+ `mkdir -p #{install_bindir}`
103
+ end
104
+ puts ">> Copying dll files..."
105
+ Dir.foreach(bindir){|filename|
106
+ next if File.extname(filename) != ".dll"
107
+ `cp "#{bindir + filename}" #{install_bindir}`
108
+ }
109
+
110
+ puts "Congratulation! Setup complete."
111
+ puts <<MESSAGE
112
+ ----------------------------------------------------------------------------------------------
113
+ [Build Ruby/OpenCV for cygwin]
114
+ cd ..
115
+ ruby extconf.rb --with-opencv-include=#{install_includedir} --with-opencv-lib=#{install_libdir}
116
+ make
117
+ make install
118
+ ----------------------------------------------------------------------------------------------
119
+ MESSAGE
120
+
@@ -0,0 +1,99 @@
1
+ #!/usr/env ruby
2
+ # Create OpenCV cygwin library from Windows DLLs.
3
+ require 'pathname'
4
+ opencv_installed_dir = "C:/Program\ Files/OpenCV"
5
+ install_libdir = "lib"
6
+ install_includedir = "include"
7
+
8
+ STDOUT.sync = true
9
+ puts ">> Please tell me path installed OpenCV."
10
+ puts ">> note: default is #{opencv_installed_dir}"
11
+ print "opencv installed directory : "
12
+ input = gets.chomp!
13
+ opencv_installed_dir = input unless input.empty?
14
+ #opencv_installed_dir = opencv_installed_dir.chomp!
15
+
16
+ puts "[step.1]"
17
+ puts ">> Checking directory..."
18
+ basedir = Pathname(opencv_installed_dir)
19
+ print ">> basedir #{basedir}"
20
+ raise "error: directory #{basedir} does not exist." unless File.directory?(basedir)
21
+ bindir = basedir + 'bin'
22
+ puts "...ok"
23
+ print ">> bindir #{bindir}"
24
+ raise "error: directory #{bindir} does not exist." unless File.directory?(bindir)
25
+ puts "...ok"
26
+ libdir = basedir + 'lib'
27
+ print ">> libdir #{libdir}"
28
+ raise "error: directory #{libdir} does not exist." unless File.directory?(libdir)
29
+ puts "...ok"
30
+
31
+ puts "[step.2]"
32
+ puts ">> Searching OpenCV Windows DLLs..."
33
+ Dir.foreach(bindir){|filename|
34
+ next unless filename =~ /\d\d\d\.dll\Z/
35
+ dllname = filename.scan(/(\D+)\d+\.dll/)
36
+ `echo EXPORTS > #{dllname}.def`
37
+ `nm "#{libdir + "#{dllname}.lib"}" | grep ' T _' | sed 's/.* T _//' >> #{dllname}.def`
38
+ `dlltool --def #{dllname}.def --dllname "#{filename}" --output-lib #{dllname}.lib`
39
+ `rm #{dllname}.def`
40
+ puts ">> Create #{dllname}.lib success."
41
+ }
42
+
43
+ puts "[step.3]"
44
+ puts ">> Move libs to target directory"
45
+ puts ">> note: default is #{install_libdir}"
46
+ print "target directory : "
47
+ input = gets.chomp!
48
+ install_libdir = input unless input.empty?
49
+ if File.exist?(install_libdir)
50
+ raise "#{install_libdir} is exist. but it is not directory." unless File.directory?(install_libdir)
51
+ else
52
+ print "Directory #{install_libdir} does not exist. Create it? [y/n]:"
53
+ raise "Please create directory #{install_libdir}" unless gets.chomp! == 'y'
54
+ `mkdir -p #{install_libdir}`
55
+ end
56
+ `mv *.lib #{install_libdir}`
57
+
58
+
59
+ puts "[step.4]"
60
+ puts ">> Copy OpenCV header files(*.h / *.hpp) to target directory"
61
+ puts ">> note: default is #{install_includedir}"
62
+ print "target directory : "
63
+ input = gets.chomp!
64
+ install_includedir = input unless input.empty?
65
+ if File.exist?(install_includedir)
66
+ raise "#{install_includedir} is exist. but it is not directory." unless File.directory?(install_libdir)
67
+ else
68
+ print "Directory #{install_includedir} does not exist. Create it? [y/n]:"
69
+ raise "Please create directory #{install_includedir}" unless gets.chomp! == 'y'
70
+ `mkdir -p #{install_includedir}`
71
+ end
72
+ puts ">> Copying header files..."
73
+ [
74
+ "cxcore/include",
75
+ "cv/include",
76
+ "cvaux/include",
77
+ "ml/include",
78
+ "otherlibs/cvcam/include",
79
+ "otherlibs/highgui"
80
+ ].each{|i|
81
+ if File.directory?(basedir + i)
82
+ Dir.foreach(basedir + i){|filename|
83
+ next unless (File.extname(filename) == ".h" || File.extname(filename) == ".hpp")
84
+ `cp "#{basedir + i + filename}" #{install_includedir}`
85
+ }
86
+ end
87
+ }
88
+
89
+ puts "Congratulation! Setup complete."
90
+ puts <<MESSAGE
91
+ ----------------------------------------------------------------------------------------------
92
+ [Build Ruby/OpenCV for MinGW]
93
+ cd ..
94
+ ruby extconf.rb --with-opencv-include=#{install_includedir} --with-opencv-lib=#{install_libdir}
95
+ make
96
+ make install
97
+ ----------------------------------------------------------------------------------------------
98
+ MESSAGE
99
+
@@ -0,0 +1,103 @@
1
+ #!C:/Ruby/bin/ruby.exe
2
+ # Create OpenCV library for VisualC++.
3
+ raise 'Should use Ruby-mswin32.' unless RUBY_PLATFORM =~ /mswin32/
4
+ require 'pathname'
5
+ opencv_installed_dir = "C:/Program\ Files/OpenCV"
6
+ install_libdir = "lib"
7
+ install_includedir = "include"
8
+
9
+ STDOUT.sync = true
10
+ puts ">> Please tell me CPU archtecture."
11
+ archs = ["x86", "amd64", "ia64"]
12
+ archs.each_with_index{|v, i|
13
+ puts "[#{i}].#{v}"
14
+ }
15
+ print "CPU archtecture : "
16
+ input = gets.chomp!.to_i
17
+ arch = archs[input]
18
+ puts "you choose #{arch}"
19
+
20
+ puts ">> Please tell me path installed OpenCV."
21
+ puts ">> note: default is #{opencv_installed_dir}"
22
+ print "opencv installed directory : "
23
+ input = gets.chomp!
24
+ opencv_installed_dir = input unless input.empty?
25
+
26
+ puts "[step.1]"
27
+ puts ">> Checking directory..."
28
+ basedir = Pathname(opencv_installed_dir)
29
+ print ">> basedir #{basedir}"
30
+ raise "error: directory #{basedir} does not exist." unless File.directory?(basedir)
31
+ bindir = basedir + 'bin'
32
+ puts "...ok"
33
+ print ">> bindir #{bindir}"
34
+ raise "error: directory #{bindir} does not exist." unless File.directory?(bindir)
35
+ puts "...ok"
36
+ libdir = basedir + 'lib'
37
+ print ">> libdir #{libdir}"
38
+ raise "error: directory #{libdir} does not exist." unless File.directory?(libdir)
39
+ puts "...ok"
40
+
41
+ puts "[step.2]"
42
+ puts ">> Searching OpenCV Windows DLLs..."
43
+ Dir.foreach(bindir){|filename|
44
+ next unless filename =~ /\d\d\d\.dll\Z/
45
+ dllname = filename.scan(/(\D+)\d+\.dll/)
46
+ open("#{dllname}.def", "w"){|def_file|
47
+ def_file.puts "LIBRARY #{filename}"
48
+ def_file.puts "EXPORTS"
49
+ `dumpbin.exe /exports "#{bindir + filename}"`.split("\n").each{|line|
50
+ f = line.scan(/\A\s+\d+\s+[0-9A-F]+\s+[0-9A-F]+\s+(.*)/).first
51
+ def_file.puts f if f
52
+ }
53
+ }
54
+ `lib.exe /def:#{dllname}.def /machine:#{arch}`
55
+ File.unlink("#{dllname}.def")
56
+ puts ">> Create #{dllname}.lib success."
57
+ }
58
+
59
+ puts "[step.3]"
60
+ puts ">> Move libs to target directory"
61
+ puts ">> note: default is #{install_libdir}"
62
+ print "target directory : "
63
+ input = gets.chomp!
64
+ install_libdir = input unless input.empty?
65
+ if File.exist?(install_libdir)
66
+ raise "#{install_libdir} is exist. but it is not directory." unless File.directory?(install_libdir)
67
+ else
68
+ print "Directory #{install_libdir} does not exist. Create it? [y/n]:"
69
+ raise "Please create directory #{install_libdir}" unless gets.chomp! == 'y'
70
+ `md #{install_libdir}`
71
+ end
72
+ puts "move"
73
+ `move *.lib #{install_libdir}`
74
+
75
+ puts "[step.4]"
76
+ puts ">> Copy OpenCV header files(*.h / *.hpp) to target directory"
77
+ puts ">> note: default is #{install_includedir}"
78
+ print "target directory : "
79
+ input = gets.chomp!
80
+ install_includedir = input unless input.empty?
81
+ if File.exist?(install_includedir)
82
+ raise "#{install_includedir} is exist. but it is not directory." unless File.directory?(install_libdir)
83
+ else
84
+ print "Directory #{install_includedir} does not exist. Create it? [y/n]:"
85
+ raise "Please create directory #{install_includedir}" unless gets.chomp! == 'y'
86
+ `md #{install_includedir}`
87
+ end
88
+ puts ">> Copying header files..."
89
+ [
90
+ "cxcore/include",
91
+ "cv/include",
92
+ "cvaux/include",
93
+ "ml/include",
94
+ "otherlibs/cvcam/include",
95
+ "otherlibs/highgui"
96
+ ].each{|i|
97
+ if File.directory?(basedir + i)
98
+ Dir.foreach(basedir + i){|filename|
99
+ next unless (File.extname(filename) == ".h" || File.extname(filename) == ".hpp")
100
+ `copy \"#{(basedir + i + filename).to_s.gsub("/", "\\")}\" #{install_includedir}`
101
+ }
102
+ end
103
+ }
@@ -0,0 +1,4 @@
1
+ $:.unshift(File.dirname(__FILE__) + '/../lib')
2
+
3
+ require 'opencv'
4
+
metadata ADDED
@@ -0,0 +1,191 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: opencv
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.6
5
+ platform: ruby
6
+ authors:
7
+ - Masakazu Yonekura
8
+ - lsxi
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2008-06-29 00:00:00 +09:00
14
+ default_executable:
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: hoe
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: "0"
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: hoe
27
+ version_requirement:
28
+ version_requirements: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 1.6.0
33
+ version:
34
+ description: OpenCV wrapper for Ruby
35
+ email:
36
+ - masakazu.yonekura@gmail.com
37
+ executables: []
38
+
39
+ extensions:
40
+ - ext/extconf.rb
41
+ extra_rdoc_files:
42
+ - History.txt
43
+ - Manifest.txt
44
+ - README.txt
45
+ - License.txt
46
+ files:
47
+ - History.txt
48
+ - Manifest.txt
49
+ - README.txt
50
+ - License.txt
51
+ - Rakefile
52
+ - examples/convexhull.rb
53
+ - examples/face_detect.rb
54
+ - examples/houghcircle.rb
55
+ - examples/inpaint.png
56
+ - examples/inpaint.rb
57
+ - examples/paint.rb
58
+ - examples/snake.rb
59
+ - examples/stuff.jpg
60
+ - ext/curve.cpp
61
+ - ext/curve.h
62
+ - ext/cvavgcomp.cpp
63
+ - ext/cvavgcomp.h
64
+ - ext/cvbox2d.cpp
65
+ - ext/cvbox2d.h
66
+ - ext/cvcapture.cpp
67
+ - ext/cvcapture.h
68
+ - ext/cvchain.cpp
69
+ - ext/cvchain.h
70
+ - ext/cvchaincode.cpp
71
+ - ext/cvchaincode.h
72
+ - ext/cvcircle32f.cpp
73
+ - ext/cvcircle32f.h
74
+ - ext/cvcondensation.cpp
75
+ - ext/cvcondensation.h
76
+ - ext/cvconnectedcomp.cpp
77
+ - ext/cvconnectedcomp.h
78
+ - ext/cvcontour.cpp
79
+ - ext/cvcontour.h
80
+ - ext/cvcontourtree.cpp
81
+ - ext/cvcontourtree.h
82
+ - ext/cvconvexitydefect.cpp
83
+ - ext/cvconvexitydefect.h
84
+ - ext/cverror.cpp
85
+ - ext/cverror.h
86
+ - ext/cvfont.cpp
87
+ - ext/cvfont.h
88
+ - ext/cvhaarclassifiercascade.cpp
89
+ - ext/cvhaarclassifiercascade.h
90
+ - ext/cvhistogram.cpp
91
+ - ext/cvhistogram.h
92
+ - ext/cvindex.cpp
93
+ - ext/cvindex.h
94
+ - ext/cvline.cpp
95
+ - ext/cvline.h
96
+ - ext/cvmat.cpp
97
+ - ext/cvmat.h
98
+ - ext/cvmatnd.cpp
99
+ - ext/cvmatnd.h
100
+ - ext/cvmemstorage.cpp
101
+ - ext/cvmemstorage.h
102
+ - ext/cvmoments.cpp
103
+ - ext/cvmoments.h
104
+ - ext/cvpoint.cpp
105
+ - ext/cvpoint.h
106
+ - ext/cvpoint2d32f.cpp
107
+ - ext/cvpoint2d32f.h
108
+ - ext/cvpoint3d32f.cpp
109
+ - ext/cvpoint3d32f.h
110
+ - ext/cvrect.cpp
111
+ - ext/cvrect.h
112
+ - ext/cvscalar.cpp
113
+ - ext/cvscalar.h
114
+ - ext/cvseq.cpp
115
+ - ext/cvseq.h
116
+ - ext/cvset.cpp
117
+ - ext/cvset.h
118
+ - ext/cvsize.cpp
119
+ - ext/cvsize.h
120
+ - ext/cvsize2d32f.cpp
121
+ - ext/cvsize2d32f.h
122
+ - ext/cvslice.cpp
123
+ - ext/cvslice.h
124
+ - ext/cvsparsemat.cpp
125
+ - ext/cvsparsemat.h
126
+ - ext/cvtermcriteria.cpp
127
+ - ext/cvtermcriteria.h
128
+ - ext/cvtwopoints.cpp
129
+ - ext/cvtwopoints.h
130
+ - ext/cvvector.cpp
131
+ - ext/cvvector.h
132
+ - ext/cvvideowriter.cpp
133
+ - ext/cvvideowriter.h
134
+ - ext/extconf.rb
135
+ - ext/gui.cpp
136
+ - ext/gui.h
137
+ - ext/iplconvkernel.cpp
138
+ - ext/iplconvkernel.h
139
+ - ext/iplimage.cpp
140
+ - ext/iplimage.h
141
+ - ext/mouseevent.cpp
142
+ - ext/mouseevent.h
143
+ - ext/opencv.cpp
144
+ - ext/opencv.h
145
+ - ext/point3dset.cpp
146
+ - ext/point3dset.h
147
+ - ext/pointset.cpp
148
+ - ext/pointset.h
149
+ - ext/trackbar.cpp
150
+ - ext/trackbar.h
151
+ - ext/window.cpp
152
+ - ext/window.h
153
+ - images/CvMat_sobel.png
154
+ - images/CvMat_sub_rect.png
155
+ - images/CvSeq_relationmap.png
156
+ - images/face_detect_from_lena.jpg
157
+ - lib/opencv.rb
158
+ - lib/version.rb
159
+ - setup/setup.cygwin.rb
160
+ - setup/setup.mingw.rb
161
+ - setup/setup.mswin32.rb
162
+ has_rdoc: true
163
+ homepage: http://blueruby.mydns.jp/opencv
164
+ post_install_message:
165
+ rdoc_options:
166
+ - --main
167
+ - README.txt
168
+ require_paths:
169
+ - lib
170
+ - ext
171
+ required_ruby_version: !ruby/object:Gem::Requirement
172
+ requirements:
173
+ - - ">="
174
+ - !ruby/object:Gem::Version
175
+ version: "0"
176
+ version:
177
+ required_rubygems_version: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - ">="
180
+ - !ruby/object:Gem::Version
181
+ version: "0"
182
+ version:
183
+ requirements: []
184
+
185
+ rubyforge_project: opencv
186
+ rubygems_version: 1.0.1
187
+ signing_key:
188
+ specification_version: 2
189
+ summary: OpenCV wrapper for Ruby.
190
+ test_files:
191
+ - test/test_opencv.rb