google-ai-edge / mediapipe

Cross-platform, customizable ML solutions for live and streaming media.
https://ai.google.dev/edge/mediapipe
Apache License 2.0
27.58k stars 5.16k forks source link

Use more than one calculaor (hand tracking and face detection) in a same Android app #2277

Closed Moufdi96 closed 3 years ago

Moufdi96 commented 3 years ago

Hello, I am new to Mediapipe, I am currently working on an Android application in which I am brought to perform both real-time face detection and hand tracking. Now integrating each calculator separately by adding the Mediapipe ARR into the libs directory of android studio works just fine, but when I try to add both AARs of "Hand tracking" and "Face detection " to run them simultaneously I have some kind of dependency conflicts and class duplication issues, , am I doing something wrong if yes how could I integrate two Mediapipe models in one Android project ?? please any help would be very appreciated. I have this errors below:

Duplicate class com.google.mediapipe.components.AudioDataConsumer found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.components.AudioDataProcessor found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.components.AudioDataProducer found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.components.CameraHelper found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.components.CameraHelper$CameraFacing found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.components.CameraHelper$OnCameraStartedListener found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.components.CameraXPreviewHelper found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.components.CameraXPreviewHelper$SingleThreadHandlerExecutor found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.components.ExternalTextureConverter found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.components.ExternalTextureConverter$RenderThread found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.components.ExternalTextureConverter$RenderThread$PoolTextureFrame found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.components.FrameProcessor found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.components.FrameProcessor$1 found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.components.FrameProcessor$2 found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.components.FrameProcessor$ErrorListener found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.components.FrameProcessor$OnWillAddFrameListener found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.components.MicrophoneHelper found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.components.PermissionHelper found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.components.TextureFrameConsumer found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.components.TextureFrameProcessor found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.components.TextureFrameProducer found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.annotation.proto.RasterizationProto found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.annotation.proto.RasterizationProto$1 found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.annotation.proto.RasterizationProto$Rasterization found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.annotation.proto.RasterizationProto$Rasterization$Builder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.annotation.proto.RasterizationProto$Rasterization$Interval found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.annotation.proto.RasterizationProto$Rasterization$Interval$Builder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.annotation.proto.RasterizationProto$Rasterization$IntervalOrBuilder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.annotation.proto.RasterizationProto$RasterizationOrBuilder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.DetectionProto found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.DetectionProto$1 found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.DetectionProto$Detection found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.DetectionProto$Detection$AssociatedDetection found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.DetectionProto$Detection$AssociatedDetection$Builder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.DetectionProto$Detection$AssociatedDetectionOrBuilder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.DetectionProto$Detection$Builder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.DetectionProto$DetectionList found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.DetectionProto$DetectionList$Builder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.DetectionProto$DetectionListOrBuilder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.DetectionProto$DetectionOrBuilder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LandmarkProto found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LandmarkProto$1 found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LandmarkProto$Landmark found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LandmarkProto$Landmark$Builder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LandmarkProto$LandmarkList found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LandmarkProto$LandmarkList$Builder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LandmarkProto$LandmarkListOrBuilder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LandmarkProto$LandmarkOrBuilder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LandmarkProto$NormalizedLandmark found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LandmarkProto$NormalizedLandmark$Builder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LandmarkProto$NormalizedLandmarkList found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LandmarkProto$NormalizedLandmarkList$Builder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LandmarkProto$NormalizedLandmarkListOrBuilder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LandmarkProto$NormalizedLandmarkOrBuilder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LocationDataProto found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LocationDataProto$1 found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LocationDataProto$LocationData found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LocationDataProto$LocationData$BinaryMask found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LocationDataProto$LocationData$BinaryMask$Builder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LocationDataProto$LocationData$BinaryMaskOrBuilder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LocationDataProto$LocationData$BoundingBox found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LocationDataProto$LocationData$BoundingBox$Builder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LocationDataProto$LocationData$BoundingBoxOrBuilder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LocationDataProto$LocationData$Builder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LocationDataProto$LocationData$Format found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LocationDataProto$LocationData$Format$1 found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LocationDataProto$LocationData$Format$FormatVerifier found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LocationDataProto$LocationData$RelativeBoundingBox found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LocationDataProto$LocationData$RelativeBoundingBox$Builder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LocationDataProto$LocationData$RelativeBoundingBoxOrBuilder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LocationDataProto$LocationData$RelativeKeypoint found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LocationDataProto$LocationData$RelativeKeypoint$Builder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LocationDataProto$LocationData$RelativeKeypointOrBuilder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.formats.proto.LocationDataProto$LocationDataOrBuilder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.AndroidAssetUtil found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.AndroidPacketCreator found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.AndroidPacketGetter found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.AppTextureFrame found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.AssetCache found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.AssetCacheDbHelper found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.AssetCacheDbHelper$AssetCacheEntry found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.Compat found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.GlSyncToken found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.Graph found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.Graph$1 found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.Graph$PacketBufferItem found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.GraphGlSyncToken found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.GraphProfiler found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.GraphService found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.GraphTextureFrame found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.MediaPipeException found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.MediaPipeException$StatusCode found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.MediaPipeRunner found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.Packet found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.PacketCallback found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.PacketCreator found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.PacketGetter found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.PacketGetter$PacketPair found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.PacketWithHeaderCallback found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.ProtoUtil found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.ProtoUtil$SerializedMessage found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.SurfaceOutput found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.TextureFrame found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.TextureReleaseCallback found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.TypeNameRegistry found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.TypeNameRegistryConcrete found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.framework.TypeNameRegistryLite found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.glutil.CommonShaders found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.glutil.EglManager found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.glutil.ExternalTextureRenderer found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.glutil.ExternalTextureRenderer$Vertex found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.glutil.GlThread found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.glutil.ShaderUtil found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.glutil.TextureRenderer found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.proto.CalculatorProto found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.proto.CalculatorProto$1 found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.proto.CalculatorProto$CalculatorGraphConfig found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.proto.CalculatorProto$CalculatorGraphConfig$Builder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.proto.CalculatorProto$CalculatorGraphConfig$Node found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.proto.CalculatorProto$CalculatorGraphConfig$Node$Builder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.proto.CalculatorProto$CalculatorGraphConfig$NodeOrBuilder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.proto.CalculatorProto$CalculatorGraphConfigOrBuilder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.proto.CalculatorProto$ExecutorConfig found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.proto.CalculatorProto$ExecutorConfig$Builder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.proto.CalculatorProto$ExecutorConfigOrBuilder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.proto.CalculatorProto$InputCollection found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.proto.CalculatorProto$InputCollection$Builder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.proto.CalculatorProto$InputCollection$InputType found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.proto.CalculatorProto$InputCollection$InputType$1 found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.proto.CalculatorProto$InputCollection$InputType$InputTypeVerifier found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.proto.CalculatorProto$InputCollectionOrBuilder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.proto.CalculatorProto$InputCollectionSet found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.proto.CalculatorProto$InputCollectionSet$Builder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.proto.CalculatorProto$InputCollectionSetOrBuilder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.proto.CalculatorProto$InputStreamInfo found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.proto.CalculatorProto$InputStreamInfo$Builder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.proto.CalculatorProto$InputStreamInfoOrBuilder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.proto.CalculatorProto$ProfilerConfig found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.proto.CalculatorProto$ProfilerConfig$Builder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Duplicate class com.google.mediapipe.proto.CalculatorProto$ProfilerConfigOrBuilder found in modules mediapipe_face_detection-runtime.jar (mediapipe_face_detection.aar) and mp_multi_hand_aar-runtime.jar (mp_multi_hand_aar.aar) Go to the documentation to learn how to Fix dependency resolution errors.

Moufdi96 commented 3 years ago

@sgowroji , @jiuqiant someone could answer please it's urgent !

sgowroji commented 3 years ago

This is another approach you can try https://github.com/google/mediapipe/issues/2256#issuecomment-876427454

Moufdi96 commented 3 years ago

@sgowroji thanks for your response, I am aware of the holistic Model, my use-case requires multi-face and multi-hand detection the holistic model does not allow that unfortunately as there is the pose estimation (only one person is detected)! I am looking to combine just the face and hand detection.

sgowroji commented 3 years ago

Hi @Moufdi96, I would request you to wait for a few more weeks, to get the best API update in Android. Otherwise, you can still move with my above approach by adding multi face and multi hand detection support in your solution using this.

google-ml-butler[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you.

google-ml-butler[bot] commented 3 years ago

Are you satisfied with the resolution of your issue? Yes No