opencv / opencv_contrib

Repository for OpenCV's extra modules
Apache License 2.0
9.33k stars 5.75k forks source link

Generation of getter and setter for the EstimateParameters.pattern property is skipped during Java wrapper generation. #3506

Open utibenkei opened 1 year ago

utibenkei commented 1 year ago
System information (version)

OpenCV version: 4.7.0 Operating System / Platform: Windows 10 22H2 Compiler & compiler version: CMake 3.24.3

Detailed description

The creation of the get_pattern() and set_pattern (int PatternPositionType) methods are skipped when the Java wrapper is generated. I am guessing that the cause is probably the same as the issue below. https://github.com/opencv/opencv/issues/23700

https://github.com/opencv/opencv_contrib/blob/4.x/modules/aruco/include/opencv2/aruco/aruco_calib.hpp#L56

    //
    // C++: PatternPositionType EstimateParameters::pattern
    //

    // Return type 'PatternPositionType' is not supported, skipping the function

    //
    // C++: void EstimateParameters::pattern
    //

    // Unknown type 'PatternPositionType' (I), skipping the function
Steps to reproduce

Build with the BUILD_opencv_java_bindings_generator flag ON.

Issue submission checklist
WDMdanila commented 7 months ago

Hi guys, what can we do to generate a package for java with opencv contrib (we only need aruco) included? Is this related to this issue?