# CustomImageLabelerOptions

public class **CustomImageLabelerOptions** extends [ImageLabelerOptionsBase](https://developers.google.com/android/reference/com/google/mlkit/vision/label/ImageLabelerOptionsBase)  
Options for `https://developers.google.com/android/reference/com/google/mlkit/vision/label/ImageLabeler`
with custom models.

Confidence threshold and max result count could be provided for the labeling result.

For example, if the confidence threshold is set to 0.7, only result with confidence \>=
0.7 would be returned; if the max result count is set to 5, the maximum number of returned
results would be 5.

### Nested Class Summary

|---|---|---|---|
| class | [CustomImageLabelerOptions.Builder](https://developers.google.com/android/reference/com/google/mlkit/vision/label/custom/CustomImageLabelerOptions.Builder) || Builder of `https://developers.google.com/android/reference/com/google/mlkit/vision/label/custom/CustomImageLabelerOptions`. |

### Public Method Summary

|---|---|
| boolean | [equals](https://developers.google.com/android/reference/com/google/mlkit/vision/label/custom/CustomImageLabelerOptions#equals(java.lang.Object))([Object](https://developer.android.com/reference/java/lang/Object.html) o) Indicates whether some other object is "equal to" this one. |
| int | [hashCode](https://developers.google.com/android/reference/com/google/mlkit/vision/label/custom/CustomImageLabelerOptions#hashCode())() Returns a hash code value for the object. |
| [String](https://developer.android.com/reference/java/lang/String.html) | [toString](https://developers.google.com/android/reference/com/google/mlkit/vision/label/custom/CustomImageLabelerOptions#toString())() |

### Inherited Method Summary

From class [com.google.mlkit.vision.label.ImageLabelerOptionsBase](https://developers.google.com/android/reference/com/google/mlkit/vision/label/ImageLabelerOptionsBase)

|---|---|
| boolean | [equals](https://developers.google.com/android/reference/com/google/mlkit/vision/label/ImageLabelerOptionsBase#equals(java.lang.Object))([Object](https://developer.android.com/reference/java/lang/Object.html) o) Indicates whether some other object is "equal to" this one. |
| int | [hashCode](https://developers.google.com/android/reference/com/google/mlkit/vision/label/ImageLabelerOptionsBase#hashCode())() Returns a hash code value for the object. |

From class java.lang.Object

|---|---|
| [Object](https://developer.android.com/reference/java/lang/Object.html) | clone() |
| boolean | equals([Object](https://developer.android.com/reference/java/lang/Object.html) arg0) |
| void | finalize() |
| final [Class](https://developer.android.com/reference/java/lang/Class.html)\<?\> | getClass() |
| int | hashCode() |
| final void | notify() |
| final void | notifyAll() |
| [String](https://developer.android.com/reference/java/lang/String.html) | toString() |
| final void | wait(long arg0, int arg1) |
| final void | wait(long arg0) |
| final void | wait() |

## Public Methods

#### public boolean **equals** ([Object](https://developer.android.com/reference/java/lang/Object.html) o)

Indicates whether some other object is "equal to" this one.

#### public int **hashCode** ()

Returns a hash code value for the object.

#### public [String](https://developer.android.com/reference/java/lang/String.html) **toString** ()