Skip to content

Commit 21b8361

Browse files
committed
Explicitly specify enum type scope to improve Java wrapper generation
Changed PatternPositionType to aruco::PatternPositionType to explicitly specify its scope. This allows gen_java.py to correctly register disc_type, preventing constructors and methods using this enum type from being skipped during Java wrapper generation.
1 parent d28106c commit 21b8361

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/aruco/include/opencv2/aruco/aruco_calib.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ enum PatternPositionType {
5353
* @sa PatternPositionType, solvePnP()
5454
*/
5555
struct CV_EXPORTS_W_SIMPLE EstimateParameters {
56-
CV_PROP_RW PatternPositionType pattern;
56+
CV_PROP_RW aruco::PatternPositionType pattern;
5757
CV_PROP_RW bool useExtrinsicGuess;
5858
CV_PROP_RW int solvePnPMethod;
5959

0 commit comments

Comments
 (0)