pycognaize.common.utils.preview_img

preview_img(img, size=1000)[source]

Preview the given image in a window

Parameters:
  • img (ndarray) – Original image as numpy array

  • size (int) – Resize the window to the given resolution before viewing