Skip to content

Commit

Permalink
chore: comment differences from the original config
Browse files Browse the repository at this point in the history
  • Loading branch information
homuler committed Jan 16, 2021
1 parent d8d2f54 commit 5e2574d
Show file tree
Hide file tree
Showing 22 changed files with 147 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Copied from mediapipe/graphs/face_detection/face_detection_desktop_live.pbtxt
#
# CHANGES:
# - Add ImageTransformationCalculator and rotate the input
# - Remove AnnotationOverlayCalculator
# - Add PacketPresenceCalculator

# CPU buffer. (ImageFrame)
input_stream: "input_video"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Copied from mediapipe/graphs/face_detection/face_detection_mobile_gpu.pbtxt
#
# CHANGES:
# - `input_video` is ImageFrame (ImageFrameToGpuBufferCalculator converts it into GpuBuffer)
# - Add ImageTransformationCalculator and rotate the input
# - Remove AnnotationOverlayCalculator
# - Add PacketPresenceCalculator

# ImageFrame
input_stream: "input_video"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Copied from mediapipe/graphs/face_mesh/face_mesh_mobile.pbtxt
#
# CHANGES:
# - Add ImageTransformationCalculator and rotate the input
# - Remove FaceRendererGpu
# - Add PacketPresenceCalculators

# MediaPipe graph that performs face mesh with TensorFlow Lite on GPU.

# GPU buffer. (GpuBuffer)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Copied from mediapipe/graphs/face_mesh/face_mesh_desktop_live.pbtxt
#
# CHANGES:
# - Add ImageTransformationCalculator and rotate the input
# - Remove FaceRendererCpu
# - Add PacketPresenceCalculators

# MediaPipe graph that performs face mesh with TensorFlow Lite on CPU.

# Input image. (ImageFrame)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Copied from mediapipe/graphs/face_mesh/face_mesh_mobile.pbtxt
#
# CHANGES:
# - `input_video` is ImageFrame (ImageFrameToGpuBufferCalculator converts it into GpuBuffer)
# - Add ImageTransformationCalculator and rotate the input
# - Remove FaceRendererGpu
# - Add PacketPresenceCalculators

# MediaPipe graph that performs face mesh with TensorFlow Lite on GPU.

# Input image. (ImageFrame)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Copied from mediapipe/graphs/hair_segmentation/hair_segmentation_mobile_gpu.pbtxt
#
# CHANGES:
# - ImageTransformationCalculator rotates the input
# - Remove RecolorCalculator

# MediaPipe graph that performs hair segmentation with TensorFlow Lite on GPU.
# Used in the example in
# mediapipie/examples/android/src/java/com/mediapipe/apps/hairsegmentationgpu.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Copied from mediapipe/graphs/hair_segmentation/hair_segmentation_mobile_gpu.pbtxt
#
# CHANGES:
# - `input_video` is ImageFrame (ImageFrameToGpuBufferCalculator converts it into GpuBuffer)
# - ImageTransformationCalculator rotates the input
# - Remove RecolorCalculator

# MediaPipe graph that performs hair segmentation with TensorFlow Lite on GPU.
# Used in the example in
# mediapipie/examples/android/src/java/com/mediapipe/apps/hairsegmentationgpu.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Copied from mediapipe/graphs/hand_tracking/hand_tracking_mobile.pbtxt
#
# CHANGES:
# - Add ImageTransformationCalculator and rotate the input
# - Remove HandRendererSubgraph
# - Add PacketPresenceCalculators

# MediaPipe graph that performs multi-hand tracking with TensorFlow Lite on GPU.
# Used in the examples in
# mediapipe/examples/android/src/java/com/mediapipe/apps/multihandtrackinggpu.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Copied from mediapipe/graphs/hand_tracking/hand_tracking_desktop_live.pbtxt
#
# CHANGES:
# - Add ImageTransformationCalculator and rotate the input
# - Remove HandRendererSubgraph
# - Add PacketPresenceCalculators

# MediaPipe graph that performs hand tracking on desktop with TensorFlow Lite
# on CPU.
# Used in the example in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Copied from mediapipe/graphs/hand_tracking/hand_tracking_mobile.pbtxt
#
# CHANGES:
# - `input_video` is ImageFrame (ImageFrameToGpuBufferCalculator converts it into GpuBuffer)
# - Add ImageTransformationCalculator and rotate the input
# - Remove HandRendererSubgraph
# - Add PacketPresenceCalculators

# MediaPipe graph that performs multi-hand tracking with TensorFlow Lite on GPU.
# Used in the examples in
# mediapipe/examples/android/src/java/com/mediapipe/apps/multihandtrackinggpu.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Copied from mediapipe/graphs/iris_tracking/iris_tracking_gpu.pbtxt
#
# CHANGES:
# - Add ImageTransformationCalculator and rotate the input
# - Remove IrisAndDepthRendererGpu
# - Add PacketPresenceCalculators

# MediaPipe graph that performs iris tracking with TensorFlow Lite on GPU.
# Used in the examples in
# mediapipie/examples/android/src/java/com/mediapipe/apps/iristrackinggpu and
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Copied from mediapipe/graphs/iris_tracking/iris_tracking_cpu.pbtxt
#
# CHANGES:
# - Add ImageTransformationCalculator and rotate the input
# - Remove IrisRendererCpu
# - Add PacketPresenceCalculators

# MediaPipe graph that performs iris tracking on desktop with TensorFlow Lite
# on CPU.
# Used in the example in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Copied from mediapipe/graphs/iris_tracking/iris_tracking_gpu.pbtxt
#
# CHANGES:
# - `input_video` is ImageFrame (ImageFrameToGpuBufferCalculator converts it into GpuBuffer)
# - Add ImageTransformationCalculator and rotate the input
# - Remove IrisAndDepthRendererGpu
# - Add PacketPresenceCalculators

# MediaPipe graph that performs iris tracking with TensorFlow Lite on GPU.
# Used in the examples in
# mediapipie/examples/android/src/java/com/mediapipe/apps/iristrackinggpu and
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Copied from mediapipe/graphs/object_detection/object_detection_mobile_gpu.pbtxt
#
# CHANGES:
# - ImageTransformationCalculator rotates the input
# - Remove AnnotationOverlayCalculator

# MediaPipe graph that performs object detection with TensorFlow Lite on GPU.
# Used in the examples in
# mediapipe/examples/android/src/java/com/mediapipe/apps/objectdetectiongpu and
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Copied from mediapipe/graphs/object_detection/object_detection_mobile_cpu.pbtxt
#
# CHANGES:
# - ImageTransformationCalculator rotates the input
# - Remove AnnotationOverlayCalculator

# MediaPipe graph that performs object detection with TensorFlow Lite on CPU.
# Used in the examples in
# mediapipe/examples/desktop/object_detection:object_detection_cpu.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Copied from mediapipe/graphs/object_detection/object_detection_mobile_gpu.pbtxt
#
# CHANGES:
# - `input_video` is ImageFrame (ImageFrameToGpuBufferCalculator converts it into GpuBuffer)
# - ImageTransformationCalculator rotates the input
# - Remove AnnotationOverlayCalculator

# MediaPipe graph that performs object detection with TensorFlow Lite on GPU.
# Used in the examples in
# mediapipe/examples/android/src/java/com/mediapipe/apps/objectdetectiongpu and
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# This file is OfficialDemoGPU's config file.
# This file is OfficialDemoAndroid's config file (Copied from mediapipe/graphs/hand_tracking/hand_tracking_mobile.pbtxt).
#
# CHANGES:
# - Add ImageTransformationCalculator
# - Add comments
# - Add ImageTransformationCalculator and rotate the input
# - Add GlScalerCalculator and flips the output

# MediaPipe graph that performs multi-hand tracking with TensorFlow Lite on GPU.
# Used in the examples in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# This file is OfficialDemoCPU's config file.
# This file is OfficialDemoDesktopCPU's config file (Copied from mediapipe/graphs/hand_tracking/hand_tracking_desktop_live.pbtxt).
#
# CHANGES:
# - add FlowLimiterCalculator
# - add ImageTransformationCalculator
# - use SidePacket instead of ConstantSidePacketCalculator
# - add comments
# - Add FlowLimiterCalculator
# - Add ImageTransformationCalculator and rotate the input
# - Use SidePacket instead of ConstantSidePacketCalculator

# MediaPipe graph that performs hands tracking on desktop with TensorFlow
# Lite on CPU.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# This file is OfficialDemoGPU's config file.
# This file is OfficialDemoDesktopGPU's config file (Copied from mediapipe/graphs/hand_tracking/hand_tracking_mobile.pbtxt).
#
# CHANGES:
# - Add ImageTransformationCalculator
# - Add comments
# - `input_video` is ImageFrame (ImageFrameToGpuBufferCalculator converts it into GpuBuffer)
# - Add ImageTransformationCalculator and rotate the input
# - Add GlScalerCalculator and flips the output
# - `output_video` is ImageFrame

# MediaPipe graph that performs multi-hand tracking with TensorFlow Lite on GPU.
# Used in the examples in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Copied from mediapipe/graphs/pose_tracking/upper_body_pose_tracking_gpu.pbtxt
#
# CHANGES:
# - Add ImageTransformationCalculator and rotate the input
# - Remove UpperBodyPoseRendererGpu
# - Add PacketPresenceCalculators

# MediaPipe graph that performs upper-body pose tracking with TensorFlow Lite on GPU.

input_stream: "input_video"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Copied from mediapipe/graphs/pose_tracking/upper_body_pose_tracking_cpu.pbtxt
#
# CHANGES:
# - Add ImageTransformationCalculator and rotate the input
# - Remove UpperBodyPoseRendererCpu
# - Add PacketPresenceCalculators

# MediaPipe graph that performs upper-body pose tracking with TensorFlow Lite on CPU.

input_stream: "input_video"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Copied from mediapipe/graphs/pose_tracking/upper_body_pose_tracking_gpu.pbtxt
#
# CHANGES:
# - `input_video` is ImageFrame (ImageFrameToGpuBufferCalculator converts it into GpuBuffer)
# - Add ImageTransformationCalculator and rotate the input
# - Remove UpperBodyPoseRendererGpu
# - Add PacketPresenceCalculators

# MediaPipe graph that performs upper-body pose tracking with TensorFlow Lite on GPU.

input_stream: "input_video"
Expand Down

0 comments on commit 5e2574d

Please sign in to comment.