这是indexloc提供的服务,不要输入任何密码
Skip to content

Compiling on 64-bit Raspberry Pi OS #2

@AIWintermuteAI

Description

@AIWintermuteAI

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions