code: def __call__(self, im):
      if self.to_rgb:
          im = cv2.cvtColor(im, cv2.COLOR_BGR2RGB)
  
      return im
  
imports: from __future__ import absolute_import
  from __future__ import print_function
  from __future__ import division
  import os
  import random
  import cv2
  import numpy
  from PIL import Image
label_desc: Use image node_id 2 for calling the DecodeImage obj's underlying member method code with example usage: obj.__call__(im) and returns: im