ImageLabelerOptionsBase
Stay organized with collections
Save and categorize content based on your preferences.
Public Method Summary
boolean |
equals( Object o)
Indicates whether some other object is "equal to" this one.
|
int |
hashCode()
Returns a hash code value for the object.
|
Inherited Method Summary
From class java.lang.Object
Object
|
clone()
|
boolean |
|
void |
finalize()
|
final Class<?>
|
getClass()
|
int |
hashCode()
|
final void |
notify()
|
final void |
notifyAll()
|
String
|
toString()
|
final void |
wait(long arg0, int arg1)
|
final void |
wait(long arg0)
|
final void |
wait()
|
Public Methods
public boolean equals (Object o)
Indicates whether some other object is "equal to" this one.
public int hashCode ()
Returns a hash code value for the object.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eImageLabelerOptionsBase\u003c/code\u003e is an abstract class that serves as the base for configuring ML Kit's Image Labeler.\u003c/p\u003e\n"],["\u003cp\u003eIt offers options for using either a default or custom model for image labeling through its concrete subclasses, \u003ccode\u003eImageLabelerOptions\u003c/code\u003e and \u003ccode\u003eCustomImageLabelerOptions\u003c/code\u003e, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes basic methods like \u003ccode\u003eequals()\u003c/code\u003e and \u003ccode\u003ehashCode()\u003c/code\u003e for object comparison.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers should use the concrete subclasses (\u003ccode\u003eImageLabelerOptions\u003c/code\u003e or \u003ccode\u003eCustomImageLabelerOptions\u003c/code\u003e) to create and configure an \u003ccode\u003eImageLabeler\u003c/code\u003e instance.\u003c/p\u003e\n"]]],["`ImageLabelerOptionsBase` is an abstract class serving as the base for `ImageLabeler` options. It has two direct subclasses: `CustomImageLabelerOptions` for custom models and `ImageLabelerOptions` for the default model. Key actions include checking object equality via the `equals` method and generating a hash code for an object using the `hashCode` method. The class also inherits standard object methods from `java.lang.Object` like `clone` and `toString`.\n"],null,["public abstract class **ImageLabelerOptionsBase** extends [Object](//developer.android.com/reference/java/lang/Object.html) \n\n|---|---|---|\n| Known Direct Subclasses [CustomImageLabelerOptions](/android/reference/com/google/mlkit/vision/label/custom/CustomImageLabelerOptions), [ImageLabelerOptions](/android/reference/com/google/mlkit/vision/label/defaults/ImageLabelerOptions) |----------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------| | [CustomImageLabelerOptions](/android/reference/com/google/mlkit/vision/label/custom/CustomImageLabelerOptions) | Options for [ImageLabeler](/android/reference/com/google/mlkit/vision/label/ImageLabeler) with custom models. | | [ImageLabelerOptions](/android/reference/com/google/mlkit/vision/label/defaults/ImageLabelerOptions) | Options for [ImageLabeler](/android/reference/com/google/mlkit/vision/label/ImageLabeler) with default model. | |||\n\nBase options for [ImageLabeler](/android/reference/com/google/mlkit/vision/label/ImageLabeler).\n\nConcrete child classes include [ImageLabelerOptions](/android/reference/com/google/mlkit/vision/label/defaults/ImageLabelerOptions)\nand [CustomImageLabelerOptions](/android/reference/com/google/mlkit/vision/label/custom/CustomImageLabelerOptions). \n\nPublic Method Summary\n\n|---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| boolean | [equals](/android/reference/com/google/mlkit/vision/label/ImageLabelerOptionsBase#equals(java.lang.Object))([Object](//developer.android.com/reference/java/lang/Object.html) o) Indicates whether some other object is \"equal to\" this one. |\n| int | [hashCode](/android/reference/com/google/mlkit/vision/label/ImageLabelerOptionsBase#hashCode())() Returns a hash code value for the object. |\n\nInherited Method Summary \nFrom class java.lang.Object \n\n|----------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| [Object](//developer.android.com/reference/java/lang/Object.html) | clone() |\n| boolean | equals([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| void | finalize() |\n| final [Class](//developer.android.com/reference/java/lang/Class.html)\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| [String](//developer.android.com/reference/java/lang/String.html) | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Methods \n\npublic boolean **equals** ([Object](//developer.android.com/reference/java/lang/Object.html) o) \nIndicates whether some other object is \"equal to\" this one. \n\npublic int **hashCode** () \nReturns a hash code value for the object."]]