Git Product home page Git Product logo

mediapipeunityplugin's People

Contributors

codeavr avatar dender46 avatar donghwankim0101 avatar ethan42411 avatar eunji-new avatar gkiernozek avatar homuler avatar kennethharmon avatar lguilhermerodrigues avatar mids avatar robyer1 avatar sergeyame avatar speykious avatar thaina 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

mediapipeunityplugin's Issues

EntryPointNotFoundException: MpGpuResourcesGlContext

Hello @homuler !
First of all I use this to post the issue as well as to ask if you have an email you can share with me, I would like to contact you.
Going to the point, I updated by recalling make android_arm and make install, because I found out mediapipe updated hand graphs for more speed.

Now running the app gives this error:

image

Maybe the update has changed something?
Thanks
Bruno

Google.Protobuf.dll is not found can you help me?

C:\Users\kitme\OneDrive\Desktop\New folder (2)\MediaPipeUnityPlugin>make cpu
./.build/protobuf-3.13.0/csharp/buildall.sh
process_begin: CreateProcess(NULL, bash C:\Users\kitme\OneDrive\Desktop\New folder (2)\MediaPipeUnityPlugin.build\protobuf-3.13.0\csharp\buildall.sh, ...) failed.
make (e=2): The system cannot find the file specified.
Makefile:61: recipe for target '.build/protobuf-3.13.0/csharp/src/Google.Protobuf/bin/Release/net45/Google.Protobuf.dll' failed
mingw32-make.exe: *** [.build/protobuf-3.13.0/csharp/src/Google.Protobuf/bin/Release/net45/Google.Protobuf.dll] Error 2

Error during make

Hello, while building the latest repo i am getting errors after successful build:

Test Run Successful.
Total tests: 1124
Passed: 1124
Total time: 7.3823 Seconds

TODO build all the .proto files and output to the same directories

protoc --proto_path=Assets/Mediapipe/SDK/Scripts --csharp_out=Assets/Mediapipe/SDK/Scripts/Protobuf Assets/Mediapipe/SDK/Scripts/Protobuf/.proto &&
protoc --proto_path=Assets/Mediapipe/SDK/Scripts --csharp_out=Assets/Mediapipe/SDK/Scripts/Protobuf/Annotation Assets/Mediapipe/SDK/Scripts/Protobuf/Annotation/
.proto
/bin/sh: 1: protoc: not found
make: *** [Makefile:36: mediapipe_protos] Error 127

How to fix this?

Whenever I set the libmediapipe_c.so to load at start up. Unity Crashes

Make GPU works fine, and the Make Install works fine. When I go to run the Desktop GPU Scene , it gives the DLLImport Error , but when I go and set it to load at startup , it crashes. I also tried your lastest branch .. no go there either
Here is an example :
Fallback handler could not load library /home/jbest2007/Unity/2019.4.10f1/Editor/Data/Mono/lib/libAssets/MediaPipe/SDK/Plugins/libmediapipe_c.so
Fallback handler could not load library /home/jbest2007/Unity/2019.4.10f1/Editor/Data/Mono/lib/libAssets/MediaPipe/SDK/Plugins/libmediapipe_c.so
Caught fatal signal - signo:11 code:1 errno:0 addr:0x389886
Obtained 31 stack frames.
#0 0x007fab6aadf980 in funlockfile
#1 0x00000000389886 in (Unknown)
#2 0x000000418d331a in (wrapper managed-to-native) Mediapipe.UnsafeNativeMethods:mp_GpuResources_Create (intptr&)
#3 0x000000418d21c3 in System.Runtime.CompilerServices.AsyncVoidMethodBuilder:Start<TStateMachine_REF> (TStateMachine_REF&)
#4 0x000000418d1550 in SceneDirector:Start ()
#5 0x007faa3a5fe5b5 in mono_print_method_from_ip
#6 0x007faa3a76db34 in mono_perfcounter_foreach
#7 0x007faa3a76e9e1 in mono_runtime_invoke
#8 0x00562d3bb17b73 in scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool)
#9 0x00562d3bb12276 in ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool)
#10 0x00562d3bace039 in MonoBehaviour::InvokeMethodOrCoroutineChecked(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingExceptionPtr*)
#11 0x00562d3bace3fe in MonoBehaviour::InvokeMethodOrCoroutineChecked(ScriptingMethodPtr, ScriptingObjectPtr)
#12 0x00562d3bacbce6 in MonoBehaviour::DelayedStartCall(Object*, void*)
#13 0x00562d3b0982ba in DelayedCallManager::Update(int)
#14 0x00562d3b5140de in InitPlayerLoopCallbacks()::EarlyUpdateScriptRunDelayedStartupFrameRegistrator::Forward()
#15 0x00562d3b503aee in ExecutePlayerLoop(NativePlayerLoopSystem*)
#16 0x00562d3b503b5a in ExecutePlayerLoop(NativePlayerLoopSystem*)
#17 0x00562d3b503dfc in PlayerLoop()
#18 0x00562d39497d13 in PlayerLoopController::UpdateScene(bool)
#19 0x00562d39498722 in PlayerLoopController::EnterPlayMode()
#20 0x00562d39489db6 in PlayerLoopController::SetIsPlaying(bool)
#21 0x00562d39487dfc in Application::TickTimer()
#22 0x00562d3a14715b in MainMessageIteration(void*)
#23 0x007fab6af50d03 in g_source_get_time
#24 0x007fab6af50285 in g_main_context_dispatch
#25 0x007fab6af50650 in g_main_context_dispatch
#26 0x007fab6af50962 in g_main_loop_run
#27 0x007fab6ccffa25 in gtk_main
#28 0x00562d3a146367 in main
#29 0x007fab6a6fdbf7 in __libc_start_main
#30 0x00562d387d8e5f in _start
Launching bug reporter
[Unity Package Manager (Upm)]
Parent process [27968] was terminated

Editor.log
editor2.log

I am running ubuntu 18.04 and I am using the orginal editor from your project for Unity. Any help is appreciated .
thank you for your good work.

Instant Motion Tracking

Hello there, thank you for the work you are doing here,

I noticed you are working of the instant motion tracking on a new branch, do you have a time frame for it? I was trying to add to your plugin but it's a bit complicated for me.

Best Regards
Alaa Eltayeb

EntryPointNotFoundException: MpGpuResourcesCreate

Getting an error while running GPU scene

EntryPointNotFoundException: MpGpuResourcesCreate
Mediapipe.GpuResources.Create () (at Assets/MediaPipe/SDK/Scripts/Gpu/GpuResources.cs:29)
SceneDirector+<Start>d__13.MoveNext () (at Assets/MediaPipe/Examples/Scripts/SceneDirector.cs:42)
--- End of stack trace from previous location where exception was thrown ---
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <fb001e01371b4adca20013e0ac763896>:0)
System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_0 (System.Object state) (at <fb001e01371b4adca20013e0ac763896>:0)
UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at /home/bokken/buildslave/unity/build/Runtime/Export/Scripting/UnitySynchronizationContext.cs:153)
UnityEngine.UnitySynchronizationContext:ExecuteTasks() (at /home/bokken/buildslave/unity/build/Runtime/Export/Scripting/UnitySynchronizationContext.cs:107)
Waiting for assets to be loaded...
UnityEngine.Debug:Log(Object)
<RunGraph>d__19:MoveNext() (at Assets/MediaPipe/Examples/Scripts/SceneDirector.cs:132)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr) (at /home/bokken/buildslave/unity/build/Runtime/Export/Scripting/Coroutines.cs:17)

I have run the build assetbundle

Does this work on android or ios?

Great work, I would like to know if this can work on android. I need to have the multi hand tracking working on unity and haven't found anyone achieving it even myself.
Thanks
Cordially
Bruno

gcc: error trying to exec 'cc1plus': execvp: No such file or directory

I Was trying to build for arm64 android and fails with this strange issue. I do have gcc and g++ installed, as I've seen on the internet solutions telling me to install them.

2021-01-19 12_24_15-bruno-pc (bruno-pc)_ VNC Viewer

what could be wrong?
If I run make as sudo, I do get numpy missing issue m and I do have numpy installed.

Thanks
Great Job!
Bruno Moya

Documentation

Request for a proper documentation it would be very helpful.

Run DesktopGPU scene in UnityEditor get two error

make and make install command successful

run DesktopGPU scene in UnityEditor get two error

Ubuntu 18.04
Unity2019.4.18f1

Error mapping buffer (614400): Invalid argument
UnityEngine.WebCamTexture:Play()
<ResetScreen>d__16:MoveNext() (at Assets/MediaPipe/Examples/Scripts/WebCamScreenController.cs:72)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
SceneDirector:ResetCamera(Nullable`1) (at Assets/MediaPipe/Examples/Scripts/SceneDirector.cs:99)
SceneDirector:ChangeWebCamDevice(Nullable`1) (at Assets/MediaPipe/Examples/Scripts/SceneDirector.cs:88)
WebCamDeviceSelectorController:OnValueChanged(Dropdown) (at Assets/MediaPipe/Examples/Scripts/WebCamDeviceSelectorController.cs:33)
WebCamDeviceSelectorController:ResetOptions(WebCamDevice[]) (at Assets/MediaPipe/Examples/Scripts/WebCamDeviceSelectorController.cs:27)
WebCamDeviceSelectorController:Start() (at Assets/MediaPipe/Examples/Scripts/WebCamDeviceSelectorController.cs:16)


Unable to queue capture buffers!
UnityEngine.WebCamTexture:Play()
<ResetScreen>d__16:MoveNext() (at Assets/MediaPipe/Examples/Scripts/WebCamScreenController.cs:72)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
SceneDirector:ResetCamera(Nullable`1) (at Assets/MediaPipe/Examples/Scripts/SceneDirector.cs:99)
SceneDirector:ChangeWebCamDevice(Nullable`1) (at Assets/MediaPipe/Examples/Scripts/SceneDirector.cs:88)
WebCamDeviceSelectorController:OnValueChanged(Dropdown) (at Assets/MediaPipe/Examples/Scripts/WebCamDeviceSelectorController.cs:33)
WebCamDeviceSelectorController:ResetOptions(WebCamDevice[]) (at Assets/MediaPipe/Examples/Scripts/WebCamDeviceSelectorController.cs:27)
WebCamDeviceSelectorController:Start() (at Assets/MediaPipe/Examples/Scripts/WebCamDeviceSelectorController.cs:16)

fatal error C1001: An internal error has occurred in the compiler.

ERROR: C:/_bzl/kbkinlco/external/org_tensorflow/tensorflow/lite/kernels/BUILD:663:11: Compiling tensorflow/lite/kernels/elementwise.cc failed: (Exit 2): cl.exe failed: error executing command C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16.27023/bin/HostX64/x64/cl.exe /nologo /DCOMPILER_MSVC /DNOMINMAX /D_WIN32_WINNT=0x0601 /D_CRT_SECURE_NO_DEPRECATE ... (remaining 66 argument(s) skipped)
cl : Command line warning D9002 : ignoring unknown option '-O3'
external/org_tensorflow/tensorflow/lite/kernels/elementwise.cc(299): fatal error C1001: An internal error has occurred in the compiler.
(compiler file 'msc1.cpp', line 1518)
To work around this problem, try simplifying or changing the program near the locations listed above.
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
Internal Compiler Error in C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\cl.exe. You will be prompted to send an error report to Microsoft later.
INTERNAL COMPILER ERROR in 'C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\cl.exe'
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
INFO: Elapsed time: 138.722s, Critical Path: 135.43s
INFO: 511 processes: 221 internal, 290 local.
FAILED: Build did NOT complete successfully
make: *** [Makefile:46: cpu] Error 1
err

I run " make cpu PYTHON_BIN_PATH="C://python_36//python.exe" " and i got an internal compiler error, how can I solve it? I'm on Windows 10.

Thank you

Knift

Is it possible to run knift in unity?

make cpu/gpu error

i run make cpu error
this my console

