Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 568927297
  • Loading branch information
MediaPipe Team authored and copybara-github committed Sep 27, 2023
1 parent 61ce228 commit 787371c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions mediapipe/python/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ pybind_extension(
"@stblib//:stb_image",
# Type registration.
"//mediapipe/framework:basic_types_registration",
"//mediapipe/framework/formats:body_rig_registration",
"//mediapipe/framework/formats:classification_registration",
"//mediapipe/framework/formats:detection_registration",
"//mediapipe/framework/formats:landmark_registration",
Expand Down
7 changes: 7 additions & 0 deletions mediapipe/python/solution_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class contains the shared logic among the high-level Solution APIs including
from mediapipe.calculators.util import logic_calculator_pb2
from mediapipe.calculators.util import thresholding_calculator_pb2
from mediapipe.framework import calculator_pb2
from mediapipe.framework.formats import body_rig_pb2
from mediapipe.framework.formats import classification_pb2
from mediapipe.framework.formats import detection_pb2
from mediapipe.framework.formats import landmark_pb2
Expand Down Expand Up @@ -192,6 +193,12 @@ def from_registered_name(registered_name: str) -> 'PacketDataType':
PacketDataType.PROTO_LIST,
'::std::vector<::mediapipe::NormalizedRect>':
PacketDataType.PROTO_LIST,
'::mediapipe::Joint':
PacketDataType.PROTO,
'::mediapipe::JointList':
PacketDataType.PROTO,
'::std::vector<::mediapipe::JointList>':
PacketDataType.PROTO_LIST,
}


Expand Down

0 comments on commit 787371c

Please sign in to comment.