Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Poor fps in android. #27

Closed
acttoz opened this issue Sep 13, 2022 · 5 comments
Closed

Poor fps in android. #27

acttoz opened this issue Sep 13, 2022 · 5 comments

Comments

@acttoz
Copy link

acttoz commented Sep 13, 2022

Average fps is 14fps.
And It falls lower over times.
It is also confirmed in the latest smartphones in the published sample version.
According to the profiler, the cpu usage of the script is taking up almost the whole.
Is there any way to improve it?

@olokobayusuf
Copy link
Member

Hey @acttoz what model are you running?

@acttoz
Copy link
Author

acttoz commented Sep 14, 2022

I am running Movenet.

@acttoz
Copy link
Author

acttoz commented Sep 19, 2022

Logcat show like this at time of poor fps.
image

@acttoz
Copy link
Author

acttoz commented Sep 19, 2022

Could it be related to this part?
Maybe it related, how can I reduce photo size?

image

@olokobayusuf
Copy link
Member

@acttoz , can you try MoveNet Multipose? In my testing, the performance seems to be slightly better than MoveNet.

I'm closing this issue because the performance of a model on a device depends on how well the device is able to accelerate machine learning. Android devices have been slow to catch up, with only the high-end devices having a dedicated chip for ML. On iOS devices for example, ML performance is typically much higher because of the dedicated Neural Engine chip. Ultimately, this is not something we control. We expect it to get better over time as more device manufacturers are adding hardware support for machine learning.

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

No branches or pull requests

2 participants