title: MediaPipe how to use the BoxTracking aar?
body: <p>Being new to MediaPipe, I am not familiar with concept of graph, node, subgraph etc.</p>
  <p>After building an aar file of <a href="https://google.github.io/mediapipe/solutions/box_tracking.html" rel="nofollow noreferrer">BoxTracking</a>, unable to run it within a Android Studio gradle based project due to some unknown input and output parameters required by model</p>
  <p>On comparing <a href="https://github.com/google/mediapipe/blob/master/mediapipe/graphs/hand_tracking/subgraphs/hand_renderer_gpu.pbtxt" rel="nofollow noreferrer">HandTracking graph</a>
  and <a href="https://github.com/google/mediapipe/blob/master/mediapipe/graphs/tracking/subgraphs/box_tracking_gpu.pbtxt" rel="nofollow noreferrer">BoxTracking graph</a> using the <a href="https://viz.mediapipe.dev/" rel="nofollow noreferrer">visualizer</a> tool and with <a href="https://github.com/jiuqiant/mediapipe_multi_hands_tracking_aar_example" rel="nofollow noreferrer">a working project of HandTracking</a> with aar file added as lib, I added new required input streams and side packets as seen in the graph.</p>
  <p>Results are always some errors, mainly due to something wrong in inputs or BoxTracking being a subgraph which is used directly. How to know which input is required and data type of input to run this?</p>
  <pre><code>2021-02-05 21:15:23.477 22514-22564/com.example.mediapipemultihandstrackingapp E/FrameProcessor: Mediapipe error: 
  com.google.mediapipe.framework.MediaPipeException: internal: Graph has errors: 
  Calculator::Open() for node &quot;objectdetectionsubgraphgpu__TfLiteInferenceCalculator&quot; failed: ; could not read asset: ssdlite_object_detection.tfliteer_util.cc:158) 
      at com.google.mediapipe.framework.Graph.nativeMovePacketToInputStream(Native Method)
      at com.google.mediapipe.framework.Graph.addConsumablePacketToInputStream(Graph.java:360)
      at com.google.mediapipe.components.FrameProcessor.onNewFrame(FrameProcessor.java:442)
      at com.google.mediapipe.components.ExternalTextureConverter$RenderThread.renderNext(ExternalTextureConverter.java:364)
      at com.google.mediapipe.components.ExternalTextureConverter$RenderThread.lambda$onFrameAvailable$0$ExternalTextureConverter$RenderThread(ExternalTextureConverter.java:309)
      at com.google.mediapipe.components.-$$Lambda$ExternalTextureConverter$RenderThread$Y1vV_XyLsWZ0ebOvq-iwjQ0H3Sw.run(Unknown Source:4)
      at android.os.Handler.handleCallback(Handler.java:883)
      at android.os.Handler.dispatchMessage(Handler.java:100)
      at android.os.Looper.loop(Looper.java:237)
      at com.google.mediapipe.glutil.GlThread.run(GlThread.java:141)
  </code></pre>