0

I'm trying to get more fps(frames per second) from android camera.

I'm using Android opencv java camera view and setting the resolution to 118*142 but the camera fps is about 16. It doesn't change when I use an algorithm like Canny or sepia.

I want to know how can I get the highest fps since the original camera itself can reach 30 fps.

Pay attention

I get the same fps whether I use Canny or not. I Googled a lot before asking.

How can I get more fps from OpenCV Android camera?

Community
  • 1
  • 1
Good game
  • 84
  • 1
  • 9

1 Answers1

0

Android camera native access : startPreview() vs startRecording()

You should access the native camera interface if you need more FPS. It will not be as portable as OpenCV but will give you the best performance possible. The slowness comes in when martialing data between Java and C++.

Community
  • 1
  • 1
Brandon Petty
  • 605
  • 1
  • 6
  • 15