How do I make the method onCameraFrame() be called more frequently

asked 2020-02-28 16:05:04 -0600

I'm using java in Android Studio. Currently onCameraFrame() is called about every 1/30th of a second, likely because the camera is set to 30fps. How do I make it called every 1/60th of a second, or change to the camera framerate to 60fps.

This is the method I'm referring to (class implements CameraBridgeViewBase.CvCameraViewListener2):

@Override
public Mat onCameraFrame(CameraBridgeViewBase.CvCameraViewFrame inputFrame) {
}
edit retag flag offensive close merge delete