text: # -*- coding: utf-8 -*-
  #
  # Copyright (C) 2019 Max-Planck-Gesellschaft zur Förderung der Wissenschaften e.V. (MPG),
  # acting on behalf of its Max Planck Institute for Intelligent Systems and the
  # Max Planck Institute for Biological Cybernetics. All rights reserved.
  #
  # Max-Planck-Gesellschaft zur Förderung der Wissenschaften e.V. (MPG) is holder of all proprietary rights
  # on this computer program. You can only use this computer program if you have closed a license agreement
  # with MPG or you get the right to use the computer program from someone who is authorized to grant you that right.
  # Any use of the computer program without a valid license is prohibited and liable to prosecution.
  # Contact: ps-license@tuebingen.mpg.de
  #
  #
  # If you use this code in a research publication please consider citing the following:
  #
  # AMASS: Archive of Motion Capture as Surface Shapes <https://arxiv.org/abs/1904.03278>
  #
  #
  # Code Developed by:
  # Nima Ghorbani <https://nghorbani.github.io/>
  #
  # 2019.08.09
  import numpy as np
  
  def show_image(img_ndarray):
      '''
      Visualize images resulted from calling vis_smpl_params in Jupyternotebook
      :param img_ndarray: Nx400x400x3
      '''
      import matplotlib.pyplot as plt
      import cv2
      fig = plt.figure(figsize=(4, 4), dpi=300)
      ax = fig.gca()
  
      img = img_ndarray.astype(np.uint8)
      img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
      ax.imshow(img)
      plt.axis('off')
  
      # fig.canvas.draw()
      # return True
  