Skip to content

Commit 6f2915d

Browse files
committed
Expose more functions for img proc tutorials
Fix opencv#76
1 parent aeb4116 commit 6f2915d

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

modules/js/src/embindgen.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
ignore_list = ['locate', #int&
4848
'minEnclosingCircle', #float&
4949
'checkRange',
50-
'minMaxLoc',
50+
'minMaxLoc', #double*
5151
'floodFill',
5252
'phaseCorrelate',
5353
'randShuffle',
@@ -70,13 +70,17 @@
7070
'integral','integral2','line','matchTemplate','medianBlur','moments','putText','pyrDown','pyrUp','rectangle','remap',\
7171
'resize','sepFilter2D','threshold','undistort','warpAffine','warpPerspective','watershed', 'groupRectangles', 'CamShift',\
7272
'calcOpticalFlowFarneback', 'calcOpticalFlowPyrLK', 'createBackgroundSubtractorMOG2', 'estimateRigidTransform',\
73-
'findTransformECC', 'meanShift'],
73+
'findTransformECC', 'meanShift', 'getRotationMatrix2D', 'getPerspectiveTransform', 'filter2D', 'morphologyEx',\
74+
'getStructuringElement', 'convertScaleAbs', 'isContourConvex', 'minAreaRect', 'minEnclosingCircle', 'fitLine',\
75+
'minMaxLoc', 'convexityDefects', 'pointPolygonTest', 'matchShapes', 'createCLAHE', 'dft', 'getOptimalDFTSize',\
76+
'HoughLines', 'HoughLinesP', 'HoughCircles'],
7477
'HOGDescriptor': ['load', 'HOGDescriptor', 'getDefaultPeopleDetector', 'getDaimlerPeopleDetector', 'setSVMDetector', 'detectMultiScale'],
7578
'CascadeClassifier': ['load', 'detectMultiScale2', 'CascadeClassifier', 'detectMultiScale3', 'empty', 'detectMultiScale'],
7679
'BackgroundSubtractorMOG2': ['BackgroundSubtractorMOG2', 'apply'],
7780
'BackgroundSubtractor': ['apply', 'getBackgroundImage'],
7881
'Algorithm': [],
79-
'Moments': []
82+
'Moments': [],
83+
'CLAHE': ['apply', 'collectGarbage', 'getClipLimit', 'getTilesGridSize', 'setClipLimit', 'setTilesGridSize']
8084
}
8185

8286
# Features to be exported

0 commit comments

Comments
 (0)