CV_CAP_PROP'S constants missing from Java bindings (Bug #3460)


Added by Peter Meier about 11 years ago. Updated over 9 years ago.


Status:Open Start date:2013-12-26
Priority:Normal Due date:
Assignee:Andrey Pavlenko % Done:

0%

Category:java bindings
Target version:3.0
Affected version:branch 'master' (3.0-dev) Operating System:Windows
Difficulty:Easy HW Platform:x64
Pull request:

Description

Of the Constant List in the C++ Reference of the VideoCapture Class
there are only two "implemented" for Java.

These are:
CV_CAP_PROP_FRAME_WIDTH
CV_CAP_PROP_FRAME_HEIGHT


History

Updated by Peter Meier about 11 years ago

the problem could be in this file beginning at line 34

opencv / modules / java / generator / gen_java.py

there is written TODO ...

Updated by Peter Meier about 11 years ago

I tried taking the constants of the ignore list in the gen_java.py file and it worked ... at least for CV_CAP_PROP_FRAME_COUNT (after recompiled the whole thing).
I do not know the reason why they are on these list, but I would want to use them ... so please recheck.

Updated by Andrew Senin about 11 years ago

  • Status changed from New to Open

Updated by Will Stewart about 11 years ago

I'm using 2.4.8 on Ubuntu Studio 12.04 32bit and here is what I get for propid from an Axis camera at the very beginning of a stream;

Property Id 1 value =0.0 0.0
Property Id 2 value =0.0 0.0
Property Id 3 value =8.333333333333333E-7 8.333333333333333E-7
Property Id 4 value =640.0 640.0
Property Id 5 value =480.0 480.0
Property Id 6 value =25.0 25.0
Property Id 7 value =0.0 0.0
Property Id 8 value =-1.92153584101141E14 -1.92153584101141E14
Property Id 9 value =0.0 0.0
Property Id 10 value =0.0 0.0
Property Id 11 value =0.0 0.0
Property Id 12 value =0.0 0.0
Property Id 13 value =0.0 0.0
Property Id 14 value =0.0 0.0
Property Id 15 value =0.0 0.0
Property Id 16 value =0.0 0.0
Property Id 17 value =0.0 0.0
Property Id 18 value =0.0 0.0

Prop_Pos_Msec and Prop_Pos_Frames update in value as the stream progresses.

Updated by Maksim Shabunin almost 10 years ago

  • Target version changed from 3.0-beta to 3.0

Updated by Maksim Shabunin over 9 years ago

Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4671

Also available in: Atom PDF