Ask Your Question

Skipping frame in android-openCV application

asked 2013-04-10 07:43:59 -0500

NightLife gravatar image

I want to process evry 3 input frame from camera on my android-openCV application. my frames have Mat format and I am using "CameraBridgeViewBase". On the other words, I want to skip some frame without processing.

Can anybody help me?


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-04-10 09:55:00 -0500

Do the following:

Mat temp;

for (int i = 0 ; i < 3; i++){
    temp =; //read frame


Basically this reads in 3 frames but only remembers the last one.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2013-04-10 07:43:59 -0500

Seen: 400 times

Last updated: Apr 10 '13