Use model bundle for gesture recognizer.

PiperOrigin-RevId: 482960305
This commit is contained in:
MediaPipe Team
2022-10-21 21:54:34 -07:00
committed by Copybara-Service
parent 404323f631
commit d8006a2f87
15 changed files with 309 additions and 229 deletions
@@ -39,12 +39,6 @@ struct GestureRecognizerOptions {
// model file with metadata, accelerator options, op resolver, etc.
tasks::core::BaseOptions base_options;
// TODO: remove these. Temporary solutions before bundle asset is
// ready.
tasks::core::BaseOptions base_options_for_hand_landmarker;
tasks::core::BaseOptions base_options_for_hand_detector;
tasks::core::BaseOptions base_options_for_gesture_recognizer;
// The running mode of the task. Default to the image mode.
// GestureRecognizer has three running modes:
// 1) The image mode for recognizing hand gestures on single image inputs.