Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

low frame rate in android #47

Open
lzzhangar opened this issue Apr 18, 2017 · 1 comment
Open

low frame rate in android #47

lzzhangar opened this issue Apr 18, 2017 · 1 comment

Comments

@lzzhangar
Copy link

lzzhangar commented Apr 18, 2017

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.

@duzefu
Copy link

duzefu commented Oct 10, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants