Giter Site home page Giter Site logo

google / mediapipe Goto Github PK

View Code? Open in Web Editor NEW
25.2K 498.0 4.9K 585.44 MB

Cross-platform, customizable ML solutions for live and streaming media.

Home Page: https://mediapipe.dev

License: Apache License 2.0

Python 9.14% Dockerfile 0.01% C++ 63.39% Java 7.97% C 0.83% Objective-C 3.92% Shell 0.13% Objective-C++ 2.91% HTML 0.02% JavaScript 0.03% Starlark 8.38% Batchfile 0.01% Makefile 0.01% TypeScript 3.14% Swift 0.13%
mediapipe c-plus-plus computer-vision deep-learning android video-processing audio-processing mobile-development machine-learning inference

mediapipe's Introduction

layout target title nav_order
forward
Home
1

Attention: We have moved to https://developers.google.com/mediapipe as the primary developer documentation site for MediaPipe as of April 3, 2023.

MediaPipe

Attention: MediaPipe Solutions Preview is an early release. Learn more.

On-device machine learning for everyone

Delight your customers with innovative machine learning features. MediaPipe contains everything that you need to customize and deploy to mobile (Android, iOS), web, desktop, edge devices, and IoT, effortlessly.

Get started

You can get started with MediaPipe Solutions by by checking out any of the developer guides for vision, text, and audio tasks. If you need help setting up a development environment for use with MediaPipe Tasks, check out the setup guides for Android, web apps, and Python.

Solutions

MediaPipe Solutions provides a suite of libraries and tools for you to quickly apply artificial intelligence (AI) and machine learning (ML) techniques in your applications. You can plug these solutions into your applications immediately, customize them to your needs, and use them across multiple development platforms. MediaPipe Solutions is part of the MediaPipe open source project, so you can further customize the solutions code to meet your application needs.

These libraries and resources provide the core functionality for each MediaPipe Solution:

  • MediaPipe Tasks: Cross-platform APIs and libraries for deploying solutions. Learn more.
  • MediaPipe models: Pre-trained, ready-to-run models for use with each solution.

These tools let you customize and evaluate solutions:

  • MediaPipe Model Maker: Customize models for solutions with your data. Learn more.
  • MediaPipe Studio: Visualize, evaluate, and benchmark solutions in your browser. Learn more.

Legacy solutions

We have ended support for these MediaPipe Legacy Solutions as of March 1, 2023. All other MediaPipe Legacy Solutions will be upgraded to a new MediaPipe Solution. See the Solutions guide for details. The code repository and prebuilt binaries for all MediaPipe Legacy Solutions will continue to be provided on an as-is basis.

For more on the legacy solutions, see the documentation.

Framework

To start using MediaPipe Framework, install MediaPipe Framework and start building example applications in C++, Android, and iOS.

MediaPipe Framework is the low-level component used to build efficient on-device machine learning pipelines, similar to the premade MediaPipe Solutions.

Before using MediaPipe Framework, familiarize yourself with the following key Framework concepts:

Community

  • Slack community for MediaPipe users.
  • Discuss - General community discussion around MediaPipe.
  • Awesome MediaPipe - A curated list of awesome MediaPipe related frameworks, libraries and software.

Contributing

We welcome contributions. Please follow these guidelines.

We use GitHub issues for tracking requests and bugs. Please post questions to the MediaPipe Stack Overflow with a mediapipe tag.

Resources

Publications

Videos

mediapipe's People

Contributors

aaronndx avatar acozzette avatar alankelly avatar ayushgdev avatar camillol avatar chuoling avatar cmcclanahan avatar cushon avatar fergushenderson avatar frigus02 avatar gribozavr avatar joefernandez avatar khanhlvg avatar kinarr avatar kotlaja avatar ktonthat avatar kuaashish avatar lin826 avatar lucifertrj avatar markmcd avatar neilblaze avatar nikolaychirkov avatar priankakariatyml avatar schmidt-sebastian avatar shmishra99 avatar vrabaud avatar yichunk avatar zetafunction avatar ziyeqinghan avatar zkoogle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mediapipe's Issues

Error occurred when build in MacOS android studio

Hi

When I build in android studio or when I just build android app in terminal, error occurred like bellow. (succeeded to build 'hello world')

Loading: 
Loading: 0 packages loaded
Analyzing: 5 targets (1 packages loaded, 0 targets configured)
Analyzing: 5 targets (44 packages loaded, 202 targets configured)
Analyzing: 5 targets (60 packages loaded, 730 targets configured)
WARNING: API level 29 specified by android_ndk_repository 'androidndk' is not available. Using latest known API level 28
Analyzing: 5 targets (73 packages loaded, 1292 targets configured)
Analyzing: 5 targets (73 packages loaded, 1292 targets configured)
Internal error thrown during build. Printing stack trace: java.lang.RuntimeException: Unrecoverable error while evaluating node '@google_toolbox_for_mac//:GTM_Defines BuildConfigurationValue.Key[d690f2516ae6b31fe0158ae620bfd6a7] true' (requested by nodes '//mediapipe/gpu:MPPGraphGPUData BuildConfigurationValue.Key[d690f2516ae6b31fe0158ae620bfd6a7] true')
	at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:528)
	at com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$WrappedRunnable.run(AbstractQueueVisitor.java:399)
	at java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
Caused by: java.lang.NullPointerException
	at com.google.devtools.build.lib.rules.objc.CompilationSupport.getFeatureConfiguration(CompilationSupport.java:582)
	at com.google.devtools.build.lib.rules.objc.CompilationSupport.compile(CompilationSupport.java:310)
	at com.google.devtools.build.lib.rules.objc.CompilationSupport.ccCompileAndLink(CompilationSupport.java:384)
	at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:1088)
	at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:1121)
	at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:1014)
	at com.google.devtools.build.lib.rules.objc.ObjcLibrary.create(ObjcLibrary.java:80)
	at com.google.devtools.build.lib.rules.objc.ObjcLibrary.create(ObjcLibrary.java:41)
	at com.google.devtools.build.lib.analysis.ConfiguredTargetFactory.createRule(ConfiguredTargetFactory.java:331)
	at com.google.devtools.build.lib.analysis.ConfiguredTargetFactory.createConfiguredTarget(ConfiguredTargetFactory.java:182)
	at com.google.devtools.build.lib.skyframe.SkyframeBuildView.createConfiguredTarget(SkyframeBuildView.java:776)
	at com.google.devtools.build.lib.skyframe.ConfiguredTargetFunction.createConfiguredTarget(ConfiguredTargetFunction.java:891)
	at com.google.devtools.build.lib.skyframe.ConfiguredTargetFunction.compute(ConfiguredTargetFunction.java:351)
	at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:451)
	... 7 more

INFO: Elapsed time: 6.491s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (73 packages loaded, 1292 targets configured)
Internal error thrown during build. Printing stack trace: java.lang.RuntimeException: Unrecoverable error while evaluating node '@google_toolbox_for_mac//:GTM_Defines BuildConfigurationValue.Key[d690f2516ae6b31fe0158ae620bfd6a7] true' (requested by nodes '//mediapipe/gpu:MPPGraphGPUData BuildConfigurationValue.Key[d690f2516ae6b31fe0158ae620bfd6a7] true')
	at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:528)
	at com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$WrappedRunnable.run(AbstractQueueVisitor.java:399)
	at java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
Caused by: java.lang.NullPointerException
	at com.google.devtools.build.lib.rules.objc.CompilationSupport.getFeatureConfiguration(CompilationSupport.java:582)
	at com.google.devtools.build.lib.rules.objc.CompilationSupport.compile(CompilationSupport.java:310)
	at com.google.devtools.build.lib.rules.objc.CompilationSupport.ccCompileAndLink(CompilationSupport.java:384)
	at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:1088)
	at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:1121)
	at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:1014)
	at com.google.devtools.build.lib.rules.objc.ObjcLibrary.create(ObjcLibrary.java:80)
	at com.google.devtools.build.lib.rules.objc.ObjcLibrary.create(ObjcLibrary.java:41)
	at com.google.devtools.build.lib.analysis.ConfiguredTargetFactory.createRule(ConfiguredTargetFactory.java:331)
	at com.google.devtools.build.lib.analysis.ConfiguredTargetFactory.createConfiguredTarget(ConfiguredTargetFactory.java:182)
	at com.google.devtools.build.lib.skyframe.SkyframeBuildView.createConfiguredTarget(SkyframeBuildView.java:776)
	at com.google.devtools.build.lib.skyframe.ConfiguredTargetFunction.createConfiguredTarget(ConfiguredTargetFunction.java:891)
	at com.google.devtools.build.lib.skyframe.ConfiguredTargetFunction.compute(ConfiguredTargetFunction.java:351)
	at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:451)
	... 7 more
java.lang.RuntimeException: Unrecoverable error while evaluating node '@google_toolbox_for_mac//:GTM_Defines BuildConfigurationValue.Key[d690f2516ae6b31fe0158ae620bfd6a7] true' (requested by nodes '//mediapipe/gpu:MPPGraphGPUData BuildConfigurationValue.Key[d690f2516ae6b31fe0158ae620bfd6a7] true')
	at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:528)
	at com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$WrappedRunnable.run(AbstractQueueVisitor.java:399)
	at java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
Caused by: java.lang.NullPointerException
	at com.google.devtools.build.lib.rules.objc.CompilationSupport.getFeatureConfiguration(CompilationSupport.java:582)
	at com.google.devtools.build.lib.rules.objc.CompilationSupport.compile(CompilationSupport.java:310)
	at com.google.devtools.build.lib.rules.objc.CompilationSupport.ccCompileAndLink(CompilationSupport.java:384)
	at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:1088)
	at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:1121)
	at com.google.devtools.build.lib.rules.objc.CompilationSupport.registerCompileAndArchiveActions(CompilationSupport.java:1014)
	at com.google.devtools.build.lib.rules.objc.ObjcLibrary.create(ObjcLibrary.java:80)
	at com.google.devtools.build.lib.rules.objc.ObjcLibrary.create(ObjcLibrary.java:41)
	at com.google.devtools.build.lib.analysis.ConfiguredTargetFactory.createRule(ConfiguredTargetFactory.java:331)
	at com.google.devtools.build.lib.analysis.ConfiguredTargetFactory.createConfiguredTarget(ConfiguredTargetFactory.java:182)
	at com.google.devtools.build.lib.skyframe.SkyframeBuildView.createConfiguredTarget(SkyframeBuildView.java:776)
	at com.google.devtools.build.lib.skyframe.ConfiguredTargetFunction.createConfiguredTarget(ConfiguredTargetFunction.java:891)
	at com.google.devtools.build.lib.skyframe.ConfiguredTargetFunction.compute(ConfiguredTargetFunction.java:351)
	at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:451)
	... 7 more
FAILED: Build did NOT complete successfully (73 packages loaded, 1292 targets configured)
INFO: Build Event Protocol files produced successfully.
FAILED: Build did NOT complete successfully (73 packages loaded, 1292 targets configured)
build invocation result: fatal_error
Sync finished

Timing summary:
BlazeInvocation: 11.1s, Prefetching: 0ms, Other: 22ms
Sync failed

java version

java -version
openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)

bazel version

bazel --version
bazel 0.28.1

mac version

sw_vers
ProductName:	Mac OS X
ProductVersion:	10.14.6
BuildVersion:	18G84

multiple hands tracking

I have tested the android application and I have seen that only one hand is tracked (landmarks).
Even if this is not supported now, how do you think the best way to support tracking multiple hands?

Unable to join the google group mailing list

When trying to join the google group I receive this error:

This group either doesn't exist, or you don't have permission to access it. If you're sure this group exists, contact the Owner of the group and ask them to give you access.
RELOAD

If possible could you adjust the group permissions? Thank you for your work this looks like an excellent project.

Hand tracking for desktop

Hey,

In your latest blog you released a very nice hand-tracking model. In docs I only found an example for mobile devices.

Is it somehow possible to use your hand-tracking model on the desktop?

Fail to pull in MediaPipe's external dependencies due to unstable internet connection

Hello,My name is Long.
Description:
version:newest(2aaf469)
bazel:0.27.0
ubuntu:16.04
ndk:r17c
opencv:3.4.1(from source code include origin and contrib)

this is my Error:
long@long:/media/long/data/android/mediapipe$ bazel build -c opt --config=android_arm64 mediapipe/examples/android/src/java/com/google/mediapipe/apps/facedetectiongpu
ERROR: /media/long/data/android/mediapipe/third_party/BUILD:24:1: no such package '@android_opencv//': java.io.IOException: Error downloading [https://sourceforge.net/projects/opencvlibrary/files/4.0.1/opencv-4.0.1-android-sdk.zip/downl
oad] to /home/long/.cache/bazel/_bazel_long/2855d1951dc2684b853376a37e34b96b/external/android_opencv/download.zip: connect timed out and referenced by '//third_party:opencv'
ERROR: Analysis of target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/facedetectiongpu:facedetectiongpu' failed; build aborted: Analysis failed
INFO: Elapsed time: 16.197s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (156 packages loaded, 6354 targets configured)
currently loading: @org_tensorflow//tensorflow/lite/experimental/ruy
Fetching @com_google_common_flogger; fetching 7s
Fetching @com_google_common_flogger_system_backend; fetching 7s

Can I use version 3.4.1 of opencv?
Is it possible not to upgrade?
thx.

question about the difference between paper and given model

I am learning the tricks of model designing in the papers of BlazeFace and HairSegment. It is described that large kernel like 5x5 is used to improve efficiency. And DenseNet layers are added to improve accuracy. While I failed to find these designs in your given tflite models under this repo. Can anyone explain it a little bit?

mediapipe MacOS helloworld failure

pjhuang-macbookpro:mediapipe pjhuang$ bazel run --define MEDIAPIPE_DISABLE_GPU=1 \

mediapipe/examples/desktop/hello_world:hello_world

