# tfio.experimental.image.decode_obj

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/io/blob/v0.24.0/tensorflow_io/python/experimental/image_ops.py#L213-L225) |

Decode a Wavefront (obj) file into a float32 tensor.

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

<br />

<br />

<br />

| ## Args ||
|---|---|
| `contents` | A 0-dimensional Tensor of type string, i.e the content of the Wavefront (.obj) file. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A `Tensor` of type `float32` and shape of `[n, 3]` for vertices. ||

<br />