Exports gesture recognizer related proto as Java package.

PiperOrigin-RevId: 480735444
This commit is contained in:
MediaPipe Team 2022-10-12 15:39:55 -07:00 committed by Copybara-Service
parent 179824a21d
commit 12c323ffde
6 changed files with 18 additions and 0 deletions

View File

@ -21,6 +21,9 @@ import "mediapipe/framework/formats/classification.proto";
import "mediapipe/framework/formats/landmark.proto"; import "mediapipe/framework/formats/landmark.proto";
import "mediapipe/framework/formats/rect.proto"; import "mediapipe/framework/formats/rect.proto";
option java_package = "com.google.mediapipe.tasks.components.containers.proto";
option java_outer_classname = "LandmarksDetectionResultProto";
message LandmarksDetectionResult { message LandmarksDetectionResult {
optional mediapipe.NormalizedLandmarkList landmarks = 1; optional mediapipe.NormalizedLandmarkList landmarks = 1;
optional mediapipe.ClassificationList classifications = 2; optional mediapipe.ClassificationList classifications = 2;

View File

@ -21,6 +21,9 @@ import "mediapipe/framework/calculator.proto";
import "mediapipe/tasks/cc/components/processors/proto/classifier_options.proto"; import "mediapipe/tasks/cc/components/processors/proto/classifier_options.proto";
import "mediapipe/tasks/cc/core/proto/base_options.proto"; import "mediapipe/tasks/cc/core/proto/base_options.proto";
option java_package = "com.google.mediapipe.tasks.vision.gesturerecognizer";
option java_outer_classname = "GestureClassifierGraphOptionsProto";
message GestureClassifierGraphOptions { message GestureClassifierGraphOptions {
extend mediapipe.CalculatorOptions { extend mediapipe.CalculatorOptions {
optional GestureClassifierGraphOptions ext = 478825465; optional GestureClassifierGraphOptions ext = 478825465;

View File

@ -20,6 +20,9 @@ package mediapipe.tasks.vision.gesture_recognizer.proto;
import "mediapipe/framework/calculator.proto"; import "mediapipe/framework/calculator.proto";
import "mediapipe/tasks/cc/core/proto/base_options.proto"; import "mediapipe/tasks/cc/core/proto/base_options.proto";
option java_package = "com.google.mediapipe.tasks.vision.gesturerecognizer";
option java_outer_classname = "GestureEmbedderGraphOptionsProto";
message GestureEmbedderGraphOptions { message GestureEmbedderGraphOptions {
extend mediapipe.CalculatorOptions { extend mediapipe.CalculatorOptions {
optional GestureEmbedderGraphOptions ext = 478825422; optional GestureEmbedderGraphOptions ext = 478825422;

View File

@ -23,6 +23,9 @@ 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_classifier_graph_options.proto";
import "mediapipe/tasks/cc/vision/gesture_recognizer/proto/gesture_embedder_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_outer_classname = "HandGestureRecognizerGraphOptionsProto";
message HandGestureRecognizerGraphOptions { message HandGestureRecognizerGraphOptions {
extend mediapipe.CalculatorOptions { extend mediapipe.CalculatorOptions {
optional HandGestureRecognizerGraphOptions ext = 463370452; optional HandGestureRecognizerGraphOptions ext = 463370452;

View File

@ -22,6 +22,9 @@ 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_detector/proto/hand_detector_graph_options.proto";
import "mediapipe/tasks/cc/vision/hand_landmarker/proto/hand_landmarks_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_outer_classname = "HandLandmarkerGraphOptionsProto";
message HandLandmarkerGraphOptions { message HandLandmarkerGraphOptions {
extend mediapipe.CalculatorOptions { extend mediapipe.CalculatorOptions {
optional HandLandmarkerGraphOptions ext = 462713202; optional HandLandmarkerGraphOptions ext = 462713202;

View File

@ -20,6 +20,9 @@ package mediapipe.tasks.vision.hand_landmarker.proto;
import "mediapipe/framework/calculator.proto"; import "mediapipe/framework/calculator.proto";
import "mediapipe/tasks/cc/core/proto/base_options.proto"; import "mediapipe/tasks/cc/core/proto/base_options.proto";
option java_package = "com.google.mediapipe.tasks.vision.handlandmarker";
option java_outer_classname = "HandLandmarksDetectorGraphOptionsProto";
message HandLandmarksDetectorGraphOptions { message HandLandmarksDetectorGraphOptions {
extend mediapipe.CalculatorOptions { extend mediapipe.CalculatorOptions {
optional HandLandmarksDetectorGraphOptions ext = 474472470; optional HandLandmarksDetectorGraphOptions ext = 474472470;