ljl@ubuntu:~/MediaPipeUnityPlugin$ make cpu
cd C && bazel build -c opt --define MEDIAPIPE_DISABLE_GPU=1 //mediapipe_api:libmediapipe_c //mediapipe_api:mediapipe_models //mediapipe_api:mediapipe_proto_srcs
DEBUG: Rule 'rules_foreign_cc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "3e6b0691fc57db8217d535393dcc2cf7c1d39fc87e9adb6e7d7bab1483915110"
DEBUG: Repository rules_foreign_cc instantiated at:
/home/ljl/MediaPipeUnityPlugin/C/WORKSPACE:78:13: in
Repository rule http_archive defined at:
/home/ljl/.cache/bazel/_bazel_ljl/3ad62ba5ff3f288a76b92482ec50d8e6/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in
DEBUG: Rule 'rules_cc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "fc58ff069f150c81abd10231bb1d9fbff0ba9322e03c9396518db4d054d5f2e6"
DEBUG: Repository rules_cc instantiated at:
/home/ljl/MediaPipeUnityPlugin/C/WORKSPACE:72:13: in
Repository rule http_archive defined at:
/home/ljl/.cache/bazel/_bazel_ljl/3ad62ba5ff3f288a76b92482ec50d8e6/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = "1564776078 -0400"
DEBUG: Repository rules_python instantiated at:
/home/ljl/MediaPipeUnityPlugin/C/WORKSPACE:30:23: in
/home/ljl/.cache/bazel/_bazel_ljl/3ad62ba5ff3f288a76b92482ec50d8e6/external/rules_pkg/deps.bzl:33:10: in rules_pkg_dependencies
/home/ljl/.cache/bazel/_bazel_ljl/3ad62ba5ff3f288a76b92482ec50d8e6/external/bazel_tools/tools/build_defs/repo/utils.bzl:201:18: in maybe
Repository rule git_repository defined at:
/home/ljl/.cache/bazel/_bazel_ljl/3ad62ba5ff3f288a76b92482ec50d8e6/external/bazel_tools/tools/build_defs/repo/git.bzl:199:33: in
WARNING: Download from https://mirror.bazel.build/github.com/Maratyszcza/FP16/archive/4dfe081cf6bcd15db339cf2680b9281b8451eeb3.zip failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/XNNPACK/archive/094e692629d57ddb932fcc993193626f60daa61b.zip failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/Maratyszcza/pthreadpool/archive/77f9d3bcfabd1bdb910dd33b549d5290b968ef05.zip failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/Maratyszcza/FXdiv/archive/63058eff77e11aa15bf531df5dd34395ec3017c8.zip failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/Maratyszcza/psimd/archive/072586a71b55b7f8c584153d223e95687148a900.zip failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
INFO: Analyzed 3 targets (0 packages loaded, 0 targets configured).
INFO: Found 3 targets...
ERROR: /home/ljl/MediaPipeUnityPlugin/C/mediapipe_api/BUILD:103:10: PackageZip mediapipe_api/mediapipe_models.zip failed (Exit 127): build_zip failed: error executing command bazel-out/k8-opt-exec-50AE0418/bin/external/rules_pkg/build_zip -o bazel-out/k8-opt/bin/mediapipe_api/mediapipe_models.zip -d / -t 315532800 -m 0555 ... (remaining 12 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox build_zip failed: error executing command bazel-out/k8-opt-exec-50AE0418/bin/external/rules_pkg/build_zip -o bazel-out/k8-opt/bin/mediapipe_api/mediapipe_models.zip -d / -t 315532800 -m 0555 ... (remaining 12 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
/usr/bin/env: 'python': No such file or directory
INFO: Elapsed time: 0.392s, Critical Path: 0.17s
INFO: 131 processes: 131 internal.
FAILED: Build did NOT complete successfully
make: *** [Makefile:38: cpu] Error 1

Running examples in unity gives error

Getting error while running example

DllNotFoundException: mediapipe_c
Director.OnDisable () (at Assets/Mediapipe/Examples/Scripts/Director.cs:35)

Screenshot from 2020-09-21 23-37-15

Steps to reproduce

step 1- git clone MediapipeUnityPlugin
step 2 - open in unity
step 3 - run HandTrackingGPU scene

media pipe .dll file is not available can you check the issue

hello
i run the project in unity and i get this issue all things i installed but still i get this error you can check the screenshot here.
Screenshot from 2021-02-04 18-00-01
i make a build for android also and it will not work on android also so how can i make it run..
here is error :
DllNotFoundException: mediapipe_c
Mediapipe.ResourceUtil.InitializeResourceManager (Mediapipe.ResourceManager resourceManager) (at Assets/MediaPipe/SDK/Scripts/Util/ResourceUtil.cs:4)
SceneDirector+d__16.MoveNext () (at Assets/MediaPipe/Examples/Scripts/SceneDirector.cs:60)
--- End of stack trace from previous location where exception was thrown ---
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <9577ac7a62ef43179789031239ba8798>:0)
System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__6_0 (System.Object state) (at <9577ac7a62ef43179789031239ba8798>:0)
UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () (at /home/bokken/buildslave/unity/build/Runtime/Export/Scripting/UnitySynchronizationContext.cs:153)
UnityEngine.UnitySynchronizationContext:ExecuteTasks() (at /home/bokken/buildslave/unity/build/Runtime/Export/Scripting/UnitySynchronizationContext.cs:107)

thanks.

Pass pointer address of texture instead of colors32

I believe the repo is awesome, but having some FPS or milliseconds improvement is a good thing to develop
So , one thing in my mind for some time is that in unity you can get the texture image pointer address and I ask if it could be passed directly,so mediapipe access it instead of Colors32 that is a very expensive operation. I simply had the idea don't know how to implement it tough.

Thanks and great job.
Bruno

How to modify NUM_HANDS

Hi there,

in the mediapipe examples i can set the NUM_HANDS variable in the MainActivity.java for hand tracking. Where inside your project can I edit this to have more than two hands detected?

Thanks and cheers!

Built APK

For some reason, it just wont let me build an apk out of it. Could you please share the built apk?

Error during make android_arm

Ubuntu 18.04

`ERROR: /home/alexander/MediaPipeUnityPlugin/C/mediapipe_api/gpu/BUILD:64:11: C++ compilation of rule '//mediapipe_api/gpu:gpu_buffer' failed (Exit 1): clang failed: error executing command external/androidndk/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang '-D__ANDROID_API__=29' -isystemexternal/androidndk/ndk/sysroot/usr/include/arm-linux-androideabi -target ... (remaining 74 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox clang failed: error executing command external/androidndk/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang '-D__ANDROID_API__=29' -isystemexternal/androidndk/ndk/sysroot/usr/include/arm-linux-androideabi -target ... (remaining 74 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
In file included from mediapipe_api/gpu/gpu_buffer.cc:2:
In file included from ./mediapipe_api/gpu/gpu_buffer.h:10:
./mediapipe_api/gpu/gl_texture_buffer.h:41:33: error: 'mp_GlTextureBuffer__GetProducerContext' has C-linkage specified, but returns user-defined type 'const SharedGlContext &' (aka 'const shared_ptrmediapipe::GlContext &') which is incompatible with C [-Werror,-Wreturn-type-c-linkage]
MP_CAPI(const SharedGlContext&) mp_GlTextureBuffer__GetProducerContext(mediapipe::GlTextureBuffer* gl_texture_buffer);
^
In file included from mediapipe_api/gpu/gpu_buffer.cc:2:
./mediapipe_api/gpu/gpu_buffer.h:18:39: error: 'mp_GpuBuffer__GetGlTextureBufferSharedPtr' has C-linkage specified, but returns user-defined type 'const SharedGlTextureBuffer &' (aka 'const shared_ptrmediapipe::GlTextureBuffer &') which is incompatible with C [-Werror,-Wreturn-type-c-linkage]
MP_CAPI(const SharedGlTextureBuffer&) mp_GpuBuffer__GetGlTextureBufferSharedPtr(mediapipe::GpuBuffer* gpu_buffer);
`
Getting the above error when running make android_arm. I'm able to build the official examples without any problems.
Make gpu also completes succcessfully.

Error in make android_arm

executing command

make android_arm

throws

cd C && bazel build -c opt --config=android_arm //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android //mediapipe_api:mediapipe_models //mediapipe_api:mediapipe_proto_srcs
INFO: Build options --cpu, --crosstool_top, --define, and 2 more have changed, discarding analysis cache.
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:AudioDataConsumer.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:AudioDataProcessor.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:AudioDataProducer.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:CameraHelper.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:CameraXPreviewHelper.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:ExternalTextureConverter.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:FrameProcessor.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:MicrophoneHelper.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:PermissionHelper.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:TextureFrameConsumer.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:TextureFrameProcessor.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/components:TextureFrameProducer.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:AndroidAssetUtil.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:AndroidPacketCreator.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:AndroidPacketGetter.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:AppTextureFrame.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:AssetCache.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:AssetCacheDbHelper.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:Compat.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:GlSyncToken.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:Graph.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:GraphGlSyncToken.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:GraphProfiler.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:GraphService.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:GraphTextureFrame.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:MediaPipeException.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:MediaPipeRunner.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:Packet.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:PacketCallback.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:PacketCreator.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:PacketGetter.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:PacketWithHeaderCallback.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:ProtoUtil.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:SurfaceOutput.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:TextureFrame.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:TextureReleaseCallback.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:TypeNameRegistry.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/framework:TypeNameRegistryLite.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/glutil:CommonShaders.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/glutil:EglManager.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/glutil:ExternalTextureRenderer.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/glutil:GlThread.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/glutil:ShaderUtil.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
WARNING: /home/ershad/MediaPipeUnityPlugin/C/mediapipe_api/java/org/homuler/mediapipe/unity/BUILD:4:14: in srcs attribute of android_library rule //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: please do not import '@com_google_mediapipe//mediapipe/java/com/google/mediapipe/glutil:TextureRenderer.java' directly. You should either move the file to this package or depend on an appropriate rule there. Since this rule was created by the macro 'mediapipe_aar', the error might have been caused by the macro implementation
INFO: Analyzed 3 targets (0 packages loaded, 12454 targets configured).
INFO: Found 3 targets...
ERROR: /home/ershad/.cache/bazel/_bazel_ershad/c85dc9a9ed20eb7e2807b6ec0d9f4cd1/external/ruy/ruy/BUILD:183:11: C++ compilation of rule '@ruy//ruy:prepacked_cache' failed (Exit 1) clang failed: error executing command external/androidndk/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang '-D__ANDROID_API__=28' -isystemexternal/androidndk/ndk/sysroot/usr/include/arm-linux-androideabi -target ... (remaining 46 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
In file included from external/ruy/ruy/prepacked_cache.cc:16:
external/ruy/ruy/prepacked_cache.h:19:10: fatal error: 'cstddef' file not found
#include <cstddef>
         ^~~~~~~~~
1 error generated.
INFO: Elapsed time: 7.115s, Critical Path: 5.62s
INFO: 24 processes: 17 linux-sandbox, 7 worker.
FAILED: Build did NOT complete successfully
make: *** [Makefile:41: android_arm] Error 1

How to fix this?

i got those errors after buiding the project to android and i uploaded it into unity.

Screenshot from 2021-02-04 15-19-47
here is the screen shot of the errors can you guide me further how it runs..
here is some errors:
Error 1:
Assets/MediaPipe/SDK/Scripts/Annotation/AnnotationController.cs(3,32): error CS0234: The type or namespace name 'LocationData' does not exist in the namespace 'Mediapipe' (are you missing an assembly reference?)
Error 2:
Assets/MediaPipe/SDK/Scripts/Framework/CalculatorGraphConfig.cs(1,20): error CS0400: The type or namespace name 'Google' could not be found in the global namespace (are you missing an assembly reference?)
others are also like that.....

Which ImageFormat to use.

Hello!
As I told you on error #23 I am integrating ar foundation into this. You told me to create a ImageFrame, the thing is I don't know which Format Should be use,
Glad if you or someone could help me out
Cordially
Bruno

DllNotFoundException: mediapipe_c

Hello,
Sorry for posting some issues lately!
I have build the sdk for windows succesfully, but get this issue when playing on editor.
What could it be?

build successful but files are not copied and protobuf is not compiled

After running make, i get libmediapipe_c.so under bazel-bin/mediapipe_api. its not copied to SDK/Plugins and protobuf compiles were nowhere to be found.

the build was successful but had many warnings below is the result. everything is in order, openCV, android sdk are set correctly. i am able to build official examples too.

one thing i found was that the files it was trying to access were locked so i ran "sudo make" which gave

Either the path attribute of android_sdk_repository or the ANDROID_HOME environment variable must be set. even thought it was already set.

then i set it manually in workspace, then build completed succesfully after checking some caches in 5 seconds which didn't do anything.

result of make:-

mkdir -p .build
curl -L https://github.com/protocolbuffers/protobuf/archive/v3.13.0.tar.gz -o .build/protobuf-3.13.0.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   133    0   133    0     0    378      0 --:--:-- --:--:-- --:--:--   378
100 5154k    0 5154k    0     0  2963k      0 --:--:--  0:00:01 --:--:-- 5064k
tar xf .build/protobuf-3.13.0.tar.gz -C .build
./.build/protobuf-3.13.0/csharp/buildall.sh
+ echo Building relevant projects.
Building relevant projects.
+ dotnet restore ./.build/protobuf-3.13.0/csharp/src/Google.Protobuf.sln
  Determining projects to restore...
  Restored /home/ershad/MediapipeUnityPlugin/.build/protobuf-3.13.0/csharp/src/Google.Protobuf.Test.TestProtos/Google.Protobuf.Test.TestProtos.csproj (in 342 ms).
  Restored /home/ershad/MediapipeUnityPlugin/.build/protobuf-3.13.0/csharp/src/Google.Protobuf/Google.Protobuf.csproj (in 342 ms).
  Restored /home/ershad/MediapipeUnityPlugin/.build/protobuf-3.13.0/csharp/src/Google.Protobuf.JsonDump/Google.Protobuf.JsonDump.csproj (in 342 ms).
  Restored /home/ershad/MediapipeUnityPlugin/.build/protobuf-3.13.0/csharp/src/AddressBook/AddressBook.csproj (in 342 ms).
  Restored /home/ershad/MediapipeUnityPlugin/.build/protobuf-3.13.0/csharp/src/Google.Protobuf.Benchmarks/Google.Protobuf.Benchmarks.csproj (in 375 ms).
  Restored /home/ershad/MediapipeUnityPlugin/.build/protobuf-3.13.0/csharp/src/Google.Protobuf.Conformance/Google.Protobuf.Conformance.csproj (in 379 ms).
  Restored /home/ershad/MediapipeUnityPlugin/.build/protobuf-3.13.0/csharp/src/Google.Protobuf.Test/Google.Protobuf.Test.csproj (in 379 ms).
+ dotnet build -c Release ./.build/protobuf-3.13.0/csharp/src/Google.Protobuf.sln
Microsoft (R) Build Engine version 16.7.0+7fb82e5b2 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  All projects are up-to-date for restore.
  Google.Protobuf -> /home/ershad/MediapipeUnityPlugin/.build/protobuf-3.13.0/csharp/src/Google.Protobuf/bin/Release/net45/Google.Protobuf.dll
  Google.Protobuf -> /home/ershad/MediapipeUnityPlugin/.build/protobuf-3.13.0/csharp/src/Google.Protobuf/bin/Release/netstandard1.1/Google.Protobuf.dll
  Google.Protobuf -> /home/ershad/MediapipeUnityPlugin/.build/protobuf-3.13.0/csharp/src/Google.Protobuf/bin/Release/netstandard2.0/Google.Protobuf.dll
  Google.Protobuf.JsonDump -> /home/ershad/MediapipeUnityPlugin/.build/protobuf-3.13.0/csharp/src/Google.Protobuf.JsonDump/bin/Release/netcoreapp2.1/Google.Protobuf.JsonDump.dll
  AddressBook -> /home/ershad/MediapipeUnityPlugin/.build/protobuf-3.13.0/csharp/src/AddressBook/bin/Release/netcoreapp2.1/AddressBook.dll
  Google.Protobuf.Test.TestProtos -> /home/ershad/MediapipeUnityPlugin/.build/protobuf-3.13.0/csharp/src/Google.Protobuf.Test.TestProtos/bin/Release/netstandard2.0/Google.Protobuf.Test.TestProtos.dll
  Google.Protobuf.Test.TestProtos -> /home/ershad/MediapipeUnityPlugin/.build/protobuf-3.13.0/csharp/src/Google.Protobuf.Test.TestProtos/bin/Release/net45/Google.Protobuf.Test.TestProtos.dll
  Google.Protobuf.Test.TestProtos -> /home/ershad/MediapipeUnityPlugin/.build/protobuf-3.13.0/csharp/src/Google.Protobuf.Test.TestProtos/bin/Release/netstandard1.1/Google.Protobuf.Test.TestProtos.dll
  Google.Protobuf.Test -> /home/ershad/MediapipeUnityPlugin/.build/protobuf-3.13.0/csharp/src/Google.Protobuf.Test/bin/Release/net451/Google.Protobuf.Test.dll
  Google.Protobuf.Benchmarks -> /home/ershad/MediapipeUnityPlugin/.build/protobuf-3.13.0/csharp/src/Google.Protobuf.Benchmarks/bin/Release/netcoreapp3.1/Google.Protobuf.Benchmarks.dll
  Google.Protobuf.Test -> /home/ershad/MediapipeUnityPlugin/.build/protobuf-3.13.0/csharp/src/Google.Protobuf.Test/bin/Release/netcoreapp2.1/Google.Protobuf.Test.dll
  Google.Protobuf.Conformance -> /home/ershad/MediapipeUnityPlugin/.build/protobuf-3.13.0/csharp/src/Google.Protobuf.Conformance/bin/Release/netcoreapp2.1/Google.Protobuf.Conformance.dll

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:05.39
+ echo Running tests.
Running tests.
+ dotnet test -c Release -f netcoreapp2.1 ./.build/protobuf-3.13.0/csharp/src/Google.Protobuf.Test/Google.Protobuf.Test.csproj
Microsoft (R) Build Engine version 16.7.0+7fb82e5b2 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  All projects are up-to-date for restore.
Test run for /home/ershad/MediapipeUnityPlugin/.build/protobuf-3.13.0/csharp/src/Google.Protobuf.Test/bin/Release/netcoreapp2.1/Google.Protobuf.Test.dll(.NETCoreApp,Version=v2.1)
Microsoft (R) Test Execution Command Line Tool Version 16.7.0
Copyright (c) Microsoft Corporation.  All rights reserved.

Starting test execution, please wait...

A total of 1 test files matched the specified pattern.

Test Run Successful.
Total tests: 1124
     Passed: 1124
 Total time: 7.3851 Seconds
# TODO build all the .proto files and output to the same directories
protoc --proto_path=Assets/Mediapipe/SDK/Scripts --csharp_out=Assets/Mediapipe/SDK/Scripts/Protobuf Assets/Mediapipe/SDK/Scripts/Protobuf/*.proto && \
protoc --proto_path=Assets/Mediapipe/SDK/Scripts --csharp_out=Assets/Mediapipe/SDK/Scripts/Protobuf/Annotation Assets/Mediapipe/SDK/Scripts/Protobuf/Annotation/*.proto
cd C && bazel build -c opt --copt -DMESA_EGL_NO_X11_HEADERS --copt -DEGL_NO_X11 //mediapipe_api:mediapipe_c //mediapipe_api:mediapipe_models
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
WARNING: Download from https://mirror.bazel.build/github.com/tensorflow/tensorflow/archive/7c09d15f9fcc14343343c247ebf5b8e0afe3e4aa.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
WARNING: Download from http://mirror.tensorflow.org/github.com/bazelbuild/rules_closure/archive/cf1e44edb908e9616030cc83d085989b8e6cd6df.tar.gz failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
INFO: SHA256 (https://github.com/bazelbuild/rules_cc/archive/master.zip) = 2a34fa56d923f774409d23720e60ddf6536e88622d000e6925f7cebbad65e281
DEBUG: Rule 'rules_cc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "2a34fa56d923f774409d23720e60ddf6536e88622d000e6925f7cebbad65e281"
DEBUG: Repository rules_cc instantiated at:
  no stack (--record_rule_instantiation_callstack not enabled)
Repository rule http_archive defined at:
  /home/ershad/.cache/bazel/_bazel_ershad/2addae6667761cbddc94a55966b17a28/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
DEBUG: Rule 'rules_python' indicated that a canonical reproducible form can be obtained by modifying arguments shallow_since = "1564776078 -0400"
DEBUG: Repository rules_python instantiated at:
  no stack (--record_rule_instantiation_callstack not enabled)
Repository rule git_repository defined at:
  /home/ershad/.cache/bazel/_bazel_ershad/2addae6667761cbddc94a55966b17a28/external/bazel_tools/tools/build_defs/repo/git.bzl:195:33: in <toplevel>
WARNING: Download from https://mirror.bazel.build/github.com/Maratyszcza/FP16/archive/3c54eacb74f6f5e39077300c5564156c424d77ba.zip failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
WARNING: Download from https://storage.googleapis.com/mirror.tensorflow.org/github.com/google/XNNPACK/archive/5cb16e7ace0fcdcab164af01620a606ba828a3be.zip failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException GET returned 404 Not Found
INFO: Analyzed 2 targets (149 packages loaded, 6033 targets configured).
INFO: Found 2 targets...
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/graphs/iris_tracking/calculators/iris_to_depth_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/util/rect_to_render_scale_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/framework/calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/util/labels_to_render_data_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/core/concatenate_vector_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/util/detections_to_rects_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/util/rect_transformation_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/framework/calculator_profile.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/util/annotation_overlay_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/gpu/gl_context_options.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/framework/calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/util/thresholding_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/image/image_transformation_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/tflite/tflite_tensors_to_landmarks_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/tflite/tflite_tensors_to_landmarks_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/core/split_vector_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/tflite/tflite_converter_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/util/collection_has_min_size_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/image/image_cropping_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/util/landmark_projection_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/tflite/tflite_inference_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/util/detections_to_rects_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/core/clip_vector_size_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/util/landmarks_to_detection_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/tflite/tflite_tensors_to_detections_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/tflite/ssd_anchors_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/util/non_max_suppression_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/util/non_max_suppression_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/framework/tool/calculator_graph_template.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/framework/calculator_profile.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/tflite/tflite_converter_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/internal/callback_packet_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/gpu/gl_context_options.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/tflite/ssd_anchors_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/tflite/tflite_tensors_to_detections_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/image/image_transformation_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/util/rect_to_render_data_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/util/detection_label_id_to_text_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/tflite/tflite_inference_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/util/landmarks_to_render_data_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/util/landmarks_to_detection_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/core/gate_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/util/collection_has_min_size_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/core/gate_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/util/rect_transformation_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/image/image_cropping_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/core/split_vector_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/util/landmark_projection_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/core/clip_vector_size_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/util/association_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/util/thresholding_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/util/association_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/util/detections_to_render_data_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/util/rect_to_render_data_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/util/landmarks_to_render_data_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/util/annotation_overlay_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/util/detections_to_render_data_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/framework/tool/calculator_graph_template.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/graphs/iris_tracking/calculators/iris_to_depth_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/graphs/iris_tracking/calculators/iris_to_render_data_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/internal/callback_packet_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/graphs/iris_tracking/calculators/iris_to_render_data_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/core/concatenate_vector_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/util/detection_label_id_to_text_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/graphs/pose_tracking/calculators/landmarks_smoothing_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/tflite/tflite_custom_op_resolver_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/core/constant_side_packet_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/core/constant_side_packet_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/tflite/tflite_custom_op_resolver_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/tflite/tflite_tensors_to_classification_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From Compiling external/com_google_mediapipe/mediapipe/framework/calculator.pb.cc [for host]:
bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.cc: In member function 'virtual google::protobuf::uint8* mediapipe::ProfilerConfig::_InternalSerialize(google::protobuf::uint8*, google::protobuf::io::EpsCopyOutputStream*) const':
bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.cc:1711:41: warning: 'bool mediapipe::ProfilerConfig::enable_input_output_latency() const' is deprecated [-Wdeprecated-declarations]
 1711 |   if (this->enable_input_output_latency() != 0) {
      |                                         ^
In file included from bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.cc:4:
bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.h:2714:13: note: declared here
 2714 | inline bool ProfilerConfig::enable_input_output_latency() const {
      |             ^~~~~~~~~~~~~~
bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.cc:1778:39: warning: 'bool mediapipe::ProfilerConfig::trace_log_duration_events() const' is deprecated [-Wdeprecated-declarations]
 1778 |   if (this->trace_log_duration_events() != 0) {
      |                                       ^
In file included from bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.cc:4:
bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.h:2981:13: note: declared here
 2981 | inline bool ProfilerConfig::trace_log_duration_events() const {
      |             ^~~~~~~~~~~~~~
bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.cc: In member function 'virtual size_t mediapipe::ProfilerConfig::ByteSizeLong() const':
bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.cc:1860:41: warning: 'bool mediapipe::ProfilerConfig::enable_input_output_latency() const' is deprecated [-Wdeprecated-declarations]
 1860 |   if (this->enable_input_output_latency() != 0) {
      |                                         ^
In file included from bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.cc:4:
bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.h:2714:13: note: declared here
 2714 | inline bool ProfilerConfig::enable_input_output_latency() const {
      |             ^~~~~~~~~~~~~~
bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.cc:1915:39: warning: 'bool mediapipe::ProfilerConfig::trace_log_duration_events() const' is deprecated [-Wdeprecated-declarations]
 1915 |   if (this->trace_log_duration_events() != 0) {
      |                                       ^
In file included from bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.cc:4:
bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.h:2981:13: note: declared here
 2981 | inline bool ProfilerConfig::trace_log_duration_events() const {
      |             ^~~~~~~~~~~~~~
bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.cc: In member function 'void mediapipe::ProfilerConfig::MergeFrom(const mediapipe::ProfilerConfig&)':
bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.cc:1976:40: warning: 'bool mediapipe::ProfilerConfig::enable_input_output_latency() const' is deprecated [-Wdeprecated-declarations]
 1976 |   if (from.enable_input_output_latency() != 0) {
      |                                        ^
In file included from bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.cc:4:
bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.h:2714:13: note: declared here
 2714 | inline bool ProfilerConfig::enable_input_output_latency() const {
      |             ^~~~~~~~~~~~~~
bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.cc:2003:38: warning: 'bool mediapipe::ProfilerConfig::trace_log_duration_events() const' is deprecated [-Wdeprecated-declarations]
 2003 |   if (from.trace_log_duration_events() != 0) {
      |                                      ^
In file included from bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.cc:4:
bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.h:2981:13: note: declared here
 2981 | inline bool ProfilerConfig::trace_log_duration_events() const {
      |             ^~~~~~~~~~~~~~
bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.cc: In member function 'virtual google::protobuf::uint8* mediapipe::CalculatorGraphConfig_Node::_InternalSerialize(google::protobuf::uint8*, google::protobuf::io::EpsCopyOutputStream*) const':
bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.cc:2572:33: warning: 'bool mediapipe::CalculatorGraphConfig_Node::has_profiler_config() const' is deprecated [-Wdeprecated-declarations]
 2572 |   if (this->has_profiler_config()) {
      |                                 ^
In file included from bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.cc:4:
bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.h:3835:13: note: declared here
 3835 | inline bool CalculatorGraphConfig_Node::has_profiler_config() const {
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.cc: In member function 'virtual size_t mediapipe::CalculatorGraphConfig_Node::ByteSizeLong() const':
bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.cc:2708:33: warning: 'bool mediapipe::CalculatorGraphConfig_Node::has_profiler_config() const' is deprecated [-Wdeprecated-declarations]
 2708 |   if (this->has_profiler_config()) {
      |                                 ^
In file included from bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.cc:4:
bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.h:3835:13: note: declared here
 3835 | inline bool CalculatorGraphConfig_Node::has_profiler_config() const {
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.cc: In member function 'void mediapipe::CalculatorGraphConfig_Node::MergeFrom(const mediapipe::CalculatorGraphConfig_Node&)':
bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.cc:2794:32: warning: 'bool mediapipe::CalculatorGraphConfig_Node::has_profiler_config() const' is deprecated [-Wdeprecated-declarations]
 2794 |   if (from.has_profiler_config()) {
      |                                ^
In file included from bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.cc:4:
bazel-out/host/bin/external/com_google_mediapipe/mediapipe/framework/calculator.pb.h:3835:13: note: declared here
 3835 | inline bool CalculatorGraphConfig_Node::has_profiler_config() const {
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
INFO: From Compiling external/org_tensorflow/tensorflow/lite/delegates/gpu/api.cc:
In file included from external/opencl_headers/CL/cl.h:32,
                 from external/org_tensorflow/tensorflow/lite/delegates/gpu/api.h:42,
                 from external/org_tensorflow/tensorflow/lite/delegates/gpu/api.cc:16:
external/opencl_headers/CL/cl_version.h:34:104: note: #pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)
   34 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)")
      |                                                                                                        ^
INFO: From Compiling external/org_tensorflow/tensorflow/lite/delegates/gpu/gl/api2.cc:
In file included from external/opencl_headers/CL/cl.h:32,
                 from external/org_tensorflow/tensorflow/lite/delegates/gpu/api.h:42,
                 from external/org_tensorflow/tensorflow/lite/delegates/gpu/gl/api2.h:23,
                 from external/org_tensorflow/tensorflow/lite/delegates/gpu/gl/api2.cc:16:
external/opencl_headers/CL/cl_version.h:34:104: note: #pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)
   34 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)")
      |                                                                                                        ^
INFO: From Executing genrule @com_google_mediapipe//mediapipe/graphs/hand_tracking/subgraphs:multi_hand_detection_gpu_graph:
[libprotobuf WARNING external/com_google_protobuf/src/google/protobuf/text_format.cc:324] Warning parsing text-format mediapipe.CalculatorGraphConfig: 58:5: text format contains deprecated field "use_gpu"
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/tflite/tflite_tensors_to_classification_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/util/labels_to_render_data_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/image/recolor_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/image/set_alpha_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/tflite/tflite_tensors_to_segmentation_calculator.pb.h:
bazel-out/k8-opt/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From ProtoCompile external/com_google_mediapipe/mediapipe/calculators/util/rect_to_render_scale_calculator.pb.h [for host]:
bazel-out/host/bin/external/com_google_protobuf/src: warning: directory does not exist.
INFO: From Compiling external/com_google_mediapipe/mediapipe/util/tflite/tflite_gpu_runner.cc:
In file included from external/opencl_headers/CL/cl.h:32,
                 from external/org_tensorflow/tensorflow/lite/delegates/gpu/api.h:42,
                 from external/com_google_mediapipe/mediapipe/util/tflite/tflite_gpu_runner.h:25,
                 from external/com_google_mediapipe/mediapipe/util/tflite/tflite_gpu_runner.cc:15:
external/opencl_headers/CL/cl_version.h:34:104: note: #pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)
   34 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)")
      |                                                                                                        ^
INFO: From Executing genrule @com_google_mediapipe//mediapipe/graphs/hand_tracking/subgraphs:hand_detection_gpu_graph:
[libprotobuf WARNING external/com_google_protobuf/src/google/protobuf/text_format.cc:324] Warning parsing text-format mediapipe.CalculatorGraphConfig: 58:5: text format contains deprecated field "use_gpu"
INFO: From Executing genrule @com_google_mediapipe//mediapipe/graphs/hand_tracking/subgraphs:hand_landmark_gpu_graph:
[libprotobuf WARNING external/com_google_protobuf/src/google/protobuf/text_format.cc:324] Warning parsing text-format mediapipe.CalculatorGraphConfig: 80:5: text format contains deprecated field "use_gpu"
INFO: From Compiling external/com_google_mediapipe/mediapipe/calculators/tflite/tflite_inference_calculator.cc:
In file included from external/opencl_headers/CL/cl.h:32,
                 from external/org_tensorflow/tensorflow/lite/delegates/gpu/api.h:42,
                 from external/com_google_mediapipe/mediapipe/util/tflite/tflite_gpu_runner.h:25,
                 from external/com_google_mediapipe/mediapipe/calculators/tflite/tflite_inference_calculator.cc:39:
external/opencl_headers/CL/cl_version.h:34:104: note: #pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)
   34 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)")
      |                                                                                                        ^
INFO: From Compiling external/org_tensorflow/tensorflow/lite/delegates/gpu/gl/kernels/converter.cc:
In file included from external/opencl_headers/CL/cl.h:32,
                 from external/org_tensorflow/tensorflow/lite/delegates/gpu/api.h:42,
                 from external/org_tensorflow/tensorflow/lite/delegates/gpu/spi.h:21,
                 from external/org_tensorflow/tensorflow/lite/delegates/gpu/gl/kernels/converter.h:22,
                 from external/org_tensorflow/tensorflow/lite/delegates/gpu/gl/kernels/converter.cc:16:
external/opencl_headers/CL/cl_version.h:34:104: note: #pragma message: cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)
   34 | #pragma message("cl_version.h: CL_TARGET_OPENCL_VERSION is not defined. Defaulting to 220 (OpenCL 2.2)")
      |                                                                                                        ^
INFO: Elapsed time: 561.545s, Critical Path: 258.65s
INFO: 2136 processes: 2136 linux-sandbox.
INFO: Build completed successfully, 2351 total actions

what am i doing wrong? I'm sorry I am new to linux.

Did you need help testing on IOS?

I have access to a mac and an Iphone 11 if you needed assistance with supporting IOS, I would be keen to help contribute if you have any pointers on what you think is needed?

Can't run DesktopCPU for the second time

Hi, I'm trying to run the project on windows for DesktopCPU.

When I click the unity play button for the first time, everyting works perfect. But after I stop it and then play it for second time, the unity stuck and I have to restart the unity.

after restart then everyting can work again. please help me to figure it out...

thanks!

dll not found exception:mediapipe_c

hello,
i have successfully built the .so file and placed it in SDK/Plugins, i have also downloaded the require tflite files and txt files and placed them under SDK/Models.
I am testing out the handtracking gpu on windows. when i press play i get:

DllNotFoundException: mediapipe_c
Mediapipe.CalculatorGraph..ctor (System.String configText) (at Assets/Mediapipe/SDK/Scripts/CalculatorGraph.cs:13)
DemoGraph.Initialize () (at Assets/Mediapipe/Examples/Scripts/DemoGraph.cs:22)
Director+d__10.MoveNext () (at Assets/Mediapipe/Examples/Scripts/Director.cs:47)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <3dc54541a2574ac7826a004a212a4332>:0)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)

and

DllNotFoundException: mediapipe_c
Director.OnEnable () (at Assets/Mediapipe/Examples/Scripts/Director.cs:19)

How to fix this?

Progress update request

First of all, thank you for the wonderful work you've been doing on this Homuler.

Do you mind please releasing some a statement on how you're continuing to develop the mediapipe unity plugin and you're expectations on how long they will take?

I'm personaly interested in when you expect holistic to be ready

Protobuf/classification.proto: C# code generation only supports proto3 syntax

I installed everything needed, but running make android_arm gives me this error.
What might be the thing?

protoc --proto_path=Assets/MediaPipe/SDK/Scripts --csharp_out=Assets/MediaPipe/SDK/Scripts/Protobuf Assets/MediaPipe/SDK/Scripts/Protobuf/*.proto && \
protoc --proto_path=Assets/MediaPipe/SDK/Scripts --csharp_out=Assets/MediaPipe/SDK/Scripts/Protobuf/Annotation Assets/MediaPipe/SDK/Scripts/Protobuf/Annotation/*.proto
--csharp_out: Protobuf/classification.proto: C# code generation only supports proto3 syntax
make: *** [Makefile:42: mediapipe_protos] Error 1

Thanks and great work!

surface tracking

hi, very cool plugin, please tell me how to implement surface tracking?

Running examples on MacOS

Hello. I understand, that currently is no support for Mac OS, but i try to implement it.
First of all i modified Makefile & BUILD to build libmediapipe_c.dylib instead of libmediapipe_c.so. Now library is loaded, but i'm stuck on next error, while trying to open any model in scene DesktopCPU:

MediaPipeException: INTERNAL: Graph has errors:
Calculator::Open() for node "TfLiteInferenceCalculator" failed: ; Failed to load model from path._google_mediapipe/mediapipe/calculators/tflite/tflite_inference_calculator.cc:814)
Mediapipe.Status.AssertOk () (at Assets/MediaPipe/SDK/Scripts/Framework/Port/Status.cs:40)
SceneDirector+d__19.MoveNext () (at Assets/MediaPipe/Examples/Scripts/SceneDirector.cs:167)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at /Users/bokken/buildslave/unity/build/Runtime/Export/Scripting/Coroutines.cs:17)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:197)

iam facing this problem when iam building it for android

cd C && bazel build -c opt --config=android_arm64 mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android mediapipe_api:mediapipe_models mediapipe_api:mediapipe_proto_srcs
Starting local Bazel server and connecting to it...
ERROR: While resolving toolchains for target //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_android_lib: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type
ERROR: Analysis of target '//mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android' failed; build aborted: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type
INFO: Elapsed time: 3.176s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (33 packages loaded, 119 targets c
onfigured)
make: *** [Makefile:52: android_arm64] Error 1

Error during make step

getting the following error

cp .build/protobuf-3.13.0/csharp/src/Google.Protobuf/bin/Release/net45/* Assets/Mediapipe/SDK/Plugins/Protobuf
cp: cannot stat '.build/protobuf-3.13.0/csharp/src/Google.Protobuf/bin/Release/net45/*': No such file or directory
Makefile:55: recipe for target 'install-protobuf' failed
make: *** [install-protobuf] Error 1

Steps to reproduce :
step 1 - git clone https://github.com/homuler/MediapipeUnityPlugin.git
step 2 - cd MediapipeUnityPlugin
step 3 - make install

Prerequisites - already satisfied
1- mediapipe is installed
2- opencv version 3.4.10-pre installed
3- protocol compiler version libprotoc 3.0.0 installed

Error in make android_arm64

i run make android_arm64 in MediaPipe Unity Plugin get error
↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
ljl@ljl-B460MAORUSELITE:~/Downloads/MediaPipeUnityPlugin$ make android_arm64
cd C && bazel build -c opt --config=android_arm64 mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android mediapipe_api:mediapipe_models mediapipe_api:mediapipe_proto_srcs
DEBUG: Rule 'rules_foreign_cc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "a0f90646527c4e7222f7f2b29042a8f23d81996d8509e7ccd21c36a247348eb1"
DEBUG: Repository rules_foreign_cc instantiated at:
/home/ljl/Downloads/MediaPipeUnityPlugin/C/WORKSPACE:79:13: in
Repository rule http_archive defined at:
/home/ljl/.cache/bazel/_bazel_ljl/3bf2eb8198ff65c00b4c1c6bf4ce01f7/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in
INFO: Build options --cpu and --fat_apk_cpu have changed, discarding analysis cache.
DEBUG: Rule 'rules_cc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "fc58ff069f150c81abd10231bb1d9fbff0ba9322e03c9396518db4d054d5f2e6"
DEBUG: Repository rules_cc instantiated at:
/home/ljl/Downloads/MediaPipeUnityPlugin/C/WORKSPACE:73:13: in
Repository rule http_archive defined at:
/home/ljl/.cache/bazel/_bazel_ljl/3bf2eb8198ff65c00b4c1c6bf4ce01f7/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in
ERROR: While resolving toolchains for target //mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android_dummy_app: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type
ERROR: Analysis of target '//mediapipe_api/java/org/homuler/mediapipe/unity:mediapipe_android' failed; build aborted: no matching toolchains found for types @bazel_tools//tools/android:sdk_toolchain_type
INFO: Elapsed time: 0.075s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded, 40 targets con
figured)
currently loading: @rules_pkg//
Fetching ...python; Cloning 4b84ad270387a7c439ebdccfd530e2339601ef27 of ht
tps://github.com/bazelbuild/rules_python.git
Makefile:48: recipe for target 'android_arm64' failed
make: *** [android_arm64] Error 1


i use setup_android_sdk_and_ndk.sh https://github.com/google/mediapipe/blob/master/setup_android_sdk_and_ndk.sh

i can run mediapipe android command
↓↓↓↓↓↓↓↓↓↓↓
bazel build -c opt --config=android_arm64 mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu:handtrackinggpu

ljl@ljl-B460MAORUSELITE:~/Downloads/mediapipe-0.8.2$ bazel build -c opt --config=android_arm64 mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu:handtrackinggpu
DEBUG: Rule 'rules_foreign_cc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "a0f90646527c4e7222f7f2b29042a8f23d81996d8509e7ccd21c36a247348eb1"
DEBUG: Repository rules_foreign_cc instantiated at:
/home/ljl/Downloads/mediapipe-0.8.2/WORKSPACE:39:13: in
Repository rule http_archive defined at:
/home/ljl/.cache/bazel/_bazel_ljl/c7df26029a2a82fe2e630be26bc9cc65/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in
DEBUG: Rule 'rules_cc' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "fc58ff069f150c81abd10231bb1d9fbff0ba9322e03c9396518db4d054d5f2e6"
DEBUG: Repository rules_cc instantiated at:
/home/ljl/Downloads/mediapipe-0.8.2/WORKSPACE:33:13: in
Repository rule http_archive defined at:
/home/ljl/.cache/bazel/_bazel_ljl/c7df26029a2a82fe2e630be26bc9cc65/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in
DEBUG: Rule 'android_opencv' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "cdb0e190c3734edd4052a3535d9e4310af912a9f70a421b1621711942a1028d5"
DEBUG: Repository android_opencv instantiated at:
/home/ljl/Downloads/mediapipe-0.8.2/WORKSPACE:221:13: in
Repository rule http_archive defined at:
/home/ljl/.cache/bazel/_bazel_ljl/c7df26029a2a82fe2e630be26bc9cc65/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in
INFO: Analyzed target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu:handtrackinggpu (0 packages loaded, 0 targets configured).
INFO: Found 1 target...
Target //mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu:handtrackinggpu up-to-date:
bazel-bin/mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu/handtrackinggpu_deploy.jar
bazel-bin/mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu/handtrackinggpu_unsigned.apk
bazel-bin/mediapipe/examples/android/src/java/com/google/mediapipe/apps/handtrackinggpu/handtrackinggpu.apk
INFO: Elapsed time: 0.215s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action


Found unchecked GL error: GL_OUT_OF_MEMORY

Looking at android logcat, I have seen after some seconds with multi-hand tracking graph, this error does pop up and tracking does not work anymore,

image
image

Found unchecked GL error: GL_OUT_OF_MEMORY

Thanks.
Bruno

Standalone executable does not shut down

Hi, homuler, I found a bug:
When I try to build the scene DesktopCPU, after I got exe file in windows and run it, the program can't find the webcam and show gray screen like this:
image

Failed to fetch an output packet. Ubuntu 20.04

After building the necessary libraries, running the scene gives warning errors:

Failed to fetch an output packet, rendering the input image
UnityEngine.Debug:LogWarning(Object)
DefaultGraphOnGPU:RenderOutput(Texture2D, Color32[]) (at Assets/Mediapipe/Examples/Scripts/DefaultGraphOnGPU.cs:19)
d__10:MoveNext() (at Assets/Mediapipe/Examples/Scripts/Director.cs:67)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at /home/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:197)

Any idea how to fix this?

Can't get the DLL to load in Editor

Hi there,

I installed the mediapipe libraries and got the cpu examples to work.
I can also run your commands 'make cpu' and 'make install'.

Nonetheless I get the "DllNotFoundException: mediapipe_c" exception when running the CPU example scene. If I try to load the libmediapipe_c plugin on startup I get the following warning
"Plugins: Couldn't open Assets/MediaPipe/SDK/Plugins/libmediapipe_c.so, error: Assets/MediaPipe/SDK/Plugins/libmediapipe_c.so: undefined symbol: _ZN2cv6String8allocateEm"

I installed OpenCV as mentioned in the mediapipe installation guide. I am running on Ubuntu 18.04.5 LTS and Unity 2019.4.15f1

I would be grateful for any help.

WebGL support

hello!I want to ask WebGL support possible? Will it be possible to support WebGL in the future?

error during fetch of repo

Hello, I am new to bazel.
When I enter:
bazel build -c opt --copt -DMESA_EGL_NO_X11_HEADERS --copt -DEGL_NO_X11 //mediapipe_api:mediapipe_c

i get an error:

ERROR: An error occurred during the fetch of repository 'com_google_mediapipe':
Traceback (most recent call last):
File "C:/users/ershad/_bazel_ershad/owdbunvt/external/bazel_tools/tools/build_defs/repo/http.bzl", line 121
patch(ctx)
File "C:/users/ershad/_bazel_ershad/owdbunvt/external/bazel_tools/tools/build_defs/repo/utils.bzl", line 135, in patch
ctx.patch(patchfile, strip)
Not a regular file: C:/users/ershad/downloads/mediapipeunityplugin/mediapipeunityplugin-master/c/third_party/mediapipe_debug.diff

How do I fix this?

the C folder doesn't contain a mediapipe_debug.diff file either

ARM 64

Please add arm64 for android

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.