Mediapipe 在RK3399PRO上的初探(一)(编译、运行CPU和GPU Demo, RK OpenglES 填坑,编译bazel)

您好,我们公司在做一个预研项目,预研过程发现了一些问题,正在处理中。荣幸看到了您的博文,评估您的技术能力对我们快速解决问题很有帮助,想要跟您沟通,看是否能付费合作。

你的博文,Mediapipe 在RK3399PRO上的初探(一)(编译、运行CPU和GPU Demo, RK OpenglES 填坑,编译bazel):https://blog.csdn.net/u011728480/article/details/115838306

  • 这篇博客也许可以解决你的问题👉 :Mediapipe 在RK3399PRO上的初探(一)(编译、运行CPU和GPU Demo, RK OpenglES 填坑,编译bazel)
  • 除此之外, 这篇博客: Mediapipe 在RK3399PRO上的初探(一)(编译、运行CPU和GPU Demo, RK OpenglES 填坑,编译bazel)中的 人脸检测demo编译和运行 部分也许能够解决你的问题, 你可以仔细阅读以下内容或跳转源博客中阅读:
  •   进入mediapipe的源码根目录开始编译运行CPU版本。

    > bazel build --define MEDIAPIPE_DISABLE_GPU=1 --copt -DMESA_EGL_NO_X11_HEADERS --copt -DEGL_NO_X11 mediapipe/examples/desktop/face_detection:face_detection_cpu --local_ram_resources=1500  --local_cpu_resources=1
    
    > ./bazel-bin/mediapipe/examples/desktop/face_detection/face_detection_cpu -calculator_graph_config_file=./mediapipe/graphs/face_detection/face_detection_desktop_live.pbtxt -input_video_path=./TestVideos/out.mp4
    
    

      进入mediapipe的源码根目录开始编译运行GPU版本。

    > bazel build --copt -DMESA_EGL_NO_X11_HEADERS --copt -DEGL_NO_X11 mediapipe/examples/desktop/face_detection:face_detection_gpu --local_ram_resources=1500  --local_cpu_resources=1
    
    > ./bazel-bin/mediapipe/examples/desktop/face_detection/face_detection_gpu -calculator_graph_config_file=./mediapipe/graphs/face_detection/face_detection_mobile_gpu.pbtxt -input_video_path=./TestVideos/out.mp4
    
    

       运行之后,就会弹一个框开始检测了。