Project import generated by Copybara.
GitOrigin-RevId: 1e13be30e2c6838d4a2ff768a39c414bc80534bb
This commit is contained in:
committed by
Sebastian Schmidt
parent
63e679d99c
commit
4dc4b19ddb
+14
-14
@@ -21,7 +21,7 @@ that is available online.
|
||||
through a graph configuration that is pasted into the graph editor or
|
||||
uploaded. The user can visualize and troubleshoot a graph they have created.
|
||||
|
||||

|
||||

|
||||
|
||||
## Working within the Editor
|
||||
|
||||
@@ -29,12 +29,12 @@ Getting Started:
|
||||
|
||||
The graph can be modified by adding and editing code in the Editor view.
|
||||
|
||||

|
||||

|
||||
|
||||
* Pressing the "New" button in the upper right corner will clear any existing
|
||||
code in the Editor window.
|
||||
|
||||

|
||||

|
||||
|
||||
* Pressing the "Upload" button will prompt the user to select a local PBTXT
|
||||
file, which will overwrite the current code within the editor.
|
||||
@@ -43,7 +43,7 @@ The graph can be modified by adding and editing code in the Editor view.
|
||||
|
||||
* Errors and informational messages will appear in the Feedback window.
|
||||
|
||||

|
||||

|
||||
|
||||
## Understanding the Graph
|
||||
|
||||
@@ -53,24 +53,24 @@ The visualizer graph shows the connections between calculator nodes.
|
||||
enter the top of any calculator receiving the stream. (Notice the use of the
|
||||
key, "input_stream" and "output_stream").
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
* Sidepackets work the same, except that they exit a node on the right and
|
||||
enter on the left. (Notice the use of the key, "input_side_packet" and
|
||||
"output_side_packet").
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
* There are special nodes that represent inputs and outputs to the graph and
|
||||
can supply either side packets or streams.
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
## Visualizing Subgraphs
|
||||
|
||||
@@ -91,16 +91,16 @@ To visualize them:
|
||||
* In the MediaPipe visualizer, click on the upload graph button and select the
|
||||
2 pbtxt files to visualize (main graph and its associated subgraph).
|
||||
|
||||

|
||||

|
||||
|
||||

|
||||

|
||||
|
||||
* There will be 2 additional tabs. The main graph tab is
|
||||
`hand_detection_mobile.pbtxt`.
|
||||
|
||||

|
||||

|
||||
|
||||
* Clicking on the `HandDetection` node in purple redirects the view to the
|
||||
`hand_detection_gpu.pbtxt` tab.
|
||||
|
||||

|
||||

|
||||
|
||||
Reference in New Issue
Block a user