Skip to content

Generation of getter and setter for the QRCodeEncoder_Params.correction_level property is skipped during Java wrapper generation. #23753

@utibenkei

Description

@utibenkei

System Information

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_correction_level() and set_correction_level (int CorrectionLevel) methods are skipped when the Java wrapper is generated.
I am guessing that the cause is probably the same as the issue below.
#23700

https://github.com/opencv/opencv/blob/4.7.0/modules/objdetect/include/opencv2/objdetect.hpp#L741

    //
    // C++: CorrectionLevel QRCodeEncoder_Params::correction_level
    //

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


    //
    // C++: void QRCodeEncoder_Params::correction_level
    //

    // Unknown type 'CorrectionLevel' (I), skipping the function

The creation of the get_mode() and set_mode (int EncodeMode) methods are skipped when the Java wrapper is generated.

https://github.com/opencv/opencv/blob/4.7.0/modules/objdetect/include/opencv2/objdetect.hpp#L742

    //
    // C++: EncodeMode QRCodeEncoder_Params::mode
    //

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


    //
    // C++: void QRCodeEncoder_Params::mode
    //

    // Unknown type 'EncodeMode' (I), skipping the function

Steps to reproduce

Build with the BUILD_opencv_java_bindings_generator flag ON.

Issue submission checklist

  • I report the issue, it's not a question
  • I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution
  • I updated to the latest OpenCV version and the issue is still there
  • There is reproducer code and related data files (videos, images, onnx, etc)

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions