Image metadata used by FirebaseVision
detectors.
| class | FirebaseVisionImageMetadata.Builder | Builder class of
FirebaseVisionImageMetadata. |
|
| @interface | FirebaseVisionImageMetadata.ImageFormat | Accepted image format of vision APIs. | |
| @interface | FirebaseVisionImageMetadata.Rotation | Indicates the image rotation. | |
| int | IMAGE_FORMAT_NV21 | See NV21 |
| int | IMAGE_FORMAT_YV12 | See YV12 |
| int | ROTATION_0 | 0 degree rotation (natural orientation). |
| int | ROTATION_180 | 180 degree rotation. |
| int | ROTATION_270 | 270 degree rotation. |
| int | ROTATION_90 | 90 degree rotation. |
|
FirebaseVisionImageMetadata(FirebaseVisionImageMetadata
metadata)
Copies the content of another
FirebaseVisionImageMetadata.
|
| int |
getFormat()
Gets the specified format of the image.
|
| int |
getHeight()
Gets the specified height of the image.
|
| int |
getRotation()
Gets the specified rotation of the image.
|
| int |
getWidth()
Gets the specified width of the image.
|
See NV21
See YV12
0 degree rotation (natural orientation).
180 degree rotation.
270 degree rotation.
90 degree rotation.
Copies the content of another
FirebaseVisionImageMetadata.
Gets the specified format of the image.
Gets the specified height of the image.
Gets the specified rotation of the image.
Gets the specified width of the image.