Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some VideoCapture Constructors are missing in OpenCV4.3.0 Java wrapper. #16988

Closed
utibenkei opened this issue Apr 5, 2020 · 2 comments · Fixed by #17017
Closed

Some VideoCapture Constructors are missing in OpenCV4.3.0 Java wrapper. #16988

utibenkei opened this issue Apr 5, 2020 · 2 comments · Fixed by #17017
Assignees
Milestone

Comments

@utibenkei
Copy link
Contributor

System information (version)
  • OpenCV => 4.3.0
  • Operating System / Platform => Windows10 64 bits
  • Compiler => Visual Studio 2017 64 bits
Detailed description

Some VideoCapture Constructors are missing in OpenCV4.3.0 Java wrapper.
VideoCapture​(int index)
VideoCapture​(int index, int apiPreference)
VideoCapture​(java.lang.String filename)
VideoCapture​(java.lang.String filename, int apiPreference)

4.2.0
https://docs.opencv.org/4.2.0/javadoc/org/opencv/videoio/VideoCapture.html
4.3.0
https://docs.opencv.org/master/javadoc/org/opencv/videoio/VideoCapture.html

Perhaps this commit is related to this issue ( #16246 - Added explicit to VideoCapture constructors with 2 arguments, 1 of them has default value ).

@alalek
Copy link
Member

alalek commented Apr 5, 2020

Thanks for the report!
Regression is confirmed for 4.3.0 release.

Meantime consider using ".open()" methods.

Bindings parser can't handle "explicit":

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

/cc @VadimLevin

@VadimLevin VadimLevin self-assigned this Apr 6, 2020
@VadimLevin
Copy link
Contributor

Thank you for information.
Python bindings are not affected.
I will add test for header parser, because it gives wrong information to generator and fix it ASAP.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants