0

我使用 mediapipe 进行关于手部地标提取的项目,但我遇到了一些错误。

我构建了关于 mediapipe -> multi_hand_tracking 的 bazel

sudo bazel build -c opt --copt -DMESA_EGL_NO_X11_HEADERS --copt -DEGL_NO_X11 \mediapipe/examples/desktop/multi_hand_tracking:multi_hand_tracking_gpu

像这样。

但我有这个错误

fatal error: mediapipe/framework/formats/landmark.pb.h: No such file or directory #include "mediapipe/framework/formats/landmark.pb.h"

我认为目录中没有“landmark.pb.h”文件。

#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

licenses(["notice"])  # Apache 2.0

package(default_visibility = ["//mediapipe/examples:__subpackages__"])

cc_binary(
    name = "multi_hand_tracking_tflite",
    deps = [
        "//mediapipe/examples/desktop:simple_run_graph_main",
        "//mediapipe/graphs/hand_tracking:multi_hand_desktop_tflite_calculators",
    ],
)

cc_binary(
    name = "multi_hand_tracking_cpu",
    deps = [
        "//mediapipe/examples/desktop:demo_run_graph_main",
        "//mediapipe/graphs/hand_tracking:multi_hand_desktop_tflite_calculators",
    ],
)

# Linux only
cc_binary(
    name = "multi_hand_tracking_gpu",
    deps = [
        "//mediapipe/examples/desktop:demo_run_graph_main_gpu",
        "//mediapipe/graphs/hand_tracking:multi_hand_mobile_calculators",
    ],
)

这是我的 multi_hand_tracking BUILD 文件规范...

我可以下载那个“landmark.pb.h”文件吗...??请帮我找人...

我的环境

mediapipe : 0.7.6 / ubuntu : 18.04 / bazel : 4.1.0:D

4

0 回答 0