Remove the use of designated initializers.

PiperOrigin-RevId: 486215798
This commit is contained in:
Jiuqiang Tang 2022-11-04 13:21:40 -07:00 committed by Copybara-Service
parent 5e1a2fcdbb
commit c10ebe8476

View File

@ -273,11 +273,12 @@ class GestureRecognizerGraph : public core::ModelTaskGraph {
hand_gesture_subgraph[Output<std::vector<ClassificationList>>( hand_gesture_subgraph[Output<std::vector<ClassificationList>>(
kHandGesturesTag)]; kHandGesturesTag)];
return {{.gesture = hand_gestures, return GestureRecognizerOutputs{
.handedness = handedness, /*gesture=*/hand_gestures,
.hand_landmarks = hand_landmarks, /*handedness=*/handedness,
.hand_world_landmarks = hand_world_landmarks, /*hand_landmarks=*/hand_landmarks,
.image = hand_landmarker_graph[Output<Image>(kImageTag)]}}; /*hand_world_landmarks=*/hand_world_landmarks,
/*image=*/hand_landmarker_graph[Output<Image>(kImageTag)]};
} }
}; };