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

OpenCVFramegrabber options #1269

Closed
matteoformenti opened this issue Aug 9, 2019 · 5 comments
Closed

OpenCVFramegrabber options #1269

matteoformenti opened this issue Aug 9, 2019 · 5 comments

Comments

@matteoformenti
Copy link
Contributor

There is no documentation regarding which keys can be specified in OpenCVFramegrabber.setOption.
Should we use the string name like specified here or the relative index?
Currently, I tried all indexes from 1 to 18 with no success, and same for settings like "CV_CAP_PROP_EXPOSURE".
(Ubuntu 19.04, Java12, javacv 1.5.1, Logitech C920)

@saudet
Copy link
Member

saudet commented Aug 10, 2019

It's not currently supported, but it shouldn't be too hard to add support for that.

saudet added a commit that referenced this issue Aug 13, 2019
@saudet
Copy link
Member

saudet commented Aug 13, 2019

Please give it a try with 1.5.2-SNAPSHOT:
http://bytedeco.org/builds/

Thanks for reporting this issue!

@matteoformenti
Copy link
Contributor Author

matteoformenti commented Aug 16, 2019

It's working as intended.
For future references those are the indexes you have to pass as key reference

@saudet
Copy link
Member

saudet commented Aug 16, 2019

There are other options specific to each backend as well.

@saudet
Copy link
Member

saudet commented Nov 6, 2019

Included in just released JavaCV 1.5.2! Thanks for reporting this issue and for your contribution.

@saudet saudet closed this as completed Nov 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants