Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 1.11 KB

README.md

File metadata and controls

34 lines (27 loc) · 1.11 KB

mediapipe-issue200

MediaPipe example of how to readout Detection proto for Object Detection example

Related to MediaPipe github issue 200

2 file changes are reflected at https://gist.github.com/mgyong/7353474eb3e57ba95621632af274911a https://gist.github.com/mgyong/be027a075a5e7b082c566a78c3bc0d90

  1. Need to set NDK SDK to your path

  2. To build this

bazel build -c opt --define MEDIAPIPE_DISABLE_GPU=1 mediapipe/examples/desktop/object_detection:object_detection_out_cpu 
  1. To run object detection example
bazel-bin/mediapipe/examples/desktop/object_detection/object_detection_out_cpu --calculator_graph_config_file=mediapipe/graphs/object_detection/object_detection_desktop_live.pbtxt


INFO: Initialized TensorFlow Lite runtime.
label: "person"
score: 0.730482936
location_data {
  format: RELATIVE_BOUNDING_BOX
  relative_bounding_box {
    xmin: 0.215880126
    ymin: 0.346766353
    width: 0.617606759
    height: 0.647981644
  }
}