AI-generated Key Takeaways
-
SubjectSegmenterOptions.SubjectResultOptions.Builder
is used to customize the output of the Subject Segmentation process. -
It allows developers to enable a confidence mask, which provides pixel-level confidence values for the segmented subject.
-
It also allows developers to enable a subject bitmap, which provides a bitmap representation of the segmented subject.
-
The
build()
method is used to create an immutable instance ofSubjectSegmenterOptions.SubjectResultOptions
with the specified settings.
Builder class for
SubjectSegmenterOptions.SubjectResultOptions
.
Public Constructor Summary
Builder()
|
Public Method Summary
SubjectSegmenterOptions.SubjectResultOptions |
build()
|
SubjectSegmenterOptions.SubjectResultOptions.Builder |
enableConfidenceMask()
Enables confidence mask for segmented
Subject s.
|
SubjectSegmenterOptions.SubjectResultOptions.Builder |
enableSubjectBitmap()
Enables subject bitmap for segmented
Subject s.
|
Inherited Method Summary
Public Constructors
public Builder ()
Public Methods
public SubjectSegmenterOptions.SubjectResultOptions build ()
public SubjectSegmenterOptions.SubjectResultOptions.Builder enableConfidenceMask ()
Enables confidence mask for segmented Subject
s.
Returns
- this object, for chaining method calls
public SubjectSegmenterOptions.SubjectResultOptions.Builder enableSubjectBitmap ()
Enables subject bitmap for segmented Subject
s.
Returns
- this object, for chaining method calls