Remove the use of designated initializers.
PiperOrigin-RevId: 486215798
This commit is contained in:
parent
5e1a2fcdbb
commit
c10ebe8476
|
@ -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)]};
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user