CppMT icon indicating copy to clipboard operation
CppMT copied to clipboard

low frame rate in android

Open lzzhangar opened this issue 8 years ago • 1 comments

I have been successfully integrated CppMT into Android using NDK. I wrote a two JNI Wrapper for initialize and processFrame. the camera is an OpenCV JavaCameraView. Everything seems to be functioning. However, whenever CMT tracking started, the frame rate dropped significantly.

When camera frame size is 1080P, the FPS dropped to 1 FPS; when camera frame size is 720P, the FPS is around 4 FPS; when camera frame size is 480P, the FPS is around 10 FPS.

Is this expected performance on Android or my integration is wrong?

Any advice would be highly appreciated.

lzzhangar avatar Apr 18 '17 04:04 lzzhangar

umm... I try it on 2core 600Mhz CPU(only use 1 core while running),and it looks pretty worse (0.3f/s) then I use BRISK detector instead of FAST according to CMT python implement and the process speed significantly increase to 3f/s

duzefu avatar Oct 10 '19 10:10 duzefu