diff --git a/WORKSPACE b/WORKSPACE index d9f618629..b935a70d7 100644 --- a/WORKSPACE +++ b/WORKSPACE @@ -111,14 +111,11 @@ new_local_repository( http_archive( name = "android_opencv", - sha256="cd7e5d5ec76eeddadf36a1cfe5197129328e80287d4d198c169e090421f838ba", + sha256="056b849842e4fa8751d09edbb64530cfa7a63c84ccd232d0ace330e27ba55d0b", build_file = "@//third_party:opencv_android.BUILD", strip_prefix = "OpenCV-android-sdk", type = "zip", - urls = [ - "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", - ], + url = "https://github.com/opencv/opencv/releases/download/4.1.0/opencv-4.1.0-android-sdk.zip", ) RULES_JVM_EXTERNAL_TAG = "2.2" diff --git a/mediapipe/calculators/core/BUILD b/mediapipe/calculators/core/BUILD index e4fdd0bed..bdf655805 100644 --- a/mediapipe/calculators/core/BUILD +++ b/mediapipe/calculators/core/BUILD @@ -132,9 +132,7 @@ cc_library( cc_library( name = "previous_loopback_calculator", srcs = ["previous_loopback_calculator.cc"], - visibility = [ - "//visibility:public", - ], + visibility = ["//visibility:public"], deps = [ "//mediapipe/framework:calculator_framework", "//mediapipe/framework:packet", @@ -149,9 +147,7 @@ cc_library( cc_library( name = "real_time_flow_limiter_calculator", srcs = ["real_time_flow_limiter_calculator.cc"], - visibility = [ - "//visibility:public", - ], + visibility = ["//visibility:public"], deps = [ "//mediapipe/framework:calculator_framework", "//mediapipe/framework:packet", diff --git a/mediapipe/calculators/image/BUILD b/mediapipe/calculators/image/BUILD index 9a3bbbe4d..2221c698d 100644 --- a/mediapipe/calculators/image/BUILD +++ b/mediapipe/calculators/image/BUILD @@ -173,9 +173,7 @@ cc_library( cc_library( name = "set_alpha_calculator", srcs = ["set_alpha_calculator.cc"], - visibility = [ - "//visibility:public", - ], + visibility = ["//visibility:public"], deps = [ ":set_alpha_calculator_cc_proto", "//mediapipe/framework:calculator_options_cc_proto", @@ -294,9 +292,7 @@ cc_library( cc_library( name = "recolor_calculator", srcs = ["recolor_calculator.cc"], - visibility = [ - "//visibility:public", - ], + visibility = ["//visibility:public"], deps = [ ":recolor_calculator_cc_proto", "//mediapipe/framework:calculator_framework", diff --git a/mediapipe/calculators/tflite/BUILD b/mediapipe/calculators/tflite/BUILD index 65a955cad..374f0f11e 100644 --- a/mediapipe/calculators/tflite/BUILD +++ b/mediapipe/calculators/tflite/BUILD @@ -112,9 +112,7 @@ mediapipe_cc_proto_library( cc_library( name = "ssd_anchors_calculator", srcs = ["ssd_anchors_calculator.cc"], - visibility = [ - "//visibility:public", - ], + visibility = ["//visibility:public"], deps = [ ":ssd_anchors_calculator_cc_proto", "//mediapipe/framework:calculator_framework", @@ -128,9 +126,7 @@ cc_library( cc_library( name = "tflite_custom_op_resolver_calculator", srcs = ["tflite_custom_op_resolver_calculator.cc"], - visibility = [ - "//visibility:public", - ], + visibility = ["//visibility:public"], deps = [ ":tflite_custom_op_resolver_calculator_cc_proto", "//mediapipe/framework:calculator_framework", diff --git a/mediapipe/calculators/util/BUILD b/mediapipe/calculators/util/BUILD index b9f0875c8..44eb4334a 100644 --- a/mediapipe/calculators/util/BUILD +++ b/mediapipe/calculators/util/BUILD @@ -220,9 +220,7 @@ cc_test( cc_library( name = "annotation_overlay_calculator", srcs = ["annotation_overlay_calculator.cc"], - visibility = [ - "//visibility:public", - ], + visibility = ["//visibility:public"], deps = [ ":annotation_overlay_calculator_cc_proto", "//mediapipe/framework:calculator_options_cc_proto", @@ -251,9 +249,7 @@ cc_library( cc_library( name = "detection_label_id_to_text_calculator", srcs = ["detection_label_id_to_text_calculator.cc"], - visibility = [ - "//visibility:public", - ], + visibility = ["//visibility:public"], deps = [ ":detection_label_id_to_text_calculator_cc_proto", "//mediapipe/framework/formats:detection_cc_proto", @@ -357,9 +353,7 @@ cc_test( cc_library( name = "detection_letterbox_removal_calculator", srcs = ["detection_letterbox_removal_calculator.cc"], - visibility = [ - "//visibility:public", - ], + visibility = ["//visibility:public"], deps = [ "//mediapipe/framework:calculator_framework", "//mediapipe/framework/formats:detection_cc_proto", diff --git a/mediapipe/docs/visualizer.md b/mediapipe/docs/visualizer.md index 250bd9b21..e35a0dc7c 100644 --- a/mediapipe/docs/visualizer.md +++ b/mediapipe/docs/visualizer.md @@ -1,11 +1,12 @@ ## Visualizing MediaPipe Graphs - [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 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 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_code.png){width="350"} -