ropencv 0.0.32 → 0.0.33
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.
- checksums.yaml +4 -4
- data/ext/helper.rb +1 -1
- data/ext/rbind.rb +10 -0
- data/ropencv.gemspec +2 -2
- metadata +6 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c842553bd3ca40b7bcb15f243acc3f6ada1143860cfa16a5db3c50f1e4beff1c
|
|
4
|
+
data.tar.gz: 04f366816d0f9b3d7cd76326abc274e4aac26ec1bc286fa6e1c027f4f3408ad0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d5cc960770be1942e19366cbdec9edcef2370e25ead34f089bd70b4d8230a87db8e6428f347198d8161ae0ce61ead782d7d5d057e48185dfdaa58a6bd32e0b15
|
|
7
|
+
data.tar.gz: e7efa8a6897910e53dffcabaea50e3abc07162940bd3bb79c800ba592e19c10fac3983f60a3909e63bcb5a1bb351166088e1effc369089b035729afdca2a5ae3
|
data/ext/helper.rb
CHANGED
|
@@ -135,7 +135,7 @@ def find_opencv(hint)
|
|
|
135
135
|
"opencv2/core/utility.hpp", "opencv2/imgproc.hpp", "opencv2/imgcodecs.hpp", "opencv2/videoio.hpp",
|
|
136
136
|
"opencv2/highgui.hpp", "opencv2/video/background_segm.hpp", "opencv2/video/tracking.hpp", "opencv2/flann/miniflann.hpp",
|
|
137
137
|
"opencv2/ml.hpp", "opencv2/features2d.hpp", "opencv2/calib3d.hpp", "opencv2/objdetect.hpp", "opencv2/photo.hpp",
|
|
138
|
-
"opencv2/shape/
|
|
138
|
+
"opencv2/shape/shape_distance.hpp", "opencv2/shape/shape_transformer.hpp", "opencv2/stitching.hpp",
|
|
139
139
|
"opencv2/stitching/detail/blenders.hpp", "opencv2/stitching/detail/exposure_compensate.hpp", "opencv2/stitching/detail/motion_estimators.hpp",
|
|
140
140
|
"opencv2/stitching/detail/seam_finders.hpp", "opencv2/stitching/detail/timelapsers.hpp", "opencv2/videostab/motion_core.hpp",
|
|
141
141
|
"opencv2/viz/types.hpp", "opencv2/viz/widgets.hpp"]
|
data/ext/rbind.rb
CHANGED
|
@@ -49,6 +49,10 @@ elsif major >= 4
|
|
|
49
49
|
rbind.cv.detail.add_type(Rbind::RClass.new("ImageFeatures"))
|
|
50
50
|
rbind.cv.detail.add_type(Rbind::RClass.new("CameraParams"))
|
|
51
51
|
rbind.cv.detail.add_type(Rbind::RClass.new("MatchesInfo"))
|
|
52
|
+
if(minor >= 5)
|
|
53
|
+
rbind.cv.add_type(Rbind::RClass.new("HistogramCostExtractor"))
|
|
54
|
+
rbind.cv.add_type(Rbind::RClass.new("ShapeTransformer"))
|
|
55
|
+
end
|
|
52
56
|
else
|
|
53
57
|
rbind.pkg_config << "opencv"
|
|
54
58
|
rbind.add_std_vector
|
|
@@ -137,6 +141,11 @@ elsif major >= 4
|
|
|
137
141
|
# is removed on opencv master
|
|
138
142
|
# mark none polymorphic class
|
|
139
143
|
rbind.ml.DTrees.Params.polymorphic = false if(rbind.ml.DTrees.type?("Params"))
|
|
144
|
+
|
|
145
|
+
if minor >= 5
|
|
146
|
+
puts "Here"
|
|
147
|
+
rbind.cv.createShapeContextDistanceExtractor.ignore = true
|
|
148
|
+
end
|
|
140
149
|
end
|
|
141
150
|
|
|
142
151
|
# add some more vector types
|
|
@@ -149,6 +158,7 @@ rbind.parser.type("std::vector<uint64_t>")
|
|
|
149
158
|
rbind.parser.type("std::vector<int8_t>")
|
|
150
159
|
rbind.parser.type("std::vector<int64_t>")
|
|
151
160
|
rbind.parser.type("std::vector<Scalar>")
|
|
161
|
+
rbind.parser.type("std::vector<Range>")
|
|
152
162
|
rbind.parser.type("std::vector<std::vector<Point2d> >")
|
|
153
163
|
|
|
154
164
|
# add some extra documentation
|
data/ropencv.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ropencv
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.33
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alexander Duda
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-02-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rbind
|
|
@@ -117,7 +117,7 @@ homepage: http://www.ropencv.aduda.eu
|
|
|
117
117
|
licenses:
|
|
118
118
|
- BSD
|
|
119
119
|
metadata: {}
|
|
120
|
-
post_install_message:
|
|
120
|
+
post_install_message:
|
|
121
121
|
rdoc_options: []
|
|
122
122
|
require_paths:
|
|
123
123
|
- lib
|
|
@@ -132,9 +132,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
132
132
|
- !ruby/object:Gem::Version
|
|
133
133
|
version: 1.3.6
|
|
134
134
|
requirements: []
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
signing_key:
|
|
135
|
+
rubygems_version: 3.0.3
|
|
136
|
+
signing_key:
|
|
138
137
|
specification_version: 4
|
|
139
138
|
summary: Ruby bindings for opencv 2.4.4 and higher
|
|
140
139
|
test_files: []
|