Add image_segmenter namespace and update image segmenter proto for java package.

PiperOrigin-RevId: 486792164
This commit is contained in:
MediaPipe Team
2022-11-07 16:24:16 -08:00
committed by Copybara-Service
parent 1a151d9ffb
commit 1049ef781d
11 changed files with 53 additions and 34 deletions
@@ -26,12 +26,12 @@ limitations under the License.
#include "mediapipe/tasks/cc/core/base_options.h"
#include "mediapipe/tasks/cc/vision/core/base_vision_task_api.h"
#include "mediapipe/tasks/cc/vision/core/image_processing_options.h"
#include "mediapipe/tasks/cc/vision/image_segmenter/proto/image_segmenter_options.pb.h"
#include "tensorflow/lite/kernels/register.h"
namespace mediapipe {
namespace tasks {
namespace vision {
namespace image_segmenter {
// The options for configuring a mediapipe image segmenter task.
struct ImageSegmenterOptions {
@@ -191,6 +191,7 @@ class ImageSegmenter : tasks::vision::core::BaseVisionTaskApi {
absl::Status Close() { return runner_->Close(); }
};
} // namespace image_segmenter
} // namespace vision
} // namespace tasks
} // namespace mediapipe