docstr: Reads image data and return image, annotations and shape information
  :return:
  img_data - The image data in CNTK format. The image is scale to fit into the size given in the constructor, centered and padded.
  roi_data - The ground truth annotations as numpy array of shape (max_annotations_per_image, 5), i.e. 4 coords + label per roi.
  img_dims - (pad_width, pad_height, scaled_image_width, scaled_image_height, orig_img_width, orig_img_height)
docstr_tok: ["Reads","image","data","and","return","image",",","annotations","and","shape","information",":","return",":","img_data","-","The","image","data","in","CNTK","format",".","The","image","is","scale","to","fit","into","the","size","given","in","the","constructor",",","centered","and","padded",".","roi_data","-","The","ground","truth","annotations","as","numpy","array","of","shape","(","max_annotations_per_image",",","5",")",",","i.e",".","4","coords","+","label","per","roi",".","img_dims","-","(","pad_width",",","pad_height",",","scaled_image_width",",","scaled_image_height",",","orig_img_width",",","orig_img_height",")"]
code: def get_next_input(self):
      """
      Reads image data and return image, annotations and shape information
      :return:
      img_data - The image data in CNTK format. The image is scale to fit into the size given in the constructor, centered and padded.
      roi_data - The ground truth annotations as numpy array of shape (max_annotations_per_image, 5), i.e. 4 coords + label per roi.
      img_dims - (pad_width, pad_height, scaled_image_width, scaled_image_height, orig_img_width, orig_img_height)
      """
  
      index = self._get_next_image_index()
      roi_data = self._get_gt_annotations(index)
      if DEBUG:
          (
              img_data,
              img_dims,
              resized_with_pad,
          ) = self._load_resize_and_pad_image(index)
          self._debug_plot(resized_with_pad, roi_data)
      else:
          img_data, img_dims = self._load_resize_and_pad_image(index)
  
      (
          proposals,
          label_targets,
          bbox_targets,
          bbox_inside_weights,
      ) = self._get_proposals_and_targets(index)
  
      return (
          img_data,
          roi_data,
          img_dims,
          proposals,
          label_targets,
          bbox_targets,
          bbox_inside_weights,
      )
  
file_path: CNTK/Examples/Image/Detection/utils/od_reader.py
imports: import zipfile
  import cv2
  import numpy
  import os
  from utils.proposal_helpers import ProposalProvider, compute_targets, compute_image_stats
label_desc: Use image node_id 2 for calling the ObjectDetectionReader obj's underlying member method code with example usage: obj.get_next_input() and returns: img_data,  roi_data,  img_dims,  proposals,  label_targets,  bbox_targets,  bbox_inside_weights