objectdetect 0.0.1 → 0.0.2

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.
data/README.txt CHANGED
@@ -3,6 +3,11 @@
3
3
  This is a simple library for detecting objects in pictures.
4
4
  It depends on OpenCV (http://www.intel.com/technology/computing/opencv/).
5
5
 
6
+ = Install
7
+
8
+ * Install OpenCV.
9
+ * % gem install objectdetect
10
+
6
11
  = Usage
7
12
 
8
13
  require 'rubygems'
@@ -22,5 +27,6 @@ Yohji SHIDARA <dara@shidara.net>
22
27
  = See Also
23
28
 
24
29
  * Project website: http://objectdetect.rubyforge.org/
25
- * A working sample: http://face.orzorz.org/
30
+ * Rubyforge project page: http://rubyforge.org/projects/objectdetect/
31
+ * A working example: http://face.orzorz.org/
26
32
  * Author's blog (in Japanese): http://d.hatena.ne.jp/darashi/
data/ext/objectdetect.c CHANGED
@@ -68,9 +68,11 @@ static VALUE rb_detect(VALUE self, VALUE model_path, VALUE target_path)
68
68
  }
69
69
 
70
70
  /* cleanups */
71
+ cvReleaseHaarClassifierCascade(&cascade);
71
72
  cvReleaseMemStorage(&storage);
72
73
  cvReleaseImage(&img);
73
74
  cvReleaseImage(&gray);
75
+ cvReleaseImage(&small_img);
74
76
 
75
77
  return results;
76
78
  }
@@ -2,7 +2,7 @@ module Objectdetect #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- TINY = 1
5
+ TINY = 2
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.1
3
3
  specification_version: 1
4
4
  name: objectdetect
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.0.1
7
- date: 2007-03-13 00:00:00 +09:00
6
+ version: 0.0.2
7
+ date: 2007-03-14 00:00:00 +09:00
8
8
  summary: A simple library for detecting objects in pictures.
9
9
  require_paths:
10
10
  - lib