Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

No way to initialize the IStreamReader class in the Java wrapper. #26809

Closed
@utibenkei

Description

@utibenkei

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)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp