Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

getting frame number from Mat

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