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.
[null,null,["Last updated 2024-10-31 UTC."],[],["`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"],null,[]]