opencv_contrib icon indicating copy to clipboard operation
opencv_contrib copied to clipboard

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

Open utibenkei opened this issue 1 year ago • 1 comments

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
  • [x] I report the issue, it's not a question
  • [x] I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
  • [x] I updated to the latest OpenCV version and the issue is still there
  • [x] There is reproducer code and related data files: videos, images, onnx, etc

utibenkei avatar Jun 06 '23 13:06 utibenkei

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?

WDMdanila avatar Jan 31 '24 12:01 WDMdanila