Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings

tfio.experimental.image.decode_jpeg_exif

View source on GitHub

Decode Exif information from an JPEG image.

tfio.experimental.image.decode_jpeg_exif(
    contents, name=None
)

TODO: Add additional fields besides orientation.

Args:

  • contents: A Tensor of type string. 0-D. The JPEG-encoded image.
  • name: A name for the operation (optional).

Returns:

A Tensor of type int64 for orientation.