low frame rate in android
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.
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