Skip to content

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

License

Notifications You must be signed in to change notification settings

mgyong/mediapipe-issue200

Repository files navigation

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
  }
}

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published