Image Types

Learn how to decode raw image data into pixel data using TensorFlow.

Chapter Goals:

  • Decode raw byte data into usable pixel data
  • Understand the relationship between channels and pixels

A. Decoding

We'll now decode the raw byte data into usable pixel data. The decoding function that we use depends on the format of the image. If the input is a PNG image then we use tf.io.decode_png, and if the input is a JPEG image we use tf.io.decode_jpeg ...

Access this course and 1400+ top-rated courses and projects.