FirebaseVisionCloudDetectorOptions.Builder

public static class FirebaseVisionCloudDetectorOptions.Builder extends Object

Public Constructor Summary

Public Method Summary

FirebaseVisionCloudDetectorOptions
FirebaseVisionCloudDetectorOptions.Builder
setMaxResults(int maxResults)
Sets maximum number of results of this type.
FirebaseVisionCloudDetectorOptions.Builder
setModelType(int model)
Sets model type for the detection.

Inherited Method Summary

Public Constructors

public FirebaseVisionCloudDetectorOptions.Builder ()

Public Methods

public FirebaseVisionCloudDetectorOptions.Builder setMaxResults (int maxResults)

Sets maximum number of results of this type. It will be ignored by FirebaseVisionCloudTextDetector and FirebaseVisionCloudDocumentTextDetector.

Default is 10.

public FirebaseVisionCloudDetectorOptions.Builder setModelType (int model)

Sets model type for the detection.

Default is STABLE_MODEL.

Send feedback about...

Need help? Visit our support page.