DEBUG: Rule 'build_bazel_rules_apple' indicated that a canonical reproducible form can be obtained by modifying arguments commit = "6c9fcae7a3597aabd43f28be89466afe0eab18de", shallow_since = "1565379803 -0700" and dropping ["tag"]
DEBUG: Call stack for the definition of repository 'build_bazel_rules_apple' which is a git_repository (rule definition at /private/var/tmp/_bazel_pjhuang/afa06e99810fc5bceaeb2263198f79fa/external/bazel_tools/tools/build_defs/repo/git.bzl:181:18):

  • /Users/pjhuang/mediapipe/WORKSPACE:251:1
    INFO: Analyzed target //mediapipe/examples/desktop/hello_world:hello_world (0 packages loaded, 0 targets configured).
    INFO: Found 1 target...
    ERROR: /private/var/tmp/_bazel_pjhuang/afa06e99810fc5bceaeb2263198f79fa/external/com_github_glog_glog/BUILD.bazel:68:1: C++ compilation of rule '@com_github_glog_glog//:glog' failed (Exit 1) cc_wrapper.sh failed: error executing command external/local_config_cc/cc_wrapper.sh -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -fcolor-diagnostics -fno-omit-frame-pointer '-std=c++0x' -MD -MF ... (remaining 36 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
external/com_github_glog_glog/src/logging.cc:1227:3: error: use of undeclared identifier 'RawLog__SetLastTime'
RawLog__SetLastTime(data_->tm_time_, usecs);
^
1 error generated.
Target //mediapipe/examples/desktop/hello_world:hello_world failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 0.997s, Critical Path: 0.89s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully

pjhuang-macbookpro:mediapipe pjhuang$ bazel version
Build label: 0.28.1-homebrew
Build target: bazel-out/darwin-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Fri Jul 19 16:09:50 2019 (1563552590)
Build timestamp: 1563552590
Build timestamp as int: 1563552590

Facedetector model documentation

I'm trying to use the facedetector model (facedetector_front.tflite) directly, but there is no documentation on the output of the model. A description of the output would be greatly appreciated.

Build of Hello World Failed on Darwin (MacOS)

$ bazel build -c opt mediapipe/examples/desktop/hello_world:hello_world
Starting local Bazel server and connecting to it...
DEBUG: Rule 'build_bazel_rules_apple' indicated that a canonical reproducible form can be obtained by modifying arguments commit = "6c9fcae7a3597aabd43f28be89466afe0eab18de", shallow_since = "1565379803 -0700" and dropping ["tag"]
DEBUG: Call stack for the definition of repository 'build_bazel_rules_apple' which is a git_repository (rule definition at /private/var/tmp/_bazel_faucherd/3a6923036fc899f82029b0fb9d70b802/external/bazel_tools/tools/build_defs/repo/git.bzl:181:18):

  • /Users/faucherd/Documents/Personal/Machine_Learning/Google/mediapipe/WORKSPACE:251:1
    ERROR: /private/var/tmp/_bazel_faucherd/3a6923036fc899f82029b0fb9d70b802/external/local_config_cc/BUILD:46:1: in cc_toolchain_suite rule @local_config_cc//:toolchain: cc_toolchain_suite '@local_config_cc//:toolchain' does not contain a toolchain for cpu 'darwin_x86_64'
    ERROR: Analysis of target '//mediapipe/examples/desktop/hello_world:hello_world' failed; build aborted: Analysis of target '@local_config_cc//:toolchain' failed; build aborted
    INFO: Elapsed time: 58.077s
    INFO: 0 processes.
    FAILED: Build did NOT complete successfully (53 packages loaded, 1164 targets configured)

Demo app build issue with Bazel 0.27.0

Hello,My name is Long.
Description:
bazel:0.27.0
ubuntu:16.04
ndk:r16b

This is my Error:
long@long:/media/long/data/android/mediapipe$ bazel build -c opt --config=android_arm64 mediapipe/examples/android/src/java/com/google/mediapipe/apps/facedetectiongpu
DEBUG: Rule 'gmaven_rules' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "33027de68db6a49a352f83808fa9898c4930d39aa6fb0edc6bb3d3eec6e2bc7d"
DEBUG: Call stack for the definition of repository 'gmaven_rules' which is a http_archive (rule definition at /home/long/.cache/bazel/_bazel_long/2855d1951dc2684b853376a37e34b96b/external/bazel_tools/tools/build_defs/repo/http.bzl:237:16):

  • /media/long/data/android/mediapipe/WORKSPACE:124:1
    INFO: Call stack for the definition of repository 'eigen_archive' which is a tf_http_archive (rule definition at /home/long/.cache/bazel/_bazel_long/2855d1951dc2684b853376a37e34b96b/external/org_tensorflow/third_party/repo.bzl:126:19):
  • /home/long/.cache/bazel/_bazel_long/2855d1951dc2684b853376a37e34b96b/external/org_tensorflow/tensorflow/workspace.bzl:148:5
  • /media/long/data/android/mediapipe/WORKSPACE:96:1
    ERROR: /media/long/data/android/mediapipe/mediapipe/framework/BUILD:52:1: in //mediapipe/framework:transitive_protos.bzl%transitive_protos_aspect aspect on proto_library rule //mediapipe/framework:calculator_options_proto:
    Traceback (most recent call last):
    File "/media/long/data/android/mediapipe/mediapipe/framework/BUILD", line 52
    //mediapipe/framework:transitive_protos.bzl%transitive_protos_aspect(...)
    File "/media/long/data/android/mediapipe/mediapipe/framework/transitive_protos.bzl", line 97, in _transitive_protos_aspect_impl
    [f for f in target.files if (f.extension == "a")]
    type 'depset' is not iterable. Use the to_list() method to get a list. Use --incompatible_depset_is_not_iterable=false to temporarily disable this check.
    WARNING: API level 27 specified by android_ndk_repository 'androidndk' is not available. Using latest known API level 26
    ERROR: Analysis of target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/facedetectiongpu:facedetectiongpu' failed; build aborted: Analysis of target '//mediapipe/framework:calculator_options_proto' failed; build aborted
    INFO: Elapsed time: 3.800s
    INFO: 0 processes.
    FAILED: Build did NOT complete successfully (2 packages loaded, 12 targets configured)
    Fetching @com_google_common_flogger; fetching
    Fetching @com_google_common_flogger_system_backend; fetching

thx.

How to Predict 3D Faces Using Models?

I'm glad to see your work. I'm just interested in 3D face detection. Under the model folder, I saw some of the models you provided. I want to achieve the following effects:
image
But I don't know how to use the model you provide to build prediction code. Can you give me some guidance? Thank you very much.

What can I do to integrate into my project?

I use Gradle to compile projects and don't know how to modify them.

I also met:
INFO: Call stack for the definition of repository 'org_tensorflow' which is a http_archive (rule definition at C:/users/administrator/_bazel_administrator/miimwwwx/external/bazel_tools/tools/build_defs/repo/http.bzl:237:16):

  • E:/myproject/mediapipe-master/WORKSPACE:103:1
    INFO: Repository 'org_tensorflow' used the following cache hits instead of downloading the corresponding file.
  • Hash 'ddd4e3c056e7c0ff2ef29133b30fa62781dfbf8a903e99efb91a02d292fa9562' for https://mirror.bazel.build/github.com/tensorflow/tensorflow/archive/67def62936e28f97c16182dfcc467d8d1cae02b4.tar.gz
    If the definition of 'org_tensorflow' was updated, verify that the hashes were also updated.
    ERROR: An error occurred during the fetch of repository 'org_tensorflow':
    Traceback (most recent call last):
    File "C:/users/administrator/_bazel_administrator/miimwwwx/external/bazel_tools/tools/build_defs/repo/http.bzl", line 56
    patch(ctx)
    File "C:/users/administrator/_bazel_administrator/miimwwwx/external/bazel_tools/tools/build_defs/repo/utils.bzl", line 91, in patch
    fail(("Error applying patch %s:\n%s%s...)))
    Error applying patch //third_party:tensorflow_065c20bf79253257c87bd4614bb9a7fdef015cbb.diff:
    java.io.IOException: ERROR: src/main/native/windows/process.cc(184): CreateProcessW("C:\ProgramData\chocolatey\lib\bazel" -c "patch '-p1' < E:/myproject/mediapipe-master/third_party/tensorflow_065c20bf79253257c87bd4614bb9a7fdef015cbb.diff"): ?????
    ERROR: no such package '@org_tensorflow//tensorflow': Traceback (most recent call last):
    File "C:/users/administrator/_bazel_administrator/miimwwwx/external/bazel_tools/tools/build_defs/repo/http.bzl", line 56
    patch(ctx)
    File "C:/users/administrator/_bazel_administrator/miimwwwx/external/bazel_tools/tools/build_defs/repo/utils.bzl", line 91, in patch
    fail(("Error applying patch %s:\n%s%s...)))
    Error applying patch //third_party:tensorflow_065c20bf79253257c87bd4614bb9a7fdef015cbb.diff:
    java.io.IOException: ERROR: src/main/native/windows/process.cc(184): CreateProcessW("C:\ProgramData\chocolatey\lib\bazel" -c "patch '-p1' < E:/myproject/mediapipe-master/third_party/tensorflow_065c20bf79253257c87bd4614bb9a7fdef015cbb.diff"): ?????
    Sync finished

how can i use single image as input

i want to test your BlazeFace on a single image, which calculator should i use? or take an opencv Mat as input of ImageTransformationCalculator?

will original model model be public?

Hi, I wonder if the original model (before converted to tflite to inference on mobile devices) along with it's training code will be open source or not?

ERROR: An error occurred during the fetch of repository 'bazel_skylib'

java.io.IOException: Error downloading [https://github.com/bazelbuild/bazel-skylib/archive/2169ae1c374aab4a09aa90e65efe1a3aad4e279b.tar.gz] to /home/dm/.cache/bazel/_bazel_dm/b9f01b7215a9069d20c31caab49bdce8/external/bazel_skylib/2169ae1c374aab4a09aa90e65efe1a3aad4e279b.tar.gz: GET returned 404 Not Found

Have someone met this situation when bazel the project?
I can't access some links in the build e.g.https://github.com/bazelbuild/bazel-skylib/archive/2169ae1c374aab4a09aa90e65efe1a3aad4e279b.tar.gz

Bazel build failed to fetch Maven dependency

When I run bazel build -c opt --config=android_arm64 mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu, I met with following error:

DEBUG: Rule 'build_bazel_rules_apple' indicated that a canonical reproducible form can be obtained by modifying arguments commit = "6c9fcae7a3597aabd43f28be89466afe0eab18de", shallow_since = "1565379803 -0700" and dropping ["tag"]
DEBUG: Call stack for the definition of repository 'build_bazel_rules_apple' which is a git_repository (rule definition at /home/sitao/.cache/bazel/_bazel_sitao/196738a4e5710d43dc3e6a26d08dcdc0/external/bazel_tools/tools/build_defs/repo/git.bzl:181:18):
 - /home/sitao/development/mediapipe/WORKSPACE:251:1
INFO: Call stack for the definition of repository 'remotejdk11_linux' which is a http_archive (rule definition at /home/sitao/.cache/bazel/_bazel_sitao/196738a4e5710d43dc3e6a26d08dcdc0/external/bazel_tools/tools/build_defs/repo/http.bzl:237:16):
 - /DEFAULT.WORKSPACE.SUFFIX:199:1
ERROR: /home/sitao/development/mediapipe/mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu/BUILD:64:1: //mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu:mediapipe_lib depends on @com_google_code_findbugs//jar:jar in repository @com_google_code_findbugs which failed to fetch. no such package '@com_google_code_findbugs//jar': Failed to fetch Maven dependency: Could not transfer artifact com.google.code.findbugs:jsr305:jar:3.0.2 from/to com_google_code_findbugs (https://repo1.maven.org/maven2/): connect timed out
ERROR: Analysis of target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu:handtrackinggpu' failed; build aborted: no such package '@com_google_code_findbugs//jar': Failed to fetch Maven dependency: Could not transfer artifact com.google.code.findbugs:jsr305:jar:3.0.2 from/to com_google_code_findbugs (https://repo1.maven.org/maven2/): connect timed out
INFO: Elapsed time: 10.175s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)

I can access the link https://repo1.maven.org/maven2 through browser and find findbug folder.

Identification of Gesture in hand tracking model

Hi,

I am trying to understand how the gesture part of the application works.
But was able to only get the Hand Landmark model. And could not find any documentation for the Gesture.

Please provide links or guides to that I can try it out.

Strange result for face detection gpu demo

Screenshot_2019-07-16-13-49-43-467_com.google.mediapipe.apps.facedetectiongpu.png
Hi, I have encountered strange face detection results in face detection GPU demo. I have uploaded the screenshot image above. Any suggestions? BTW, my phone is Android 8.0.0

Unable to load the hand detection model

I am trying to test the given model in my sample android application.
When trying to load the model i face this issue:

java.lang.IllegalStateException: Internal error: Unexpected failure when preparing tensor allocations: Encountered unresolved custom op: Convolution2DTransposeBias.Node number 165 (Convolution2DTransposeBias) failed to prepare.

Code:
AssetFileDescriptor fileDescriptor = activity.getAssets().openFd("palm_detection.tflite");

APK for Hair Segmentation

Hello!
Can you provide the apk for hair segmentation, because I am not able to generate it from the commands.
Thanks

Unity Support

Can we see Unity Engine port of it?
It would so much great of we used it inside the engine

mediapipe ios build fails

Hi

the configuration file on each of the iOs examples points to a 9.3sdk / 10.0sdk simulator forcing a build-from-bazel to fail. The resulting errors in the configuration file being set wrong are multiple calls like this while bazel is building:

AVDepthData.h:75:12: note: 'AVDepthData' has been marked as being introduced in iOS 11.0 here, but the deployment target is _iOS 10.0.0_ @interface AVDepthData : NSObject

also while bazel is looking for the mobileprovisions file it has a cert-fail. The mobileprovisions also checks for a app identifier through bazel which also causes it to fail while looking for an app identifier namespace like "com.google.mediapipe.handtrackinggpu" instead of the user's *app identifier or allowing the user to set their own.

This makes your examples/ios completely un-workable.

#43 reflects this confusion as well

Please fix or update your documentation to reflect these errors.

ERROR: unknown command line flag 'alsologtostderr'

When I try to run object_detection_tflite using

bazel-bin/mediapipe/examples/desktop/object_detection/object_detection_tflite \
  --calculator_graph_config_file=mediapipe/graphs/object_detection/object_detection_desktop_tflite_graph.pbtxt \
  --input_side_packets=input_video_path=/path/to/input/file,output_video_path=/path/to/output/file \
  --alsologtostderr

I get the following error

ERROR: unknown command line flag 'alsologtostderr'

after having built it with bazel

The graph works no problem after removing --alsologtostderr but im not totally sure what was supposed to happen with that command

Xcode Facedetectgpu build fails on missing input file '//mediapipe:provisioning_profile.mobileprovision'

Funny. I get this same error in Android Studio as well. The file exists in that location though. TIA.

Showing Recent Issues
Check dependencies

Code Signing Warning: "FaceDetectionGpuApp" isn't code signed but requires entitlements. It is not possible to add entitlements to a binary without signing it.

PhaseScriptExecution Run\ Script /Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Intermediates.noindex/Mediapipe.build/Debug-iphoneos/FaceDetectionGpuApp.build/Script-43289A9DD3C7539100000000.sh
cd /Users/faucherd/Documents/Personal/Programming/iOS
export ACTION=build
export AD_HOC_CODE_SIGNING_ALLOWED=NO
export ALTERNATE_GROUP=staff
export ALTERNATE_MODE=u+w,go-w,a+rX
export ALTERNATE_OWNER=faucherd
export ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO
export ALWAYS_SEARCH_USER_PATHS=NO
export ALWAYS_USE_SEPARATE_HEADERMAPS=NO
export APPLE_INTERNAL_DEVELOPER_DIR=/AppleInternal/Developer
export APPLE_INTERNAL_DIR=/AppleInternal
export APPLE_INTERNAL_DOCUMENTATION_DIR=/AppleInternal/Documentation
export APPLE_INTERNAL_LIBRARY_DIR=/AppleInternal/Library
export APPLE_INTERNAL_TOOLS=/AppleInternal/Developer/Tools
export APPLICATION_EXTENSION_API_ONLY=NO
export APPLY_RULES_IN_COPY_FILES=NO
export ARCHS="armv7 arm64"
export ARCHS_STANDARD="armv7 arm64"
export ARCHS_STANDARD_32_64_BIT="armv7 arm64"
export ARCHS_STANDARD_32_BIT=armv7
export ARCHS_STANDARD_64_BIT=arm64
export ARCHS_STANDARD_INCLUDING_64_BIT="armv7 arm64"
export ARCHS_UNIVERSAL_IPHONE_OS="armv7 arm64"
export ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME="Stub Launch Image"
export AVAILABLE_PLATFORMS="appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator"
export BAZEL_TARGET="//mediapipe/examples/ios/facedetectiongpu:FaceDetectionGpuApp"
export BITCODE_GENERATION_MODE=marker
export BUILD_ACTIVE_RESOURCES_ONLY=NO
export BUILD_COMPONENTS="headers build"
export BUILD_DIR=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Products
export BUILD_ROOT=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Products
export BUILD_STYLE=
export BUILD_VARIANTS=normal
export BUILT_PRODUCTS_DIR=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Products/Debug-iphoneos
export CACHE_ROOT=/var/folders/y3/85r5hj0129b6gpyk4kx0499h0000gp/C/com.apple.DeveloperTools/10.3-10G8/Xcode
export CCHROOT=/var/folders/y3/85r5hj0129b6gpyk4kx0499h0000gp/C/com.apple.DeveloperTools/10.3-10G8/Xcode
export CHMOD=/bin/chmod
export CHOWN=/usr/sbin/chown
export CLANG_CXX_LANGUAGE_STANDARD=c++14
export CLANG_ENABLE_OBJC_ARC=YES
export CLANG_MODULES_BUILD_SESSION_FILE=/Users/faucherd/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation
export CLANG_WARN_BOOL_CONVERSION=YES
export CLANG_WARN_CONSTANT_CONVERSION=YES
export CLANG_WARN_EMPTY_BODY=YES
export CLANG_WARN_ENUM_CONVERSION=YES
export CLANG_WARN_INT_CONVERSION=YES
export CLANG_WARN_UNREACHABLE_CODE=YES
export CLANG_WARN__DUPLICATE_METHOD_MATCH=YES
export CLASS_FILE_DIR=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Intermediates.noindex/Mediapipe.build/Debug-iphoneos/FaceDetectionGpuApp.build/JavaClasses
export CLEAN_PRECOMPS=YES
export CLONE_HEADERS=NO
export CODESIGNING_FOLDER_PATH=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Products/Debug-iphoneos/FaceDetectionGpuApp.app
export CODE_SIGNING_ALLOWED=YES
export CODE_SIGNING_REQUIRED=NO
export CODE_SIGN_CONTEXT_CLASS=XCiPhoneOSCodeSignContext
export CODE_SIGN_INJECT_BASE_ENTITLEMENTS=YES
export COLOR_DIAGNOSTICS=NO
export COMBINE_HIDPI_IMAGES=NO
export COMMAND_MODE=legacy
export COMPILER_INDEX_STORE_ENABLE=Default
export COMPOSITE_SDK_DIRS=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Intermediates.noindex/CompositeSDKs
export COMPRESS_PNG_FILES=YES
export CONFIGURATION=Debug
export CONFIGURATION_BUILD_DIR=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Products/Debug-iphoneos
export CONFIGURATION_TEMP_DIR=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Intermediates.noindex/Mediapipe.build/Debug-iphoneos
export CONTENTS_FOLDER_PATH=FaceDetectionGpuApp.app
export COPYING_PRESERVES_HFS_DATA=NO
export COPY_HEADERS_RUN_UNIFDEF=NO
export COPY_PHASE_STRIP=YES
export COPY_RESOURCES_FROM_STATIC_FRAMEWORKS=YES
export CORRESPONDING_SIMULATOR_PLATFORM_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
export CORRESPONDING_SIMULATOR_PLATFORM_NAME=iphonesimulator
export CORRESPONDING_SIMULATOR_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk
export CORRESPONDING_SIMULATOR_SDK_NAME=iphonesimulator12.4
export CP=/bin/cp
export CREATE_INFOPLIST_SECTION_IN_BINARY=NO
export CURRENT_ARCH=arm64
export CURRENT_VARIANT=normal
export DEAD_CODE_STRIPPING=YES
export DEBUGGING_SYMBOLS=YES
export DEBUG_INFORMATION_FORMAT=dwarf
export DEFAULT_COMPILER=com.apple.compilers.llvm.clang.1_0
export DEFAULT_KEXT_INSTALL_PATH=/System/Library/Extensions
export DEFINES_MODULE=NO
export DEPLOYMENT_LOCATION=NO
export DEPLOYMENT_POSTPROCESSING=NO
export DEPLOYMENT_TARGET_CLANG_ENV_NAME=IPHONEOS_DEPLOYMENT_TARGET
export DEPLOYMENT_TARGET_CLANG_FLAG_NAME=miphoneos-version-min
export DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX=-miphoneos-version-min=
export DEPLOYMENT_TARGET_LD_ENV_NAME=IPHONEOS_DEPLOYMENT_TARGET
export DEPLOYMENT_TARGET_LD_FLAG_NAME=ios_version_min
export DEPLOYMENT_TARGET_SETTING_NAME=IPHONEOS_DEPLOYMENT_TARGET
export DEPLOYMENT_TARGET_SUGGESTED_VALUES="8.0 8.1 8.2 8.3 8.4 9.0 9.1 9.2 9.3 10.0 10.1 10.2 10.3 11.0 11.1 11.2 11.3 11.4 12.0 12.1 12.2 12.3 12.4"
export DERIVED_FILES_DIR=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Intermediates.noindex/Mediapipe.build/Debug-iphoneos/FaceDetectionGpuApp.build/DerivedSources
export DERIVED_FILE_DIR=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Intermediates.noindex/Mediapipe.build/Debug-iphoneos/FaceDetectionGpuApp.build/DerivedSources
export DERIVED_SOURCES_DIR=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Intermediates.noindex/Mediapipe.build/Debug-iphoneos/FaceDetectionGpuApp.build/DerivedSources
export DEVELOPER_APPLICATIONS_DIR=/Applications/Xcode.app/Contents/Developer/Applications
export DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin
export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
export DEVELOPER_FRAMEWORKS_DIR=/Applications/Xcode.app/Contents/Developer/Library/Frameworks
export DEVELOPER_FRAMEWORKS_DIR_QUOTED=/Applications/Xcode.app/Contents/Developer/Library/Frameworks
export DEVELOPER_LIBRARY_DIR=/Applications/Xcode.app/Contents/Developer/Library
export DEVELOPER_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
export DEVELOPER_TOOLS_DIR=/Applications/Xcode.app/Contents/Developer/Tools
export DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr
export DEVELOPMENT_LANGUAGE=English
export DOCUMENTATION_FOLDER_PATH=FaceDetectionGpuApp.app/English.lproj/Documentation
export DONT_RUN_SWIFT_STDLIB_TOOL=YES
export DO_HEADER_SCANNING_IN_JAM=NO
export DSTROOT=/tmp/Mediapipe.dst
export DT_TOOLCHAIN_DIR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
export DWARF_DSYM_FILE_NAME=FaceDetectionGpuApp.app.dSYM
export DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT=NO
export DWARF_DSYM_FOLDER_PATH=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Products/Debug-iphoneos
export EFFECTIVE_PLATFORM_NAME=-iphoneos
export EMBEDDED_CONTENT_CONTAINS_SWIFT=NO
export EMBEDDED_PROFILE_NAME=embedded.mobileprovision
export EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE=NO
export ENABLE_BITCODE=YES
export ENABLE_DEFAULT_HEADER_SEARCH_PATHS=YES
export ENABLE_HEADER_DEPENDENCIES=YES
export ENABLE_ON_DEMAND_RESOURCES=YES
export ENABLE_TESTABILITY=YES
export ENTITLEMENTS_ALLOWED=YES
export ENTITLEMENTS_DESTINATION=Signature
export ENTITLEMENTS_REQUIRED=YES
export EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS=".DS_Store .svn .git .hg CVS"
export EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES="*.nib *.lproj *.framework *.gch .xcode .xcassets () .DS_Store CVS .svn .git .hg *.pbproj *.pbxproj"
export EXECUTABLES_FOLDER_PATH=FaceDetectionGpuApp.app/Executables
export EXECUTABLE_FOLDER_PATH=FaceDetectionGpuApp.app
export EXECUTABLE_NAME=FaceDetectionGpuApp
export EXECUTABLE_PATH=FaceDetectionGpuApp.app/FaceDetectionGpuApp
export EXPANDED_CODE_SIGN_IDENTITY=
export EXPANDED_CODE_SIGN_IDENTITY_NAME=
export EXPANDED_PROVISIONING_PROFILE=
export FILE_LIST=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Intermediates.noindex/Mediapipe.build/Debug-iphoneos/FaceDetectionGpuApp.build/Objects/LinkFileList
export FIXED_FILES_DIR=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Intermediates.noindex/Mediapipe.build/Debug-iphoneos/FaceDetectionGpuApp.build/FixedFiles
export FRAMEWORKS_FOLDER_PATH=FaceDetectionGpuApp.app/Frameworks
export FRAMEWORK_FLAG_PREFIX=-framework
export FRAMEWORK_SEARCH_PATHS="/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Products/Debug-iphoneos /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Frameworks"
export FRAMEWORK_VERSION=A
export FULL_PRODUCT_NAME=FaceDetectionGpuApp.app
export GCC3_VERSION=3.3
export GCC_INLINES_ARE_PRIVATE_EXTERN=YES
export GCC_PFE_FILE_C_DIALECTS="c objective-c c++ objective-c++"
export GCC_PREPROCESSOR_DEFINITIONS=DEBUG=1
export GCC_SYMBOLS_PRIVATE_EXTERN=NO
export GCC_THUMB_SUPPORT=YES
export GCC_TREAT_WARNINGS_AS_ERRORS=NO
export GCC_VERSION=com.apple.compilers.llvm.clang.1_0
export GCC_VERSION_IDENTIFIER=com_apple_compilers_llvm_clang_1_0
export GCC_WARN_64_TO_32_BIT_CONVERSION=YES
export GCC_WARN_ABOUT_RETURN_TYPE=YES
export GCC_WARN_UNDECLARED_SELECTOR=YES
export GCC_WARN_UNINITIALIZED_AUTOS=YES
export GCC_WARN_UNUSED_FUNCTION=YES
export GCC_WARN_UNUSED_VARIABLE=YES
export GENERATE_MASTER_OBJECT_FILE=NO
export GENERATE_PKGINFO_FILE=YES
export GENERATE_PROFILING_CODE=NO
export GENERATE_TEXT_BASED_STUBS=NO
export GID=20
export GROUP=staff
export HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT=YES
export HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES=YES
export HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS=YES
export HEADERMAP_INCLUDES_PROJECT_HEADERS=YES
export HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES=YES
export HEADERMAP_USES_VFS=NO
export HEADER_SEARCH_PATHS="/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Products/Debug-iphoneos/include /Users/faucherd/Documents/Personal/Programming/iOS/Mediapipe.xcodeproj/.tulsi/tulsi-workspace /Users/faucherd/Documents/Personal/Machine_Learning/Google/mediapipe/bazel-bin /Users/faucherd/Documents/Personal/Machine_Learning/Google/mediapipe/bazel-genfiles /Users/faucherd/Documents/Personal/Programming/iOS/Mediapipe.xcodeproj/.tulsi/tulsi-workspace/_tulsi-includes/x/x"
export HIDE_BITCODE_SYMBOLS=YES
export HOME=/Users/faucherd
export ICONV=/usr/bin/iconv
export INFOPLIST_EXPAND_BUILD_SETTINGS=YES
export INFOPLIST_FILE=/Users/faucherd/Documents/Personal/Programming/iOS/Mediapipe.xcodeproj/.tulsi/Resources/StubInfoPlist.plist
export INFOPLIST_OUTPUT_FORMAT=binary
export INFOPLIST_PATH=FaceDetectionGpuApp.app/Info.plist
export INFOPLIST_PREPROCESS=NO
export INFOSTRINGS_PATH=FaceDetectionGpuApp.app/English.lproj/InfoPlist.strings
export INLINE_PRIVATE_FRAMEWORKS=NO
export INSTALLHDRS_COPY_PHASE=NO
export INSTALLHDRS_SCRIPT_PHASE=NO
export INSTALL_DIR=/tmp/Mediapipe.dst/Applications
export INSTALL_GROUP=staff
export INSTALL_MODE_FLAG=u+w,go-w,a+rX
export INSTALL_OWNER=faucherd
export INSTALL_PATH=/Applications
export INSTALL_ROOT=/tmp/Mediapipe.dst
export IPHONEOS_DEPLOYMENT_TARGET=10.0
export JAVAC_DEFAULT_FLAGS="-J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8"
export JAVA_APP_STUB=/System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
export JAVA_ARCHIVE_CLASSES=YES
export JAVA_ARCHIVE_TYPE=JAR
export JAVA_COMPILER=/usr/bin/javac
export JAVA_FOLDER_PATH=FaceDetectionGpuApp.app/Java
export JAVA_FRAMEWORK_RESOURCES_DIRS=Resources
export JAVA_JAR_FLAGS=cv
export JAVA_SOURCE_SUBDIR=.
export JAVA_USE_DEPENDENCIES=YES
export JAVA_ZIP_FLAGS=-urg
export JIKES_DEFAULT_FLAGS="+E +OLDCSO"
export KASAN_DEFAULT_CFLAGS="-DKASAN=1 -fsanitize=address -mllvm -asan-globals-live-support -mllvm -asan-force-dynamic-shadow"
export KEEP_PRIVATE_EXTERNS=NO
export LD_DEPENDENCY_INFO_FILE=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Intermediates.noindex/Mediapipe.build/Debug-iphoneos/FaceDetectionGpuApp.build/Objects-normal/arm64/FaceDetectionGpuApp_dependency_info.dat
export LD_GENERATE_MAP_FILE=NO
export LD_MAP_FILE_PATH=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Intermediates.noindex/Mediapipe.build/Debug-iphoneos/FaceDetectionGpuApp.build/FaceDetectionGpuApp-LinkMap-normal-arm64.txt
export LD_NO_PIE=NO
export LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER=YES
export LEGACY_DEVELOPER_DIR=/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
export LEX=lex
export LIBRARY_FLAG_NOSPACE=YES
export LIBRARY_FLAG_PREFIX=-l
export LIBRARY_KEXT_INSTALL_PATH=/Library/Extensions
export LIBRARY_SEARCH_PATHS="/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Products/Debug-iphoneos "
export LINKER_DISPLAYS_MANGLED_NAMES=NO
export LINK_FILE_LIST_normal_arm64=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Intermediates.noindex/Mediapipe.build/Debug-iphoneos/FaceDetectionGpuApp.build/Objects-normal/arm64/FaceDetectionGpuApp.LinkFileList
export LINK_FILE_LIST_normal_armv7=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Intermediates.noindex/Mediapipe.build/Debug-iphoneos/FaceDetectionGpuApp.build/Objects-normal/armv7/FaceDetectionGpuApp.LinkFileList
export LINK_WITH_STANDARD_LIBRARIES=YES
export LOCALIZABLE_CONTENT_DIR=
export LOCALIZED_RESOURCES_FOLDER_PATH=FaceDetectionGpuApp.app/English.lproj
export LOCALIZED_STRING_MACRO_NAMES="NSLocalizedString CFLocalizedString"
export LOCAL_ADMIN_APPS_DIR=/Applications/Utilities
export LOCAL_APPS_DIR=/Applications
export LOCAL_DEVELOPER_DIR=/Library/Developer
export LOCAL_LIBRARY_DIR=/Library
export LOCROOT=
export LOCSYMROOT=
export MACH_O_TYPE=mh_execute
export MAC_OS_X_PRODUCT_BUILD_VERSION=18F132
export MAC_OS_X_VERSION_ACTUAL=101405
export MAC_OS_X_VERSION_MAJOR=101400
export MAC_OS_X_VERSION_MINOR=1405
export METAL_LIBRARY_FILE_BASE=default
export METAL_LIBRARY_OUTPUT_DIR=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Products/Debug-iphoneos/FaceDetectionGpuApp.app
export MODULE_CACHE_DIR=/Users/faucherd/Library/Developer/Xcode/DerivedData/ModuleCache.noindex
export NATIVE_ARCH=armv7
export NATIVE_ARCH_32_BIT=i386
export NATIVE_ARCH_64_BIT=x86_64
export NATIVE_ARCH_ACTUAL=x86_64
export NO_COMMON=YES
export OBJECT_FILE_DIR=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Intermediates.noindex/Mediapipe.build/Debug-iphoneos/FaceDetectionGpuApp.build/Objects
export OBJECT_FILE_DIR_normal=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Intermediates.noindex/Mediapipe.build/Debug-iphoneos/FaceDetectionGpuApp.build/Objects-normal
export OBJROOT=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Intermediates.noindex
export ONLY_ACTIVE_ARCH=NO
export OS=MACOS
export OSAC=/usr/bin/osacompile
export PACKAGE_TYPE=com.apple.package-type.wrapper.application
export PASCAL_STRINGS=YES
export PATH="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Tools:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
export PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES="/usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms"
export PBDEVELOPMENTPLIST_PATH=FaceDetectionGpuApp.app/pbdevelopment.plist
export PKGINFO_FILE_PATH=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Intermediates.noindex/Mediapipe.build/Debug-iphoneos/FaceDetectionGpuApp.build/PkgInfo
export PKGINFO_PATH=FaceDetectionGpuApp.app/PkgInfo
export PLATFORM_DEVELOPER_APPLICATIONS_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Applications
export PLATFORM_DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin
export PLATFORM_DEVELOPER_LIBRARY_DIR=/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library
export PLATFORM_DEVELOPER_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs
export PLATFORM_DEVELOPER_TOOLS_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Tools
export PLATFORM_DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr
export PLATFORM_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
export PLATFORM_DISPLAY_NAME=iOS
export PLATFORM_NAME=iphoneos
export PLATFORM_PREFERRED_ARCH=arm64
export PLATFORM_PRODUCT_BUILD_VERSION=16G73
export PLIST_FILE_OUTPUT_FORMAT=binary
export PLUGINS_FOLDER_PATH=FaceDetectionGpuApp.app/PlugIns
export PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR=YES
export PRECOMP_DESTINATION_DIR=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Intermediates.noindex/Mediapipe.build/Debug-iphoneos/FaceDetectionGpuApp.build/PrefixHeaders
export PRESERVE_DEAD_CODE_INITS_AND_TERMS=NO
export PRIVATE_HEADERS_FOLDER_PATH=FaceDetectionGpuApp.app/PrivateHeaders
export PRODUCT_BUNDLE_IDENTIFIER=com.google.mediapipe.FaceDetectionGpu
export PRODUCT_MODULE_NAME=FaceDetectionGpuApp
export PRODUCT_NAME=FaceDetectionGpuApp
export PRODUCT_SETTINGS_PATH=/Users/faucherd/Documents/Personal/Programming/iOS/Mediapipe.xcodeproj/.tulsi/Resources/StubInfoPlist.plist
export PRODUCT_TYPE=com.apple.product-type.application
export PROFILING_CODE=NO
export PROJECT=Mediapipe
export PROJECT_DERIVED_FILE_DIR=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Intermediates.noindex/Mediapipe.build/DerivedSources
export PROJECT_DIR=/Users/faucherd/Documents/Personal/Programming/iOS
export PROJECT_FILE_PATH=/Users/faucherd/Documents/Personal/Programming/iOS/Mediapipe.xcodeproj
export PROJECT_NAME=Mediapipe
export PROJECT_TEMP_DIR=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Intermediates.noindex/Mediapipe.build
export PROJECT_TEMP_ROOT=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Intermediates.noindex
export PROVISIONING_PROFILE_REQUIRED=YES
export PUBLIC_HEADERS_FOLDER_PATH=FaceDetectionGpuApp.app/Headers
export PYTHONIOENCODING=utf8
export RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS=YES
export REMOVE_CVS_FROM_RESOURCES=YES
export REMOVE_GIT_FROM_RESOURCES=YES
export REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES=YES
export REMOVE_HG_FROM_RESOURCES=YES
export REMOVE_SVN_FROM_RESOURCES=YES
export RESOURCE_RULES_REQUIRED=YES
export REZ_COLLECTOR_DIR=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Intermediates.noindex/Mediapipe.build/Debug-iphoneos/FaceDetectionGpuApp.build/ResourceManagerResources
export REZ_OBJECTS_DIR=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Intermediates.noindex/Mediapipe.build/Debug-iphoneos/FaceDetectionGpuApp.build/ResourceManagerResources/Objects
export REZ_SEARCH_PATHS="/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Products/Debug-iphoneos "
export SCAN_ALL_SOURCE_FILES_FOR_INCLUDES=NO
export SCRIPTS_FOLDER_PATH=FaceDetectionGpuApp.app/Scripts
export SCRIPT_INPUT_FILE_0=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Products/Debug-iphoneos/FaceDetectionGpuApp.app/Info.plist
export SCRIPT_INPUT_FILE_COUNT=1
export SCRIPT_INPUT_FILE_LIST_COUNT=0
export SCRIPT_OUTPUT_FILE_COUNT=0
export SCRIPT_OUTPUT_FILE_LIST_COUNT=0
export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.4.sdk
export SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.4.sdk
export SDK_DIR_iphoneos12_4=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.4.sdk
export SDK_NAME=iphoneos12.4
export SDK_NAMES=iphoneos12.4
export SDK_PRODUCT_BUILD_VERSION=16G73
export SDK_VERSION=12.4
export SDK_VERSION_ACTUAL=120400
export SDK_VERSION_MAJOR=120000
export SDK_VERSION_MINOR=400
export SED=/usr/bin/sed
export SEPARATE_STRIP=NO
export SEPARATE_SYMBOL_EDIT=NO
export SET_DIR_MODE_OWNER_GROUP=YES
export SET_FILE_MODE_OWNER_GROUP=NO
export SHALLOW_BUNDLE=YES
export SHARED_DERIVED_FILE_DIR=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Products/Debug-iphoneos/DerivedSources
export SHARED_FRAMEWORKS_FOLDER_PATH=FaceDetectionGpuApp.app/SharedFrameworks
export SHARED_PRECOMPS_DIR=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Intermediates.noindex/PrecompiledHeaders
export SHARED_SUPPORT_FOLDER_PATH=FaceDetectionGpuApp.app/SharedSupport
export SKIP_INSTALL=NO
export SOURCE_ROOT=/Users/faucherd/Documents/Personal/Programming/iOS
export SRCROOT=/Users/faucherd/Documents/Personal/Programming/iOS
export STRINGS_FILE_OUTPUT_ENCODING=binary
export STRIP_BITCODE_FROM_COPIED_FILES=YES
export STRIP_INSTALLED_PRODUCT=YES
export STRIP_STYLE=all
export STRIP_SWIFT_SYMBOLS=YES
export SUPPORTED_DEVICE_FAMILIES=1,2
export SUPPORTED_PLATFORMS="iphonesimulator iphoneos"
export SUPPORTS_TEXT_BASED_API=NO
export SWIFT_PLATFORM_TARGET_PREFIX=ios
export SYMROOT=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Products
export SYSTEM_ADMIN_APPS_DIR=/Applications/Utilities
export SYSTEM_APPS_DIR=/Applications
export SYSTEM_CORE_SERVICES_DIR=/System/Library/CoreServices
export SYSTEM_DEMOS_DIR=/Applications/Extras
export SYSTEM_DEVELOPER_APPS_DIR=/Applications/Xcode.app/Contents/Developer/Applications
export SYSTEM_DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin
export SYSTEM_DEVELOPER_DEMOS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples"
export SYSTEM_DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
export SYSTEM_DEVELOPER_DOC_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library"
export SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools"
export SYSTEM_DEVELOPER_JAVA_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Java Tools"
export SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Performance Tools"
export SYSTEM_DEVELOPER_RELEASENOTES_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes"
export SYSTEM_DEVELOPER_TOOLS=/Applications/Xcode.app/Contents/Developer/Tools
export SYSTEM_DEVELOPER_TOOLS_DOC_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools"
export SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools"
export SYSTEM_DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr
export SYSTEM_DEVELOPER_UTILITIES_DIR=/Applications/Xcode.app/Contents/Developer/Applications/Utilities
export SYSTEM_DOCUMENTATION_DIR=/Library/Documentation
export SYSTEM_KEXT_INSTALL_PATH=/System/Library/Extensions
export SYSTEM_LIBRARY_DIR=/System/Library
export TAPI_VERIFY_MODE=ErrorsOnly
export TARGETED_DEVICE_FAMILY=1
export TARGETNAME=FaceDetectionGpuApp
export TARGET_BUILD_DIR=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Products/Debug-iphoneos
export TARGET_NAME=FaceDetectionGpuApp
export TARGET_TEMP_DIR=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Intermediates.noindex/Mediapipe.build/Debug-iphoneos/FaceDetectionGpuApp.build
export TEMP_DIR=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Intermediates.noindex/Mediapipe.build/Debug-iphoneos/FaceDetectionGpuApp.build
export TEMP_FILES_DIR=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Intermediates.noindex/Mediapipe.build/Debug-iphoneos/FaceDetectionGpuApp.build
export TEMP_FILE_DIR=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Intermediates.noindex/Mediapipe.build/Debug-iphoneos/FaceDetectionGpuApp.build
export TEMP_ROOT=/Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Intermediates.noindex
export TOOLCHAINS=com.apple.dt.toolchain.XcodeDefault
export TOOLCHAIN_DIR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
export TREAT_MISSING_BASELINES_AS_TEST_FAILURES=NO
export TULSI_BUILD_PATH=mediapipe/examples/ios/facedetectiongpu
export TULSI_BWRS=/Users/faucherd/Documents/Personal/Programming/iOS/Mediapipe.xcodeproj/.tulsi/tulsi-workspace
export TULSI_PROJECT=Mediapipe
export TULSI_VERSION=0.20190814.88
export TULSI_WR=/Users/faucherd/Documents/Personal/Machine_Learning/Google/mediapipe
export TULSI_XCODE_VERSION=10.3.0.10G8
export UID=502
export UNLOCALIZED_RESOURCES_FOLDER_PATH=FaceDetectionGpuApp.app
export UNSTRIPPED_PRODUCT=NO
export USER=faucherd
export USER_APPS_DIR=/Users/faucherd/Applications
export USER_LIBRARY_DIR=/Users/faucherd/Library
export USE_DYNAMIC_NO_PIC=YES
export USE_HEADERMAP=YES
export USE_HEADER_SYMLINKS=NO
export VALIDATE_PRODUCT=NO
export VALID_ARCHS="arm64 arm64e armv7 armv7s"
export VERBOSE_PBXCP=NO
export VERSIONPLIST_PATH=FaceDetectionGpuApp.app/version.plist
export VERSION_INFO_BUILDER=faucherd
export VERSION_INFO_FILE=FaceDetectionGpuApp_vers.c
export VERSION_INFO_STRING=""@(#)PROGRAM:FaceDetectionGpuApp PROJECT:Mediapipe-""
export WRAPPER_EXTENSION=app
export WRAPPER_NAME=FaceDetectionGpuApp.app
export WRAPPER_SUFFIX=.app
export WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES=NO
export XCODE_APP_SUPPORT_DIR=/Applications/Xcode.app/Contents/Developer/Library/Xcode
export XCODE_PRODUCT_BUILD_VERSION=10G8
export XCODE_VERSION_ACTUAL=1030
export XCODE_VERSION_MAJOR=1000
export XCODE_VERSION_MINOR=1030
export XPCSERVICES_FOLDER_PATH=FaceDetectionGpuApp.app/XPCServices
export YACC=yacc
export arch=arm64
export variant=normal
/bin/sh -c /Users/faucherd/Library/Developer/Xcode/DerivedData/Mediapipe-ahyxvcbwlyqjroagcdbbditrznul/Build/Intermediates.noindex/Mediapipe.build/Debug-iphoneos/FaceDetectionGpuApp.build/Script-43289A9DD3C7539100000000.sh

Queuing Tulsi build...
<> Parsing options completed in 0.107 ms
Running "/Users/faucherd/bin//bazel build --verbose_failures --bes_outerr_buffer_size=0 --apple_platform_type=ios --cpu=ios_arm64 --watchos_cpus=armv7k --announce_rc '--override_repository=tulsi=/Users/faucherd/Library/Application Support/Tulsi/0.20190814.88/Bazel' --compilation_mode=dbg --define=apple.add_debugger_entitlement=1 --define=apple.propagate_embedded_extra_outputs=1 --define=apple.experimental.tree_artifact_outputs=1 --features=debug_prefix_map_pwd_is_dot --tool_tag=tulsi:bazel_build --build_event_json_file=/Users/faucherd/Documents/Personal/Programming/iOS/Mediapipe.xcodeproj/.tulsi/35531_build_events.json --noexperimental_build_event_json_file_path_conversion --aspects @tulsi//:tulsi/tulsi_aspects.bzl%tulsi_outputs_aspect --output_groups=tulsi_outputs,default //mediapipe/examples/ios/facedetectiongpu:FaceDetectionGpuApp", patching output for workspace root at "/Users/faucherd/Documents/Personal/Machine_Learning/Google/mediapipe" with project path at "/Users/faucherd/Documents/Personal/Programming/iOS".
INFO: Options provided by the client:
Inherited 'common' options: --isatty=0 --terminal_columns=80
INFO: Reading rc options for 'build' from /Users/faucherd/Documents/Personal/Machine_Learning/Google/mediapipe/.bazelrc:
'build' options: --jobs 128 --define=absl=1 --cxxopt=-std=c++11 --copt=-Wno-sign-compare --copt=-Wno-unused-function --copt=-Wno-uninitialized --copt=-Wno-unused-result --copt=-Wno-comment --copt=-Wno-return-type --copt=-Wno-unused-local-typedefs --copt=-Wno-ignored-attributes --incompatible_disable_deprecated_attr_params=false --apple_platform_type=macos
Loading:
Loading: 0 packages loaded
Analyzing: target //mediapipe/examples/ios/facedetectiongpu:FaceDetectionGpuApp (1 packages loaded, 0 targets configured)
Analyzing: target //mediapipe/examples/ios/facedetectiongpu:FaceDetectionGpuApp (8 packages loaded, 2823 targets configured)
INFO: Analyzed target //mediapipe/examples/ios/facedetectiongpu:FaceDetectionGpuApp (8 packages loaded, 2830 targets configured).
Building: checking cached actions
INFO: Found 1 target...
[0 / 3] [Prepa] BazelWorkspaceStatusAction stable-status.txt
ERROR: missing input file '//mediapipe:provisioning_profile.mobileprovision'
ERROR: /Users/faucherd/Documents/Personal/Machine_Learning/Google/mediapipe/mediapipe/examples/ios/facedetectiongpu/BUILD:24:1: //mediapipe/examples/ios/facedetectiongpu:FaceDetectionGpuApp: missing input file '//mediapipe:provisioning_profile.mobileprovision'
Aspect @tulsi//:tulsi/tulsi_aspects.bzl%tulsi_outputs_aspect of //mediapipe/examples/ios/facedetectiongpu:FaceDetectionGpuApp failed to build
ERROR: /Users/faucherd/Documents/Personal/Machine_Learning/Google/mediapipe/mediapipe/examples/ios/facedetectiongpu/BUILD:24:1 1 input file(s) do not exist
INFO: Elapsed time: 5.590s, Critical Path: 0.00s
INFO: 0 processes.
FAILED: Build did NOT complete successfully
<
> Running Bazel completed in 5762.217 ms
/Users/faucherd/Documents/Personal/Programming/iOS/Mediapipe.xcodeproj/.tulsi/Scripts/bazel_build.py:549: error: Bazel build failed with exit code 1. Please check the build log in Report Navigator (⌘9) for more information.
<*> Everything completed in 5780.188 ms

Bazel build failed in Android Studio

Hi, I followed the installation instruction of "Setting up Android Studio with MediaPipe". When I imported the bazel project, bazel build failed in Android Studio.

Android Studio: 3.5
SDK Platform 28
NDK 20.0.5594570
SDK Tools 26.1.1
SDK Platform-Tools 29.0.2
SDK Build-Tools 28.0.3

The following are the errors reported in the Bazel Console in Android Studio:
ERROR: /private/var/tmp/_bazel_junyaoguo/fd64e915985bd32c3dd281a6a4d37a1c/external/androidsdk/BUILD.bazel:8:1: in @intellij_aspect//:intellij_info_bundled.bzl%intellij_info_aspect aspect on android_sdk rule @androidsdk//:sdk-28:
Traceback (most recent call last):
File"/private/var/tmp/_bazel_junyaoguo/fd64e915985bd32c3dd281a6a4d37a1c/external/androidsdk/BUILD.bazel", line 8
@intellij_aspect//:intellij_info_bundled.bzl%intellij_info_aspect(...)

File"/private/var/tmp/_bazel_junyaoguo/fd64e915985bd32c3dd281a6a4d37a1c/external/intellij_aspect/intellij_info_bundled.bzl", line 54, in _aspect_impl
intellij_info_aspect_impl(target, ctx, semantics)

File"/private/var/tmp/_bazel_junyaoguo/fd64e915985bd32c3dd281a6a4d37a1c/external/intellij_aspect/intellij_info_impl.bzl", line 896, in intellij_info_aspect_impl
collect_android_sdk_info(ctx, ide_info, ide_info_file, output_g...)

File"/private/var/tmp/_bazel_junyaoguo/fd64e915985bd32c3dd281a6a4d37a1c/external/intellij_aspect/intellij_info_impl.bzl", line 743, in collect_android_sdk_info
list(ctx.rule.attr.android_jar.files)
type 'depset' is not iterable. Use the to_list() method to get a list. Use --incompatible_depset_is_not_iterable=false to temporarily disable this check.

ERROR: /Users/junyaoguo/Documents/SVL_Projects/mediapipe/mediapipe/java/com/google/mediapipe/components/BUILD:60:1: no such package 'third_party/java/jsr305_annotations': BUILD file not found in any of the following directories.

  • /Users/junyaoguo/Documents/SVL_Projects/mediapipe/third_party/java/jsr305_annotations and referenced by '//mediapipe/java/com/google/mediapipe/components:android_microphone_helper'
    WARNING: errors encountered while analyzing target '//mediapipe/java/com/google/mediapipe/components:android_microphone_helper': it will not be built

Screen Shot 2019-08-21 at 3 10 21 PM

Also, I can't run the example on Android phone as instructed in the last step (step 8) in the installation manual. Could you please take a look?Thanks.

ld: symbol(s) not found for architecture x86_64 with sh build_and_run.sh

Hey,

I'm trying to set up the 'Creating an Xcode Project' section in MediaPipe iOS Setup.

I have bazel 0.28.1, and I symlinked my mobile provision to the directed directory.

Upon running sh build_and_run.sh, I got the error FAILED: Build did NOT complete successfully, with further details

ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Target //:tulsi failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 54.326s, Critical Path: 32.17s
INFO: 38 processes: 25 darwin-sandbox, 13 local.
FAILED: Build did NOT complete successfully

I tried it again with --verbose_failures and got this:

Error was too big for Github, I hosted it on my own server

Could not use custom model in object detection

Recently I would like to replace model ssdlite_object_detection.tflite by my custom model, which is trained with ssd_mobilenetv2_coco(float model). To get tflite file, I use the script export_ssdlite_graph.py and set the flag add_postprocessing_op=False as mentioned in the tutorial, then I used TFliteConverter to quantize my model (weight only) to obtain my graph tflite.
For the part of mobile, I modified the model_path, label_map_path,num class,num_boxes(for my case is 1917 instead of 2034) in the object_detection_android_gpu.pbtxt. Besides, I replace the models and file txt in objectdetctiongpu/BUILD file. Then I build and install apk, no errors during the process. But when I run inference with my mobile, no bounding boxes were detected.. Did I miss something ? Thanks for your help!

Testing Palm detection

Hi,

I want test the models on some of my videos on laptop. Is it possible?

I tried to directly load some of the tf lite models and got error below

ValueError: Didn't find custom op for name 'Convolution2DTransposeBias' with version 1

I am assuming my setup does not have some libraries that they are using and I need to incorporate it.

Any chance anyone has an idea how to do it. Fairly new building custom libraries with c++.

[Exynos/Mali] ExternalTextureConverter issue with hand tracking sample App

At the start of hand tracking sample App, android runtime error(ExternalTextureConverter) occurs.

I tested the app using the galaxy s8.

is there any hardware requirements for running the hand tracking ??

2019-08-22 19:43:01.355 3675-3708/? E/AndroidRuntime: FATAL EXCEPTION: ExternalTextureConverter
Process: com.google.mediapipe.apps.handtrackinggpu, PID: 3675
java.lang.RuntimeException: glViewport: GL error: 0x505
at com.google.mediapipe.glutil.ShaderUtil.checkGlError(ShaderUtil.java:175)
at com.google.mediapipe.glutil.GlThread.bindFramebuffer(GlThread.java:116)
at com.google.mediapipe.components.ExternalTextureConverter$RenderThread.updateOutputFrame(ExternalTextureConverter.java:331)
at com.google.mediapipe.components.ExternalTextureConverter$RenderThread.renderNext(ExternalTextureConverter.java:246)
at com.google.mediapipe.components.ExternalTextureConverter$RenderThread.lambda$onFrameAvailable$0$ExternalTextureConverter$RenderThread(ExternalTextureConverter.java:210)
at com.google.mediapipe.components.ExternalTextureConverter$RenderThread$$Lambda$0.run(Unknown Source:4)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:214)
at com.google.mediapipe.glutil.GlThread.run(GlThread.java:134)

Hair Segmentation on Android building Error

Quick description of my system:
Ubuntu 18.04
bazel Build label: 0.26.1
tensorflow 1.14.0 (built from source as indicated)
Android Studio 3.4.2
Build #AI-183.6156.11.34.5692245, built on June 27, 2019
JRE: 1.8.0_152-release-1343-b16-5323222 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.15.0-54-generic

I tried to run:
bazel build -c opt --config=android_arm64 mediapipe/examples/android/src/java/com/google/mediapipe/apps/hairsegmentationgpu

and get the following error:
ERROR: /home/munir/Documents/workspace/mediapipe-master/mediapipe/examples/android/src/java/com/google/mediapipe/apps/hairsegmentationgpu/BUILD:45:1: no such package '@androidsdk//com.android.support': BUILD file not found on package path and referenced by '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/hairsegmentationgpu:mediapipe_lib'
ERROR: /home/munir/Documents/workspace/mediapipe-master/mediapipe/examples/android/src/java/com/google/mediapipe/apps/hairsegmentationgpu/BUILD:45:1: no such package '@androidsdk//com.android.support': BUILD file not found on package path and referenced by '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/hairsegmentationgpu:mediapipe_lib'
ERROR: Analysis of target '//mediapipe/examples/android/src/java/com/google/mediapipe/apps/hairsegmentationgpu:hairsegmentationgpu' failed; build aborted: no such package '@androidsdk//com.android.support': BUILD file not found on package path
INFO: Elapsed time: 0.143s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)
currently loading: @androidndk//

Error occurd when create Xcode project using Tulsi

Hi, Thanks for your great job. But when I installed the Tulsi and then tried to generate the Xcode project, I got the following error :

image

Any ideas about it ? Or anything I can do ? Looking forward your reply!

dataset for face segmentation

Is it possible to make the face segmentation dataset public? I would like to contribute to the project,but I do not have access to quality annotations for this task

Tensorflow not compiling with Bazel build

Hello,

I'm trying to compile to hand tracking app, but having lots of issues.

I believe when trying to compile the Tensorflow kernel, an error is being raised.

DEBUG: Rule 'build_bazel_rules_apple' indicated that a canonical reproducible form can be obtained by modifying arguments commit = "6c9fcae7a3597aabd43f28be89466afe0eab18de", shallow_since = "1565379803 -0700" and dropping ["tag"]
DEBUG: Call stack for the definition of repository 'build_bazel_rules_apple' which is a git_repository (rule definition at /private/var/tmp/_bazel_willbishop/90c7606163fe10184a478bf135286c77/external/bazel_tools/tools/build_defs/repo/git.bzl:181:18):

  • /Users/willbishop/Developer/mediapipe/WORKSPACE:251:1
    INFO: Call stack for the definition of repository 'local_config_git' which is a git_configure (rule definition at /private/var/tmp/_bazel_willbishop/90c7606163fe10184a478bf135286c77/external/org_tensorflow/third_party/git/git_configure.bzl:66:17):
  • /private/var/tmp/_bazel_willbishop/90c7606163fe10184a478bf135286c77/external/org_tensorflow/tensorflow/workspace.bzl:73:5
  • /private/var/tmp/_bazel_willbishop/90c7606163fe10184a478bf135286c77/external/org_tensorflow/tensorflow/workspace.bzl:60:5
  • /Users/willbishop/Developer/mediapipe/WORKSPACE:121:1
    ERROR: An error occurred during the fetch of repository 'local_config_git':
    Not a regular file: /private/var/tmp/_bazel_willbishop/90c7606163fe10184a478bf135286c77/external/org_tensorflow/.git/HEAD
    INFO: Call stack for the definition of repository 'eigen_archive' which is a tf_http_archive (rule definition at /private/var/tmp/_bazel_willbishop/90c7606163fe10184a478bf135286c77/external/org_tensorflow/third_party/repo.bzl:124:19):
  • /private/var/tmp/_bazel_willbishop/90c7606163fe10184a478bf135286c77/external/org_tensorflow/tensorflow/workspace.bzl:170:5
  • /private/var/tmp/_bazel_willbishop/90c7606163fe10184a478bf135286c77/external/org_tensorflow/tensorflow/workspace.bzl:60:5
  • /Users/willbishop/Developer/mediapipe/WORKSPACE:121:1
    ERROR: /private/var/tmp/_bazel_willbishop/90c7606163fe10184a478bf135286c77/external/org_tensorflow/tensorflow/core/BUILD:2785:1: @org_tensorflow//tensorflow/core:version_info_gen depends on @local_config_git//:gen/spec.json in repository @local_config_git which failed to fetch. no such package '@local_config_git//': Not a regular file: /private/var/tmp/_bazel_willbishop/90c7606163fe10184a478bf135286c77/external/org_tensorflow/.git/HEAD
    ERROR: /private/var/tmp/_bazel_willbishop/90c7606163fe10184a478bf135286c77/external/org_tensorflow/tensorflow/core/BUILD:2785:1: @org_tensorflow//tensorflow/core:version_info_gen depends on @local_config_git//:gen/head in repository @local_config_git which failed to fetch. no such package '@local_config_git//': Not a regular file: /private/var/tmp/_bazel_willbishop/90c7606163fe10184a478bf135286c77/external/org_tensorflow/.git/HEAD
    ERROR: /private/var/tmp/_bazel_willbishop/90c7606163fe10184a478bf135286c77/external/org_tensorflow/tensorflow/core/BUILD:2785:1: @org_tensorflow//tensorflow/core:version_info_gen depends on @local_config_git//:gen/branch_ref in repository @local_config_git which failed to fetch. no such package '@local_config_git//': Not a regular file: /private/var/tmp/_bazel_willbishop/90c7606163fe10184a478bf135286c77/external/org_tensorflow/.git/HEAD
    ERROR: Analysis of target '//mediapipe/examples/ios/handtrackinggpu:HandTrackingGpuApp' failed; build aborted: no such package '@local_config_git//': Not a regular file: /private/var/tmp/_bazel_willbishop/90c7606163fe10184a478bf135286c77/external/org_tensorflow/.git/HEAD
    INFO: Elapsed time: 0.711s
    INFO: 0 processes.
    FAILED: Build did NOT complete successfully (0 packages loaded, 11 targets configured)
    currently loading: @org_tensorflow//tensorflow/core/kernels

Any ideas?

I'm getting lots of

no such package '@local_config_git//': Not a regular file

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.