Project import generated by Copybara.
PiperOrigin-RevId: 255714511
This commit is contained in:
parent
8a2d10ca99
commit
37c93d54a5
|
@ -111,14 +111,11 @@ new_local_repository(
|
||||||
|
|
||||||
http_archive(
|
http_archive(
|
||||||
name = "android_opencv",
|
name = "android_opencv",
|
||||||
sha256="cd7e5d5ec76eeddadf36a1cfe5197129328e80287d4d198c169e090421f838ba",
|
sha256="056b849842e4fa8751d09edbb64530cfa7a63c84ccd232d0ace330e27ba55d0b",
|
||||||
build_file = "@//third_party:opencv_android.BUILD",
|
build_file = "@//third_party:opencv_android.BUILD",
|
||||||
strip_prefix = "OpenCV-android-sdk",
|
strip_prefix = "OpenCV-android-sdk",
|
||||||
type = "zip",
|
type = "zip",
|
||||||
urls = [
|
url = "https://github.com/opencv/opencv/releases/download/4.1.0/opencv-4.1.0-android-sdk.zip",
|
||||||
"https://sourceforge.net/projects/opencvlibrary/files/4.0.1/opencv-4.0.1-android-sdk.zip/download",
|
|
||||||
"https://github.com/opencv/opencv/releases/download/4.1.0/opencv-4.1.0-android-sdk.zip",
|
|
||||||
],
|
|
||||||
)
|
)
|
||||||
|
|
||||||
RULES_JVM_EXTERNAL_TAG = "2.2"
|
RULES_JVM_EXTERNAL_TAG = "2.2"
|
||||||
|
|
|
@ -132,9 +132,7 @@ cc_library(
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "previous_loopback_calculator",
|
name = "previous_loopback_calculator",
|
||||||
srcs = ["previous_loopback_calculator.cc"],
|
srcs = ["previous_loopback_calculator.cc"],
|
||||||
visibility = [
|
visibility = ["//visibility:public"],
|
||||||
"//visibility:public",
|
|
||||||
],
|
|
||||||
deps = [
|
deps = [
|
||||||
"//mediapipe/framework:calculator_framework",
|
"//mediapipe/framework:calculator_framework",
|
||||||
"//mediapipe/framework:packet",
|
"//mediapipe/framework:packet",
|
||||||
|
@ -149,9 +147,7 @@ cc_library(
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "real_time_flow_limiter_calculator",
|
name = "real_time_flow_limiter_calculator",
|
||||||
srcs = ["real_time_flow_limiter_calculator.cc"],
|
srcs = ["real_time_flow_limiter_calculator.cc"],
|
||||||
visibility = [
|
visibility = ["//visibility:public"],
|
||||||
"//visibility:public",
|
|
||||||
],
|
|
||||||
deps = [
|
deps = [
|
||||||
"//mediapipe/framework:calculator_framework",
|
"//mediapipe/framework:calculator_framework",
|
||||||
"//mediapipe/framework:packet",
|
"//mediapipe/framework:packet",
|
||||||
|
|
|
@ -173,9 +173,7 @@ cc_library(
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "set_alpha_calculator",
|
name = "set_alpha_calculator",
|
||||||
srcs = ["set_alpha_calculator.cc"],
|
srcs = ["set_alpha_calculator.cc"],
|
||||||
visibility = [
|
visibility = ["//visibility:public"],
|
||||||
"//visibility:public",
|
|
||||||
],
|
|
||||||
deps = [
|
deps = [
|
||||||
":set_alpha_calculator_cc_proto",
|
":set_alpha_calculator_cc_proto",
|
||||||
"//mediapipe/framework:calculator_options_cc_proto",
|
"//mediapipe/framework:calculator_options_cc_proto",
|
||||||
|
@ -294,9 +292,7 @@ cc_library(
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "recolor_calculator",
|
name = "recolor_calculator",
|
||||||
srcs = ["recolor_calculator.cc"],
|
srcs = ["recolor_calculator.cc"],
|
||||||
visibility = [
|
visibility = ["//visibility:public"],
|
||||||
"//visibility:public",
|
|
||||||
],
|
|
||||||
deps = [
|
deps = [
|
||||||
":recolor_calculator_cc_proto",
|
":recolor_calculator_cc_proto",
|
||||||
"//mediapipe/framework:calculator_framework",
|
"//mediapipe/framework:calculator_framework",
|
||||||
|
|
|
@ -112,9 +112,7 @@ mediapipe_cc_proto_library(
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "ssd_anchors_calculator",
|
name = "ssd_anchors_calculator",
|
||||||
srcs = ["ssd_anchors_calculator.cc"],
|
srcs = ["ssd_anchors_calculator.cc"],
|
||||||
visibility = [
|
visibility = ["//visibility:public"],
|
||||||
"//visibility:public",
|
|
||||||
],
|
|
||||||
deps = [
|
deps = [
|
||||||
":ssd_anchors_calculator_cc_proto",
|
":ssd_anchors_calculator_cc_proto",
|
||||||
"//mediapipe/framework:calculator_framework",
|
"//mediapipe/framework:calculator_framework",
|
||||||
|
@ -128,9 +126,7 @@ cc_library(
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "tflite_custom_op_resolver_calculator",
|
name = "tflite_custom_op_resolver_calculator",
|
||||||
srcs = ["tflite_custom_op_resolver_calculator.cc"],
|
srcs = ["tflite_custom_op_resolver_calculator.cc"],
|
||||||
visibility = [
|
visibility = ["//visibility:public"],
|
||||||
"//visibility:public",
|
|
||||||
],
|
|
||||||
deps = [
|
deps = [
|
||||||
":tflite_custom_op_resolver_calculator_cc_proto",
|
":tflite_custom_op_resolver_calculator_cc_proto",
|
||||||
"//mediapipe/framework:calculator_framework",
|
"//mediapipe/framework:calculator_framework",
|
||||||
|
|
|
@ -220,9 +220,7 @@ cc_test(
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "annotation_overlay_calculator",
|
name = "annotation_overlay_calculator",
|
||||||
srcs = ["annotation_overlay_calculator.cc"],
|
srcs = ["annotation_overlay_calculator.cc"],
|
||||||
visibility = [
|
visibility = ["//visibility:public"],
|
||||||
"//visibility:public",
|
|
||||||
],
|
|
||||||
deps = [
|
deps = [
|
||||||
":annotation_overlay_calculator_cc_proto",
|
":annotation_overlay_calculator_cc_proto",
|
||||||
"//mediapipe/framework:calculator_options_cc_proto",
|
"//mediapipe/framework:calculator_options_cc_proto",
|
||||||
|
@ -251,9 +249,7 @@ cc_library(
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "detection_label_id_to_text_calculator",
|
name = "detection_label_id_to_text_calculator",
|
||||||
srcs = ["detection_label_id_to_text_calculator.cc"],
|
srcs = ["detection_label_id_to_text_calculator.cc"],
|
||||||
visibility = [
|
visibility = ["//visibility:public"],
|
||||||
"//visibility:public",
|
|
||||||
],
|
|
||||||
deps = [
|
deps = [
|
||||||
":detection_label_id_to_text_calculator_cc_proto",
|
":detection_label_id_to_text_calculator_cc_proto",
|
||||||
"//mediapipe/framework/formats:detection_cc_proto",
|
"//mediapipe/framework/formats:detection_cc_proto",
|
||||||
|
@ -357,9 +353,7 @@ cc_test(
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "detection_letterbox_removal_calculator",
|
name = "detection_letterbox_removal_calculator",
|
||||||
srcs = ["detection_letterbox_removal_calculator.cc"],
|
srcs = ["detection_letterbox_removal_calculator.cc"],
|
||||||
visibility = [
|
visibility = ["//visibility:public"],
|
||||||
"//visibility:public",
|
|
||||||
],
|
|
||||||
deps = [
|
deps = [
|
||||||
"//mediapipe/framework:calculator_framework",
|
"//mediapipe/framework:calculator_framework",
|
||||||
"//mediapipe/framework/formats:detection_cc_proto",
|
"//mediapipe/framework/formats:detection_cc_proto",
|
||||||
|
|
|
@ -1,11 +1,12 @@
|
||||||
## Visualizing MediaPipe Graphs
|
## Visualizing MediaPipe Graphs
|
||||||
|
|
||||||
- [Working within the editor](#working-within-the-editor)
|
- [Working within the editor](#working-within-the-editor)
|
||||||
- [Understanding the Graph](#understanding-the-graph)
|
- [Understanding the graph](#understanding-the-graph)
|
||||||
|
|
||||||
To help users understand the structure of their calculator graphs and to
|
To help users understand the structure of their calculator graphs and to
|
||||||
understand the overall behavior of their machine learning inference pipelines,
|
understand the overall behavior of their machine learning inference pipelines,
|
||||||
we have built the [MediaPipe Visualizer](https://viz.mediapipe.dev/) that is available online.
|
we have built the [MediaPipe Visualizer](https://viz.mediapipe.dev/)
|
||||||
|
that is available online.
|
||||||
|
|
||||||
* A graph view allows users to see a connected calculator graph as expressed
|
* A graph view allows users to see a connected calculator graph as expressed
|
||||||
through a graph configuration that is pasted into the graph editor or
|
through a graph configuration that is pasted into the graph editor or
|
||||||
|
@ -58,4 +59,3 @@ The visualizer graph shows the connections between calculator nodes.
|
||||||
|
|
||||||
![Special nodes](./images/special_nodes.png){width="350"}
|
![Special nodes](./images/special_nodes.png){width="350"}
|
||||||
![Special nodes](./images/special_nodes_code.png){width="350"}
|
![Special nodes](./images/special_nodes_code.png){width="350"}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user