InputImage.ImageFormat
Stay organized with collections
Save and categorize content based on your preferences.
Inherited Method Summary
From interface java.lang.annotation.Annotation
abstract Class<? extends Annotation>
|
annotationType()
|
abstract boolean |
|
abstract int |
hashCode()
|
abstract String
|
toString()
|
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."],[[["`InputImage.ImageFormat` is an annotation that specifies the accepted image format for ML Kit Vision APIs."],["Supported formats include NV21, YV12, and YUV_420_888, corresponding to their respective Android `ImageFormat` constants."],["This annotation inherits methods from the `Annotation` interface, such as `annotationType()`, `equals()`, `hashCode()`, and `toString()`."]]],["`InputImage.ImageFormat` defines acceptable image formats for vision APIs. It supports three specific formats: `IMAGE_FORMAT_NV21`, `IMAGE_FORMAT_YV12`, and `IMAGE_FORMAT_YUV_420_888`. Each of these corresponds to standard Android `ImageFormat` types like `NV21`, `YV12`, and `YUV_420_888`, respectively. This annotation interface inherits methods from `java.lang.annotation.Annotation`, including `annotationType()`, `equals()`, `hashCode()`, and `toString()`, for use in class method.\n"]]