1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

Merge pull request #13571 from paroj:jsaruco

This commit is contained in:
Alexander Alekhin
2019-01-09 13:59:49 +00:00
2 changed files with 15 additions and 1 deletions
+7
View File
@@ -74,7 +74,14 @@
using namespace emscripten;
using namespace cv;
#ifdef HAVE_OPENCV_DNN
using namespace dnn;
#endif
#ifdef HAVE_OPENCV_ARUCO
using namespace aruco;
#endif
namespace binding_utils
{
+8 -1
View File
@@ -163,6 +163,13 @@ photo = {'': ['createAlignMTB', 'createCalibrateDebevec', 'createCalibrateRobert
'getColorAdaptation', 'setColorAdaptation']
}
aruco = {'': ['detectMarkers', 'drawDetectedMarkers', 'drawAxis', 'estimatePoseSingleMarkers', 'estimatePoseBoard', 'interpolateCornersCharuco', 'drawDetectedCornersCharuco'],
'aruco_Dictionary': ['get', 'drawMarker'],
'aruco_Board': ['create'],
'aruco_GridBoard': ['create', 'draw'],
'aruco_CharucoBoard': ['create', 'draw'],
}
def makeWhiteList(module_list):
wl = {}
for m in module_list:
@@ -173,7 +180,7 @@ def makeWhiteList(module_list):
wl[k] = m[k]
return wl
white_list = makeWhiteList([core, imgproc, objdetect, video, dnn, features2d, photo])
white_list = makeWhiteList([core, imgproc, objdetect, video, dnn, features2d, photo, aruco])
# Features to be exported
export_enums = False