public static class SubjectSegmenterOptions.Builder extends Object
Builder class for
SubjectSegmenterOptions
.
Public Constructor Summary
Builder()
|
Public Method Summary
SubjectSegmenterOptions |
build()
|
SubjectSegmenterOptions.Builder |
enableForegroundBitmap()
Enables foreground bitmap in
SubjectSegmentationResult .
|
SubjectSegmenterOptions.Builder |
enableForegroundConfidenceMask()
Enables foreground confidence mask in
SubjectSegmentationResult .
|
SubjectSegmenterOptions.Builder |
enableMultipleSubjects(SubjectSegmenterOptions.SubjectResultOptions
options)
Enables multiple subjects in
SubjectSegmentationResult .
|
SubjectSegmenterOptions.Builder |
Inherited Method Summary
Public Constructors
public Builder ()
Public Methods
public SubjectSegmenterOptions build ()
public SubjectSegmenterOptions.Builder enableForegroundBitmap ()
Enables foreground bitmap in
SubjectSegmentationResult
.
Returns
- this object, for chaining method calls
public SubjectSegmenterOptions.Builder enableForegroundConfidenceMask ()
Enables foreground confidence mask in
SubjectSegmentationResult
.
Returns
- this object, for chaining method calls
public SubjectSegmenterOptions.Builder enableMultipleSubjects (SubjectSegmenterOptions.SubjectResultOptions options)
Enables multiple subjects in
SubjectSegmentationResult
.
Returns
- this object, for chaining method calls