File tree Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Expand file tree Collapse file tree 2 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -775,6 +775,7 @@ NAN_METHOD(Mat::MeanStdDevAsync) {
775
775
);
776
776
}
777
777
778
+ #if CV_VERSION_MINOR > 1
778
779
NAN_METHOD (Mat::Rotate) {
779
780
FF::SyncBinding (
780
781
std::make_shared<MatBindings::RotateWorker>(Mat::Converter::unwrap (info.This ())),
@@ -790,3 +791,4 @@ NAN_METHOD(Mat::RotateAsync) {
790
791
info
791
792
);
792
793
}
794
+ #endif
Original file line number Diff line number Diff line change @@ -378,6 +378,8 @@ NAN_METHOD(Calib3d::EstimateAffine3DAsync) {
378
378
);
379
379
}
380
380
381
+ #if CV_VERSION_MINOR > 0
382
+
381
383
NAN_METHOD (Calib3d::SampsonDistance) {
382
384
FF::SyncBinding (
383
385
std::make_shared<Calib3dBindings::SampsonDistanceWorker>(),
@@ -410,6 +412,10 @@ NAN_METHOD(Calib3d::CalibrateCameraAsync) {
410
412
);
411
413
}
412
414
415
+ #endif
416
+
417
+ #if CV_VERSION_MINOR > 1
418
+
413
419
NAN_METHOD (Calib3d::CalibrateCameraExtended) {
414
420
FF::SyncBinding (
415
421
std::make_shared<Calib3dBindings::CalibrateCameraExtendedWorker>(),
@@ -457,6 +463,9 @@ NAN_METHOD(Calib3d::EstimateAffinePartial2DAsync) {
457
463
info
458
464
);
459
465
}
466
+ #endif
467
+
468
+ #if CV_VERSION_MINOR > 2
460
469
461
470
NAN_METHOD (Calib3d::SolveP3P) {
462
471
FF::SyncBinding (
@@ -473,3 +482,5 @@ NAN_METHOD(Calib3d::SolveP3PAsync) {
473
482
info
474
483
);
475
484
}
485
+
486
+ #endif
You can’t perform that action at this time.
0 commit comments