code: def bgr2rgb(img):
      """Converts an RGB image to BGR and vice versa
  
      Args:
          img: Numpy array in RGB or BGR format
  
      Returns: The converted image format
      """
      return img[..., ::-1]
  
imports: from __future__ import absolute_import
  from __future__ import division
  import os
  import tempfile
  import math
  import json
  import six
  import numpy
  import matplotlib.font_manager
  from skimage import io, transform
  from keras import backend
  from keras.models import load_model
  import logging
label_desc: Use image node_id 16 for calling a global function with example usage: bgr2rgb(img) and returns: img