微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

我找不到“landmark.pb.h”

如何解决我找不到“landmark.pb.h”

我使用 mediapipe 进行了关于手部地标提取的项目,但出现错误

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

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",)

# 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

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。