From 293729f48a8035982d62bd005ba3f4e80feec153 Mon Sep 17 00:00:00 2001 From: Pavel Rojtberg Date: Tue, 23 Jul 2019 11:57:59 +0200 Subject: [PATCH] js: whitelist some more functions (calib3d , aruco) --- modules/js/src/embindgen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/js/src/embindgen.py b/modules/js/src/embindgen.py index a5bada6332..5b5cd98b9f 100644 --- a/modules/js/src/embindgen.py +++ b/modules/js/src/embindgen.py @@ -164,14 +164,14 @@ photo = {'': ['createAlignMTB', 'createCalibrateDebevec', 'createCalibrateRobert 'getColorAdaptation', 'setColorAdaptation'] } -aruco = {'': ['detectMarkers', 'drawDetectedMarkers', 'drawAxis', 'estimatePoseSingleMarkers', 'estimatePoseBoard', 'interpolateCornersCharuco', 'drawDetectedCornersCharuco'], +aruco = {'': ['detectMarkers', 'drawDetectedMarkers', 'drawAxis', 'estimatePoseSingleMarkers', 'estimatePoseBoard', 'estimatePoseCharucoBoard', 'interpolateCornersCharuco', 'drawDetectedCornersCharuco'], 'aruco_Dictionary': ['get', 'drawMarker'], 'aruco_Board': ['create'], 'aruco_GridBoard': ['create', 'draw'], 'aruco_CharucoBoard': ['create', 'draw'], } -calib3d = {'': ['findHomography']} +calib3d = {'': ['findHomography','calibrateCameraExtended', 'drawFrameAxes', 'getDefaultNewCameraMatrix', 'initUndistortRectifyMap']} def makeWhiteList(module_list): wl = {}