What is the steps to do to build mediapipe as a standalone aar library to be integrated in a project ?
same problem
same problem
We will be looking into this
@aminm2a @lqz @ZhangWen0301
Pls note in MediaPipe v0.6.3 we released support for building AAR
The instruction said to "put the following code into mediapipe/examples/android/src/java/com/google/mediapipe/apps/aar_example/BUILD"
But I looked in v0.6.3 linked above, and there's no aar_example in the said folder.
I don't know how to proceed, can someone comment on what I am missing?
@aminm2a @lqz @ZhangWen0301
Pls note in MediaPipe v0.6.3 we released support for building AAR
Can there be more help documents, such as how to use the interface?
load(“//mediapipe/java/com/google/mediapipe:mediapipe_aar.bzl”, “mediapipe_aar”)
mediapipe_aar(
name = “mp_object_detection_aar”,
calculators = [“//mediapipe/graphs/object_detection:mobile_calculators”],
)
https://medium.com/@doquocbao_91868/build-object-detection-mediapipe-aar-and-integrate-in-smart-mirror-running-on-careos-c074db846313
actually there's official guide
https://google.github.io/mediapipe/getting_started/android_archive_library.html
but it doesn't mention how to deal with binary size the answer is – add --linkopt="-s" to bazel build command. As described here.
Most helpful comment
@aminm2a @lqz @ZhangWen0301
Pls note in MediaPipe v0.6.3 we released support for building AAR