From 7b091dbe5330bd4e3952153587bba65857315dee Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Wed, 13 Sep 2023 11:35:34 -0700 Subject: [PATCH] Fix missing exports for FilesetResolver and static constants PiperOrigin-RevId: 565113006 --- .../web/vision/face_landmarker/face_landmarker.ts | 10 ++++++++++ .../vision/gesture_recognizer/gesture_recognizer.ts | 1 + .../web/vision/hand_landmarker/hand_landmarker.ts | 1 + .../web/vision/pose_landmarker/pose_landmarker.ts | 1 + 4 files changed, 13 insertions(+) diff --git a/mediapipe/tasks/web/vision/face_landmarker/face_landmarker.ts b/mediapipe/tasks/web/vision/face_landmarker/face_landmarker.ts index 08569e98a..8c0fa7be4 100644 --- a/mediapipe/tasks/web/vision/face_landmarker/face_landmarker.ts +++ b/mediapipe/tasks/web/vision/face_landmarker/face_landmarker.ts @@ -122,30 +122,35 @@ export class FaceLandmarker extends VisionTaskRunner { /** * Landmark connections to draw the connection between a face's lips. * @export + * @nocollapse */ static FACE_LANDMARKS_LIPS = FACE_LANDMARKS_LIPS; /** * Landmark connections to draw the connection between a face's left eye. * @export + * @nocollapse */ static FACE_LANDMARKS_LEFT_EYE = FACE_LANDMARKS_LEFT_EYE; /** * Landmark connections to draw the connection between a face's left eyebrow. * @export + * @nocollapse */ static FACE_LANDMARKS_LEFT_EYEBROW = FACE_LANDMARKS_LEFT_EYEBROW; /** * Landmark connections to draw the connection between a face's left iris. * @export + * @nocollapse */ static FACE_LANDMARKS_LEFT_IRIS = FACE_LANDMARKS_LEFT_IRIS; /** * Landmark connections to draw the connection between a face's right eye. * @export + * @nocollapse */ static FACE_LANDMARKS_RIGHT_EYE = FACE_LANDMARKS_RIGHT_EYE; @@ -153,30 +158,35 @@ export class FaceLandmarker extends VisionTaskRunner { * Landmark connections to draw the connection between a face's right * eyebrow. * @export + * @nocollapse */ static FACE_LANDMARKS_RIGHT_EYEBROW = FACE_LANDMARKS_RIGHT_EYEBROW; /** * Landmark connections to draw the connection between a face's right iris. * @export + * @nocollapse */ static FACE_LANDMARKS_RIGHT_IRIS = FACE_LANDMARKS_RIGHT_IRIS; /** * Landmark connections to draw the face's oval. * @export + * @nocollapse */ static FACE_LANDMARKS_FACE_OVAL = FACE_LANDMARKS_FACE_OVAL; /** * Landmark connections to draw the face's contour. * @export + * @nocollapse */ static FACE_LANDMARKS_CONTOURS = FACE_LANDMARKS_CONTOURS; /** * Landmark connections to draw the face's tesselation. * @export + * @nocollapse */ static FACE_LANDMARKS_TESSELATION = FACE_LANDMARKS_TESSELATION; diff --git a/mediapipe/tasks/web/vision/gesture_recognizer/gesture_recognizer.ts b/mediapipe/tasks/web/vision/gesture_recognizer/gesture_recognizer.ts index 4127bc9ad..295d64f28 100644 --- a/mediapipe/tasks/web/vision/gesture_recognizer/gesture_recognizer.ts +++ b/mediapipe/tasks/web/vision/gesture_recognizer/gesture_recognizer.ts @@ -77,6 +77,7 @@ export class GestureRecognizer extends VisionTaskRunner { * An array containing the pairs of hand landmark indices to be rendered with * connections. * @export + * @nocollapse */ static HAND_CONNECTIONS = HAND_CONNECTIONS; diff --git a/mediapipe/tasks/web/vision/hand_landmarker/hand_landmarker.ts b/mediapipe/tasks/web/vision/hand_landmarker/hand_landmarker.ts index 344eb5885..6b65362a7 100644 --- a/mediapipe/tasks/web/vision/hand_landmarker/hand_landmarker.ts +++ b/mediapipe/tasks/web/vision/hand_landmarker/hand_landmarker.ts @@ -69,6 +69,7 @@ export class HandLandmarker extends VisionTaskRunner { * An array containing the pairs of hand landmark indices to be rendered with * connections. * @export + * @nocollapse */ static HAND_CONNECTIONS = HAND_CONNECTIONS; diff --git a/mediapipe/tasks/web/vision/pose_landmarker/pose_landmarker.ts b/mediapipe/tasks/web/vision/pose_landmarker/pose_landmarker.ts index d38ccbf15..8bca6bc6d 100644 --- a/mediapipe/tasks/web/vision/pose_landmarker/pose_landmarker.ts +++ b/mediapipe/tasks/web/vision/pose_landmarker/pose_landmarker.ts @@ -77,6 +77,7 @@ export class PoseLandmarker extends VisionTaskRunner { * An array containing the pairs of pose landmark indices to be rendered with * connections. * @export + * @nocollapse */ static POSE_CONNECTIONS: Connection[] = [ {start: 0, end: 1}, {start: 1, end: 2}, {start: 2, end: 3},