# InputImage.ImageFormat

public static abstract @interface **InputImage.ImageFormat** implements [Annotation](https://developer.android.com/reference/java/lang/annotation/Annotation.html) Accepted image format of vision APIs.

Supported values include:

1. `https://developers.google.com/android/reference/com/google/mlkit/vision/common/InputImage#IMAGE_FORMAT_NV21` which corresponds to `https://developer.android.com/reference/android/graphics/ImageFormat.html#NV21`
2. `https://developers.google.com/android/reference/com/google/mlkit/vision/common/InputImage#IMAGE_FORMAT_YV12` which corresponds to `https://developer.android.com/reference/android/graphics/ImageFormat.html#YV12`
3. `https://developers.google.com/android/reference/com/google/mlkit/vision/common/InputImage#IMAGE_FORMAT_YUV_420_888` which corresponds to `https://developer.android.com/reference/android/graphics/ImageFormat.html#YUV_420_888`

### Inherited Method Summary

From interface java.lang.annotation.Annotation

|---|---|
| abstract [Class](https://developer.android.com/reference/java/lang/Class.html)\<? extends [Annotation](https://developer.android.com/reference/java/lang/annotation/Annotation.html)\> | annotationType() |
| abstract boolean | equals([Object](https://developer.android.com/reference/java/lang/Object.html) arg0) |
| abstract int | hashCode() |
| abstract [String](https://developer.android.com/reference/java/lang/String.html) | toString() |