1
- #[ cfg( ocvrs_has_module_alphamat) ]
2
1
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/alphamat.rs" ) ) ;
3
- #[ cfg( ocvrs_has_module_aruco) ]
4
2
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/aruco.rs" ) ) ;
5
- #[ cfg( ocvrs_has_module_bgsegm) ]
6
3
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/bgsegm.rs" ) ) ;
7
- #[ cfg( ocvrs_has_module_bioinspired) ]
8
4
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/bioinspired.rs" ) ) ;
9
- #[ cfg( ocvrs_has_module_calib3d) ]
10
5
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/calib3d.rs" ) ) ;
11
- #[ cfg( ocvrs_has_module_ccalib) ]
12
6
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/ccalib.rs" ) ) ;
13
- #[ cfg( ocvrs_has_module_core) ]
14
7
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/core.rs" ) ) ;
15
- #[ cfg( ocvrs_has_module_cudaarithm) ]
16
8
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/cudaarithm.rs" ) ) ;
17
- #[ cfg( ocvrs_has_module_cudabgsegm) ]
18
9
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/cudabgsegm.rs" ) ) ;
19
- #[ cfg( ocvrs_has_module_cudacodec) ]
20
10
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/cudacodec.rs" ) ) ;
21
- #[ cfg( ocvrs_has_module_cudafeatures2d) ]
22
11
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/cudafeatures2d.rs" ) ) ;
23
- #[ cfg( ocvrs_has_module_cudafilters) ]
24
12
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/cudafilters.rs" ) ) ;
25
- #[ cfg( ocvrs_has_module_cudaimgproc) ]
26
13
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/cudaimgproc.rs" ) ) ;
27
- # [ cfg ( ocvrs_has_module_cudaobjdetect ) ]
14
+ include ! ( concat! ( env! ( "OUT_DIR" ) , "/opencv/cudalegacy.rs" ) ) ;
28
15
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/cudaobjdetect.rs" ) ) ;
29
- #[ cfg( ocvrs_has_module_cudaoptflow) ]
30
16
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/cudaoptflow.rs" ) ) ;
31
- #[ cfg( ocvrs_has_module_cudastereo) ]
32
17
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/cudastereo.rs" ) ) ;
33
- #[ cfg( ocvrs_has_module_cudawarping) ]
34
18
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/cudawarping.rs" ) ) ;
35
- #[ cfg( ocvrs_has_module_cvv) ]
36
19
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/cvv.rs" ) ) ;
37
- #[ cfg( ocvrs_has_module_dnn) ]
38
20
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/dnn.rs" ) ) ;
39
- #[ cfg( ocvrs_has_module_dnn_superres) ]
40
21
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/dnn_superres.rs" ) ) ;
41
- #[ cfg( ocvrs_has_module_dpm) ]
42
22
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/dpm.rs" ) ) ;
43
- #[ cfg( ocvrs_has_module_face) ]
44
23
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/face.rs" ) ) ;
45
- #[ cfg( ocvrs_has_module_features2d) ]
46
24
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/features2d.rs" ) ) ;
47
- #[ cfg( ocvrs_has_module_flann) ]
48
25
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/flann.rs" ) ) ;
49
- #[ cfg( ocvrs_has_module_freetype) ]
50
26
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/freetype.rs" ) ) ;
51
- #[ cfg( ocvrs_has_module_fuzzy) ]
52
27
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/fuzzy.rs" ) ) ;
53
- #[ cfg( ocvrs_has_module_gapi) ]
54
28
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/gapi.rs" ) ) ;
55
- #[ cfg( ocvrs_has_module_hdf) ]
56
29
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/hdf.rs" ) ) ;
57
- #[ cfg( ocvrs_has_module_hfs) ]
58
30
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/hfs.rs" ) ) ;
59
- #[ cfg( ocvrs_has_module_highgui) ]
60
31
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/highgui.rs" ) ) ;
61
- #[ cfg( ocvrs_has_module_img_hash) ]
62
32
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/img_hash.rs" ) ) ;
63
- #[ cfg( ocvrs_has_module_imgcodecs) ]
64
33
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/imgcodecs.rs" ) ) ;
65
- #[ cfg( ocvrs_has_module_imgproc) ]
66
34
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/imgproc.rs" ) ) ;
67
- #[ cfg( ocvrs_has_module_intensity_transform) ]
68
35
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/intensity_transform.rs" ) ) ;
69
- #[ cfg( ocvrs_has_module_line_descriptor) ]
70
36
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/line_descriptor.rs" ) ) ;
71
- #[ cfg( ocvrs_has_module_mcc) ]
72
37
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/mcc.rs" ) ) ;
73
- #[ cfg( ocvrs_has_module_ml) ]
74
38
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/ml.rs" ) ) ;
75
- #[ cfg( ocvrs_has_module_objdetect) ]
76
39
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/objdetect.rs" ) ) ;
77
- #[ cfg( ocvrs_has_module_optflow) ]
78
40
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/optflow.rs" ) ) ;
79
- #[ cfg( ocvrs_has_module_ovis) ]
80
41
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/ovis.rs" ) ) ;
81
- #[ cfg( ocvrs_has_module_phase_unwrapping) ]
82
42
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/phase_unwrapping.rs" ) ) ;
83
- #[ cfg( ocvrs_has_module_photo) ]
84
43
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/photo.rs" ) ) ;
85
- #[ cfg( ocvrs_has_module_plot) ]
86
44
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/plot.rs" ) ) ;
87
- #[ cfg( ocvrs_has_module_quality) ]
88
45
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/quality.rs" ) ) ;
89
- #[ cfg( ocvrs_has_module_rapid) ]
90
46
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/rapid.rs" ) ) ;
91
- #[ cfg( ocvrs_has_module_rgbd) ]
92
47
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/rgbd.rs" ) ) ;
93
- #[ cfg( ocvrs_has_module_saliency) ]
94
48
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/saliency.rs" ) ) ;
95
- #[ cfg( ocvrs_has_module_sfm) ]
96
49
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/sfm.rs" ) ) ;
97
- #[ cfg( ocvrs_has_module_shape) ]
98
50
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/shape.rs" ) ) ;
99
- #[ cfg( ocvrs_has_module_signal) ]
100
51
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/signal.rs" ) ) ;
101
- #[ cfg( ocvrs_has_module_stereo) ]
102
52
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/stereo.rs" ) ) ;
103
- #[ cfg( ocvrs_has_module_stitching) ]
104
53
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/stitching.rs" ) ) ;
105
- #[ cfg( ocvrs_has_module_structured_light) ]
106
54
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/structured_light.rs" ) ) ;
107
- #[ cfg( ocvrs_has_module_superres) ]
108
55
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/superres.rs" ) ) ;
109
- #[ cfg( ocvrs_has_module_surface_matching) ]
110
56
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/surface_matching.rs" ) ) ;
111
- #[ cfg( ocvrs_has_module_text) ]
112
57
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/text.rs" ) ) ;
113
- #[ cfg( ocvrs_has_module_tracking) ]
114
58
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/tracking.rs" ) ) ;
115
- #[ cfg( ocvrs_has_module_video) ]
116
59
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/video.rs" ) ) ;
117
- #[ cfg( ocvrs_has_module_videoio) ]
118
60
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/videoio.rs" ) ) ;
119
- #[ cfg( ocvrs_has_module_videostab) ]
120
61
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/videostab.rs" ) ) ;
121
- #[ cfg( ocvrs_has_module_viz) ]
122
62
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/viz.rs" ) ) ;
123
- #[ cfg( ocvrs_has_module_wechat_qrcode) ]
124
63
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/wechat_qrcode.rs" ) ) ;
125
- #[ cfg( ocvrs_has_module_xfeatures2d) ]
126
64
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/xfeatures2d.rs" ) ) ;
127
- #[ cfg( ocvrs_has_module_ximgproc) ]
128
65
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/ximgproc.rs" ) ) ;
129
- #[ cfg( ocvrs_has_module_xobjdetect) ]
130
66
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/xobjdetect.rs" ) ) ;
131
- #[ cfg( ocvrs_has_module_xphoto) ]
132
67
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/xphoto.rs" ) ) ;
133
68
pub mod types {
134
69
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/types.rs" ) ) ;
@@ -138,137 +73,72 @@ pub mod sys {
138
73
include ! ( concat!( env!( "OUT_DIR" ) , "/opencv/sys.rs" ) ) ;
139
74
}
140
75
pub mod hub_prelude {
141
- #[ cfg( ocvrs_has_module_alphamat) ]
142
76
pub use super :: alphamat:: prelude:: * ;
143
- #[ cfg( ocvrs_has_module_aruco) ]
144
77
pub use super :: aruco:: prelude:: * ;
145
- #[ cfg( ocvrs_has_module_bgsegm) ]
146
78
pub use super :: bgsegm:: prelude:: * ;
147
- #[ cfg( ocvrs_has_module_bioinspired) ]
148
79
pub use super :: bioinspired:: prelude:: * ;
149
- #[ cfg( ocvrs_has_module_calib3d) ]
150
80
pub use super :: calib3d:: prelude:: * ;
151
- #[ cfg( ocvrs_has_module_ccalib) ]
152
81
pub use super :: ccalib:: prelude:: * ;
153
- #[ cfg( ocvrs_has_module_core) ]
154
82
pub use super :: core:: prelude:: * ;
155
- #[ cfg( ocvrs_has_module_cudaarithm) ]
156
83
pub use super :: cudaarithm:: prelude:: * ;
157
- #[ cfg( ocvrs_has_module_cudabgsegm) ]
158
84
pub use super :: cudabgsegm:: prelude:: * ;
159
- #[ cfg( ocvrs_has_module_cudacodec) ]
160
85
pub use super :: cudacodec:: prelude:: * ;
161
- #[ cfg( ocvrs_has_module_cudafeatures2d) ]
162
86
pub use super :: cudafeatures2d:: prelude:: * ;
163
- #[ cfg( ocvrs_has_module_cudafilters) ]
164
87
pub use super :: cudafilters:: prelude:: * ;
165
- #[ cfg( ocvrs_has_module_cudaimgproc) ]
166
88
pub use super :: cudaimgproc:: prelude:: * ;
167
- # [ cfg ( ocvrs_has_module_cudaobjdetect ) ]
89
+ pub use super :: cudalegacy :: prelude :: * ;
168
90
pub use super :: cudaobjdetect:: prelude:: * ;
169
- #[ cfg( ocvrs_has_module_cudaoptflow) ]
170
91
pub use super :: cudaoptflow:: prelude:: * ;
171
- #[ cfg( ocvrs_has_module_cudastereo) ]
172
92
pub use super :: cudastereo:: prelude:: * ;
173
- #[ cfg( ocvrs_has_module_cudawarping) ]
174
93
pub use super :: cudawarping:: prelude:: * ;
175
- #[ cfg( ocvrs_has_module_cvv) ]
176
94
pub use super :: cvv:: prelude:: * ;
177
- #[ cfg( ocvrs_has_module_dnn) ]
178
95
pub use super :: dnn:: prelude:: * ;
179
- #[ cfg( ocvrs_has_module_dnn_superres) ]
180
96
pub use super :: dnn_superres:: prelude:: * ;
181
- #[ cfg( ocvrs_has_module_dpm) ]
182
97
pub use super :: dpm:: prelude:: * ;
183
- #[ cfg( ocvrs_has_module_face) ]
184
98
pub use super :: face:: prelude:: * ;
185
- #[ cfg( ocvrs_has_module_features2d) ]
186
99
pub use super :: features2d:: prelude:: * ;
187
- #[ cfg( ocvrs_has_module_flann) ]
188
100
pub use super :: flann:: prelude:: * ;
189
- #[ cfg( ocvrs_has_module_freetype) ]
190
101
pub use super :: freetype:: prelude:: * ;
191
- #[ cfg( ocvrs_has_module_fuzzy) ]
192
102
pub use super :: fuzzy:: prelude:: * ;
193
- #[ cfg( ocvrs_has_module_gapi) ]
194
103
pub use super :: gapi:: prelude:: * ;
195
- #[ cfg( ocvrs_has_module_hdf) ]
196
104
pub use super :: hdf:: prelude:: * ;
197
- #[ cfg( ocvrs_has_module_hfs) ]
198
105
pub use super :: hfs:: prelude:: * ;
199
- #[ cfg( ocvrs_has_module_highgui) ]
200
106
pub use super :: highgui:: prelude:: * ;
201
- #[ cfg( ocvrs_has_module_img_hash) ]
202
107
pub use super :: img_hash:: prelude:: * ;
203
- #[ cfg( ocvrs_has_module_imgcodecs) ]
204
108
pub use super :: imgcodecs:: prelude:: * ;
205
- #[ cfg( ocvrs_has_module_imgproc) ]
206
109
pub use super :: imgproc:: prelude:: * ;
207
- #[ cfg( ocvrs_has_module_intensity_transform) ]
208
110
pub use super :: intensity_transform:: prelude:: * ;
209
- #[ cfg( ocvrs_has_module_line_descriptor) ]
210
111
pub use super :: line_descriptor:: prelude:: * ;
211
- #[ cfg( ocvrs_has_module_mcc) ]
212
112
pub use super :: mcc:: prelude:: * ;
213
- #[ cfg( ocvrs_has_module_ml) ]
214
113
pub use super :: ml:: prelude:: * ;
215
- #[ cfg( ocvrs_has_module_objdetect) ]
216
114
pub use super :: objdetect:: prelude:: * ;
217
- #[ cfg( ocvrs_has_module_optflow) ]
218
115
pub use super :: optflow:: prelude:: * ;
219
- #[ cfg( ocvrs_has_module_ovis) ]
220
116
pub use super :: ovis:: prelude:: * ;
221
- #[ cfg( ocvrs_has_module_phase_unwrapping) ]
222
117
pub use super :: phase_unwrapping:: prelude:: * ;
223
- #[ cfg( ocvrs_has_module_photo) ]
224
118
pub use super :: photo:: prelude:: * ;
225
- #[ cfg( ocvrs_has_module_plot) ]
226
119
pub use super :: plot:: prelude:: * ;
227
- #[ cfg( ocvrs_has_module_quality) ]
228
120
pub use super :: quality:: prelude:: * ;
229
- #[ cfg( ocvrs_has_module_rapid) ]
230
121
pub use super :: rapid:: prelude:: * ;
231
- #[ cfg( ocvrs_has_module_rgbd) ]
232
122
pub use super :: rgbd:: prelude:: * ;
233
- #[ cfg( ocvrs_has_module_saliency) ]
234
123
pub use super :: saliency:: prelude:: * ;
235
- #[ cfg( ocvrs_has_module_sfm) ]
236
124
pub use super :: sfm:: prelude:: * ;
237
- #[ cfg( ocvrs_has_module_shape) ]
238
125
pub use super :: shape:: prelude:: * ;
239
- #[ cfg( ocvrs_has_module_signal) ]
240
126
pub use super :: signal:: prelude:: * ;
241
- #[ cfg( ocvrs_has_module_stereo) ]
242
127
pub use super :: stereo:: prelude:: * ;
243
- #[ cfg( ocvrs_has_module_stitching) ]
244
128
pub use super :: stitching:: prelude:: * ;
245
- #[ cfg( ocvrs_has_module_structured_light) ]
246
129
pub use super :: structured_light:: prelude:: * ;
247
- #[ cfg( ocvrs_has_module_superres) ]
248
130
pub use super :: superres:: prelude:: * ;
249
- #[ cfg( ocvrs_has_module_surface_matching) ]
250
131
pub use super :: surface_matching:: prelude:: * ;
251
- #[ cfg( ocvrs_has_module_text) ]
252
132
pub use super :: text:: prelude:: * ;
253
- #[ cfg( ocvrs_has_module_tracking) ]
254
133
pub use super :: tracking:: prelude:: * ;
255
- #[ cfg( ocvrs_has_module_video) ]
256
134
pub use super :: video:: prelude:: * ;
257
- #[ cfg( ocvrs_has_module_videoio) ]
258
135
pub use super :: videoio:: prelude:: * ;
259
- #[ cfg( ocvrs_has_module_videostab) ]
260
136
pub use super :: videostab:: prelude:: * ;
261
- #[ cfg( ocvrs_has_module_viz) ]
262
137
pub use super :: viz:: prelude:: * ;
263
- #[ cfg( ocvrs_has_module_wechat_qrcode) ]
264
138
pub use super :: wechat_qrcode:: prelude:: * ;
265
- #[ cfg( ocvrs_has_module_xfeatures2d) ]
266
139
pub use super :: xfeatures2d:: prelude:: * ;
267
- #[ cfg( ocvrs_has_module_ximgproc) ]
268
140
pub use super :: ximgproc:: prelude:: * ;
269
- #[ cfg( ocvrs_has_module_xobjdetect) ]
270
141
pub use super :: xobjdetect:: prelude:: * ;
271
- #[ cfg( ocvrs_has_module_xphoto) ]
272
142
pub use super :: xphoto:: prelude:: * ;
273
143
}
274
144
0 commit comments