code: def mkdir(path):
      sub_dir = os.path.dirname(path)
      if not os.path.exists(sub_dir):
          os.makedirs(sub_dir)
  
file_path: PaddleHub/modules/image/text_recognition/multi_languages_ocr_db_crnn/utils.py
imports: import os
  import time
  import cv2
  import numpy
  from PIL import Image, ImageDraw
  from paddleocr import draw_ocr
label_desc: Use image node_id 5 for calling a global function with example usage: mkdir(path) without return types