ropencv 0.0.32 → 0.0.36
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/helper.rb +1 -1
- data/ext/rbind.rb +9 -0
- data/lib/ropencv/ropencv_types.rb +2032 -224
- 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: 6badbd13d9709a4db54bc9d2bdcf2d340baeecb2cbeb93076c61cbf91954b747
|
4
|
+
data.tar.gz: f5c74e17bf6f7da26a9654cb7ab7195218555fe877002e9587829d47692cc593
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1157980b0b7b6dc05064757841a52b306e31d2cea7303a4fc82116b1f4e87391fe7c74a15ee732e930dfda08dbf760f4f086d8f5f387c5da49178bef5f84d12d
|
7
|
+
data.tar.gz: 0231ce54137a7e8bb1847b767709ab00e0ecad85f7b738ea8618eb35bca9cbf58852cc20979f4d1cd947c6d09149c1b4d6662b82d7bf6479c6dcecb92f7f2efc
|
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 >= 2)
|
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,10 @@ 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 >= 2
|
146
|
+
rbind.cv.createShapeContextDistanceExtractor.ignore = true
|
147
|
+
end
|
140
148
|
end
|
141
149
|
|
142
150
|
# add some more vector types
|
@@ -149,6 +157,7 @@ rbind.parser.type("std::vector<uint64_t>")
|
|
149
157
|
rbind.parser.type("std::vector<int8_t>")
|
150
158
|
rbind.parser.type("std::vector<int64_t>")
|
151
159
|
rbind.parser.type("std::vector<Scalar>")
|
160
|
+
rbind.parser.type("std::vector<Range>")
|
152
161
|
rbind.parser.type("std::vector<std::vector<Point2d> >")
|
153
162
|
|
154
163
|
# add some extra documentation
|