From 4e3c8189a5578cec2ff0e74dc1b4338c2db1ef5a Mon Sep 17 00:00:00 2001 From: Hamdi Sahloul Date: Sat, 25 Aug 2018 05:31:49 +0900 Subject: [PATCH 1/2] Fix enum wrapper --- modules/aruco/include/opencv2/aruco/dictionary.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/aruco/include/opencv2/aruco/dictionary.hpp b/modules/aruco/include/opencv2/aruco/dictionary.hpp index 18fb572f3..27c7e5dd7 100644 --- a/modules/aruco/include/opencv2/aruco/dictionary.hpp +++ b/modules/aruco/include/opencv2/aruco/dictionary.hpp @@ -138,7 +138,7 @@ class CV_EXPORTS_W Dictionary { * - DICT_ARUCO_ORIGINAL: standard ArUco Library Markers. 1024 markers, 5x5 bits, 0 minimum distance */ -enum CV_EXPORTS_W_SIMPLE PREDEFINED_DICTIONARY_NAME { +enum PREDEFINED_DICTIONARY_NAME { DICT_4X4_50 = 0, DICT_4X4_100, DICT_4X4_250, From 1756e82bdd5b50fa1ee2732b0729edaae08e9924 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Fri, 1 Mar 2019 19:40:24 +0000 Subject: [PATCH 2/2] bindings: backport generator from OpenCV 4.x --- modules/ximgproc/include/opencv2/ximgproc/slic.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/ximgproc/include/opencv2/ximgproc/slic.hpp b/modules/ximgproc/include/opencv2/ximgproc/slic.hpp index c0050c915..f9f125c54 100644 --- a/modules/ximgproc/include/opencv2/ximgproc/slic.hpp +++ b/modules/ximgproc/include/opencv2/ximgproc/slic.hpp @@ -62,6 +62,7 @@ namespace ximgproc //! @{ enum SLIC { SLIC = 100, SLICO = 101, MSLIC = 102 }; + typedef enum SLIC SLICType; /** @brief Class implementing the SLIC (Simple Linear Iterative Clustering) superpixels algorithm described in @cite Achanta2012.