diff --git a/mediapipe/tasks/python/components/containers/keypoint.py b/mediapipe/tasks/python/components/containers/keypoint.py index ef70c00b9..ef91d0950 100644 --- a/mediapipe/tasks/python/components/containers/keypoint.py +++ b/mediapipe/tasks/python/components/containers/keypoint.py @@ -40,7 +40,7 @@ class NormalizedKeypoint: x: Optional[float] = None y: Optional[float] = None label: Optional[str] = None - score: Optional[str] = None + score: Optional[float] = None @doc_controls.do_not_generate_docs def to_pb2(self) -> _RelativeKeypointProto: