Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork56.4k
Description
System Information
OpenCV version: 4.11.0
Operating System / Platform: Windows 10 22H2
Compiler & compiler version: 3.18.1
Detailed description
In the Java wrapper of OpenCV, there is currently no way to initialize the IStreamReader class. While the class is exposed in the Java bindings, no constructor or factory method is implemented, making it impossible to create an instance.
Specifically, the following constructor in the Videoio module of the Videoio class requires an instance of the IStreamReader class, but since there is no way to initialize IStreamReader, this functionality is unusable:
public VideoCapture(IStreamReader source, int apiPreference, MatOfInt params)
As a result, even though the IStreamReader class is supported in the native C++ implementation, it cannot be used in Java applications.
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)