Skip to content

benchmarking v0.14.4 release - discussion about performence issues / high latency #1238

@mgarbade

Description

@mgarbade

Plugin Version or Commit ID

v0.14.4

Unity Version

2022.3.34f1

Your Host OS

Windows 10 Pro

Target Platform

Android

Description

I just downloaded the precompiled 0.14.4 release and ran it through our standardized latency benchmark (explained here). It looks like the performance of the plugin keeps on deteriorating on our benchmarking devices (Samsung Tab S7 and A8).

As can be seen from the table below, the latency is almost double compared to a release in 2021 (0.6.2). We will now start to investigate the problem. My gut feeling is that the plugin deteriorated over the time because there were no robust benchmark to test for performance, so nobody could "prove" that it actually became slower. There are probably many things that could have impacted the performance.

2024-08-09 17_09_40-Epic Pen Toolbar

My next step will be to compile and benchmark the pure mediapipe v0.10.14 and post the results here.
Since I already benchmarked an older version of the pure mediapipe (probably v0.8.6) and the latency was ok (A8 = 198 +- 14 ms and S7 = 175 +- 10 ms), so I don't think the problem lies with mediapipe.

I hope this github issue can become a lively discussion about possible reasons.

Code to Reproduce the issue

download the v0.14.4 release (precompiled)

Additional Context

I hope people weigh in on the discussion. The latest plugin has some really interesting features (multi person pose estimation) but unacceptable performance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions