Skip to content

Commit

Permalink
Remove designated initializers
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 596949983
  • Loading branch information
MediaPipe Team authored and copybara-github committed Jan 9, 2024
1 parent 4950126 commit 09c821b
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -403,12 +403,12 @@ class HolisticLandmarkerGraph : public core::ModelTaskGraph {
kPoseLandmarksDetectorModelName, create_copy));

HolisticPoseTrackingRequest pose_request = {
.landmarks = HasOutput(holistic_node, "POSE_LANDMARKS") ||
hands_requested || face_requested,
.world_landmarks =
HasOutput(holistic_node, "POSE_WORLD_LANDMARKS") || hands_requested,
.segmentation_mask =
HasOutput(holistic_node, "POSE_SEGMENTATION_MASK")};
/*.landmarks=*/HasOutput(holistic_node, "POSE_LANDMARKS") ||
hands_requested || face_requested,
/*.world_landmarks=*/HasOutput(holistic_node, "POSE_WORLD_LANDMARKS") ||
hands_requested,
/*.segmentation_mask=*/
HasOutput(holistic_node, "POSE_SEGMENTATION_MASK")};

// Detect and track pose.
MP_ASSIGN_OR_RETURN(
Expand Down

0 comments on commit 09c821b

Please sign in to comment.