getting frame number from Mat [closed]

asked 2016-07-22 08:07:44 -0600

Liphoto gravatar image

Is it possible to get a frame number from a Mat object? From a VideoCapture object it would be

cap.get(CAP_PROP_POS_FRAMES)

is there a function for getting the current frame number from the Mat

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Liphoto
close date 2016-07-25 02:12:22.310113

Comments

no there isn't, you have to do your own counting.

berak gravatar imageberak ( 2016-07-25 00:23:04 -0600 )edit

Thank you very much

Liphoto gravatar imageLiphoto ( 2016-07-25 02:12:01 -0600 )edit