# denormalize

Python API: `depthai_nodes.node.parsers.utils.denormalize`

## Functions

### unnormalize_image

```python
def unnormalize_image(image, normalize=True):
```

Un-normalize an image tensor by scaling it to the [0, 255] range.

Parameters

 * `image` (`np.ndarray`): The normalized image tensor of shape (H, W, C) or (C, H, W).
 * `normalize` (`bool`): Whether to normalize the image tensor. Defaults to True.

Returns

 * `np.ndarray`: The un-normalized image.
