# 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. `InputImage.IMAGE_FORMAT_NV21` which corresponds to `ImageFormat.NV21`
2. `InputImage.IMAGE_FORMAT_YV12` which corresponds to `ImageFormat.YV12`
3. `
   InputImage.IMAGE_FORMAT_YUV_420_888` which corresponds to `
   ImageFormat.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() |