code: def convert_type(output_dict):
      output_dict["num_detections"] = int(
          output_dict["num_detections"][0]
      )
      output_dict["detection_classes"] = output_dict[
          "detection_classes"
      ][0].astype(np.int64)
      output_dict["detection_boxes"] = output_dict["detection_boxes"][0]
      output_dict["detection_scores"] = output_dict["detection_scores"][
          0
      ]
  
file_path: deep-learning-for-image-processing/others_project/readPbFile/using_function.py
imports: import collections
  import six
  import PIL.Image
  import PIL.ImageDraw
  import PIL.ImageFont
  import numpy
  import tensorflow
  import cv2
label_desc: Use image node_id 6 for calling a global function with example usage: convert_type(output_dict) without return types