Change SegmentationOptions.builder() to be public

PiperOrigin-RevId: 558864872
This commit is contained in:
MediaPipe Team 2023-08-21 12:16:01 -07:00 committed by Copybara-Service
parent 737c103940
commit ae9e945e0c

View File

@ -775,7 +775,7 @@ public final class ImageSegmenter extends BaseVisionTaskApi {
abstract ImageProcessingOptions imageProcessingOptions(); abstract ImageProcessingOptions imageProcessingOptions();
static Builder builder() { public static Builder builder() {
return new AutoValue_ImageSegmenter_SegmentationOptions.Builder() return new AutoValue_ImageSegmenter_SegmentationOptions.Builder()
.setImageProcessingOptions(ImageProcessingOptions.builder().build()); .setImageProcessingOptions(ImageProcessingOptions.builder().build());
} }