From 3816951b8cbfcd70a05f2368d72979d2dbac6f78 Mon Sep 17 00:00:00 2001 From: Jiuqiang Tang Date: Fri, 30 Sep 2022 08:17:54 +0000 Subject: [PATCH] Fix the comment. PiperOrigin-RevId: 477925532 --- .../tasks/vision/objectdetector/ObjectDetector.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mediapipe/tasks/java/com/google/mediapipe/tasks/vision/objectdetector/ObjectDetector.java b/mediapipe/tasks/java/com/google/mediapipe/tasks/vision/objectdetector/ObjectDetector.java index c78d1baad..463ab4c43 100644 --- a/mediapipe/tasks/java/com/google/mediapipe/tasks/vision/objectdetector/ObjectDetector.java +++ b/mediapipe/tasks/java/com/google/mediapipe/tasks/vision/objectdetector/ObjectDetector.java @@ -292,7 +292,10 @@ public final class ObjectDetector extends BaseVisionTaskApi { */ public abstract Builder setRunningMode(RunningMode value); - /** Sets the maximum number of top-scored classification results to return. */ + /** + * Sets the locale to use for display names specified through the TFLite Model Metadata, if + * any. Defaults to English. + */ public abstract Builder setDisplayNamesLocale(String value); /**