Add ".proto" suffix to gesture recognizer and object detector proto java package name. This aligns with the convention of image classifier and tasks core protos.
PiperOrigin-RevId: 481451842
This commit is contained in:
parent
f7da95a130
commit
2def7c8203
|
@ -21,7 +21,7 @@ import "mediapipe/framework/calculator.proto";
|
|||
import "mediapipe/tasks/cc/components/processors/proto/classifier_options.proto";
|
||||
import "mediapipe/tasks/cc/core/proto/base_options.proto";
|
||||
|
||||
option java_package = "com.google.mediapipe.tasks.vision.gesturerecognizer";
|
||||
option java_package = "com.google.mediapipe.tasks.vision.gesturerecognizer.proto";
|
||||
option java_outer_classname = "GestureClassifierGraphOptionsProto";
|
||||
|
||||
message GestureClassifierGraphOptions {
|
||||
|
|
|
@ -20,7 +20,7 @@ package mediapipe.tasks.vision.gesture_recognizer.proto;
|
|||
import "mediapipe/framework/calculator.proto";
|
||||
import "mediapipe/tasks/cc/core/proto/base_options.proto";
|
||||
|
||||
option java_package = "com.google.mediapipe.tasks.vision.gesturerecognizer";
|
||||
option java_package = "com.google.mediapipe.tasks.vision.gesturerecognizer.proto";
|
||||
option java_outer_classname = "GestureEmbedderGraphOptionsProto";
|
||||
|
||||
message GestureEmbedderGraphOptions {
|
||||
|
|
|
@ -22,7 +22,7 @@ import "mediapipe/tasks/cc/core/proto/base_options.proto";
|
|||
import "mediapipe/tasks/cc/vision/gesture_recognizer/proto/hand_gesture_recognizer_graph_options.proto";
|
||||
import "mediapipe/tasks/cc/vision/hand_landmarker/proto/hand_landmarker_graph_options.proto";
|
||||
|
||||
option java_package = "com.google.mediapipe.tasks.vision.gesturerecognizer";
|
||||
option java_package = "com.google.mediapipe.tasks.vision.gesturerecognizer.proto";
|
||||
option java_outer_classname = "GestureRecognizerGraphOptionsProto";
|
||||
|
||||
message GestureRecognizerGraphOptions {
|
||||
|
|
|
@ -23,7 +23,7 @@ import "mediapipe/tasks/cc/core/proto/base_options.proto";
|
|||
import "mediapipe/tasks/cc/vision/gesture_recognizer/proto/gesture_classifier_graph_options.proto";
|
||||
import "mediapipe/tasks/cc/vision/gesture_recognizer/proto/gesture_embedder_graph_options.proto";
|
||||
|
||||
option java_package = "com.google.mediapipe.tasks.vision.gesturerecognizer";
|
||||
option java_package = "com.google.mediapipe.tasks.vision.gesturerecognizer.proto";
|
||||
option java_outer_classname = "HandGestureRecognizerGraphOptionsProto";
|
||||
|
||||
message HandGestureRecognizerGraphOptions {
|
||||
|
|
|
@ -20,7 +20,7 @@ package mediapipe.tasks.vision.hand_detector.proto;
|
|||
import "mediapipe/framework/calculator.proto";
|
||||
import "mediapipe/tasks/cc/core/proto/base_options.proto";
|
||||
|
||||
option java_package = "com.google.mediapipe.tasks.vision.handdetector";
|
||||
option java_package = "com.google.mediapipe.tasks.vision.handdetector.proto";
|
||||
option java_outer_classname = "HandDetectorGraphOptionsProto";
|
||||
|
||||
message HandDetectorGraphOptions {
|
||||
|
|
|
@ -22,7 +22,7 @@ import "mediapipe/tasks/cc/core/proto/base_options.proto";
|
|||
import "mediapipe/tasks/cc/vision/hand_detector/proto/hand_detector_graph_options.proto";
|
||||
import "mediapipe/tasks/cc/vision/hand_landmarker/proto/hand_landmarks_detector_graph_options.proto";
|
||||
|
||||
option java_package = "com.google.mediapipe.tasks.vision.handlandmarker";
|
||||
option java_package = "com.google.mediapipe.tasks.vision.handlandmarker.proto";
|
||||
option java_outer_classname = "HandLandmarkerGraphOptionsProto";
|
||||
|
||||
message HandLandmarkerGraphOptions {
|
||||
|
|
|
@ -20,7 +20,7 @@ package mediapipe.tasks.vision.hand_landmarker.proto;
|
|||
import "mediapipe/framework/calculator.proto";
|
||||
import "mediapipe/tasks/cc/core/proto/base_options.proto";
|
||||
|
||||
option java_package = "com.google.mediapipe.tasks.vision.handlandmarker";
|
||||
option java_package = "com.google.mediapipe.tasks.vision.handlandmarker.proto";
|
||||
option java_outer_classname = "HandLandmarksDetectorGraphOptionsProto";
|
||||
|
||||
message HandLandmarksDetectorGraphOptions {
|
||||
|
|
|
@ -20,7 +20,7 @@ package mediapipe.tasks.vision.object_detector.proto;
|
|||
import "mediapipe/framework/calculator.proto";
|
||||
import "mediapipe/tasks/cc/core/proto/base_options.proto";
|
||||
|
||||
option java_package = "com.google.mediapipe.tasks.vision.objectdetector";
|
||||
option java_package = "com.google.mediapipe.tasks.vision.objectdetector.proto";
|
||||
option java_outer_classname = "ObjectDetectorOptionsProto";
|
||||
|
||||
message ObjectDetectorOptions {
|
||||
|
|
|
@ -37,9 +37,11 @@ import com.google.mediapipe.tasks.core.TaskRunner;
|
|||
import com.google.mediapipe.tasks.core.proto.BaseOptionsProto;
|
||||
import com.google.mediapipe.tasks.vision.core.BaseVisionTaskApi;
|
||||
import com.google.mediapipe.tasks.vision.core.RunningMode;
|
||||
import com.google.mediapipe.tasks.vision.handdetector.HandDetectorGraphOptionsProto;
|
||||
import com.google.mediapipe.tasks.vision.handlandmarker.HandLandmarkerGraphOptionsProto;
|
||||
import com.google.mediapipe.tasks.vision.handlandmarker.HandLandmarksDetectorGraphOptionsProto;
|
||||
import com.google.mediapipe.tasks.vision.gesturerecognizer.proto.GestureRecognizerGraphOptionsProto;
|
||||
import com.google.mediapipe.tasks.vision.gesturerecognizer.proto.HandGestureRecognizerGraphOptionsProto;
|
||||
import com.google.mediapipe.tasks.vision.handdetector.proto.HandDetectorGraphOptionsProto;
|
||||
import com.google.mediapipe.tasks.vision.handlandmarker.proto.HandLandmarkerGraphOptionsProto;
|
||||
import com.google.mediapipe.tasks.vision.handlandmarker.proto.HandLandmarksDetectorGraphOptionsProto;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.nio.ByteBuffer;
|
||||
|
|
|
@ -33,6 +33,7 @@ import com.google.mediapipe.tasks.core.TaskRunner;
|
|||
import com.google.mediapipe.tasks.core.proto.BaseOptionsProto;
|
||||
import com.google.mediapipe.tasks.vision.core.BaseVisionTaskApi;
|
||||
import com.google.mediapipe.tasks.vision.core.RunningMode;
|
||||
import com.google.mediapipe.tasks.vision.objectdetector.proto.ObjectDetectorOptionsProto;
|
||||
import com.google.mediapipe.formats.proto.DetectionProto.Detection;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
|
|
Loading…
Reference in New Issue
Block a user