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

Compiling on 64-bit Raspberry Pi OS #2

Open
AIWintermuteAI opened this issue Jun 25, 2021 · 1 comment
Open

Compiling on 64-bit Raspberry Pi OS #2

AIWintermuteAI opened this issue Jun 25, 2021 · 1 comment

Comments

@AIWintermuteAI
Copy link

Hi there! Thank you for great guide, if found it very useful.

After some trial and error I was able to compile Mediapipe 0.8.4 for 64-bit Raspberry Pi OS. I have two questions though:

  1. I had to skip the optimizations in order to compile successfully - from what I understand, some of compilation options are not necessary, as they're enabled by default on aarch64, e.g.
    '--copt=-mfpu=neon-vfpv3',
    '--copt=-mfloat-abi=hard',
    having these two in bazel build parameters throws errors basically saying that these flags are not supported by compiler.
    The inference time is still pretty fast - for example for Facemesh I get 18.5 FPS with average inference time per frame 54 ms., as seen here
    https://twitter.com/HardwareAi/status/1408354889214971904

Have you run tests on your compiled package? What FPS can it achieve?

  1. Do you know if Google Mediapipe teams plans to release pip package versions for more Python/architectures?
@hasankhurshid29
Copy link

Can you guide me in detail, how to install it on 64 bit raspbian as I can't figure it out?

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