Commit bd6b14be authored by Lamping, Christian's avatar Lamping, Christian
Browse files

Update utils.py

parent 906c062e
......@@ -551,6 +551,11 @@ def apply_mask(image, mask, color, alpha=0.5):
image[:, :, c])
return image
def display_image(image):
plt.figure(figsize=(14, 14))
plt.imshow(image)
plt.show()
def display_images(images, titles=None, cols=4, cmap=None, norm=None,
interpolation=None):
"""Display the given set of images, optionally with titles.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment