code: def read_images(paths=[]):
      images = []
      for img_path in paths:
          assert os.path.isfile(
              img_path
          ), "The {} isn't a valid file.".format(img_path)
          img = cv2.imread(img_path)
          if img is None:
              continue
          images.append(img)
      return images
  
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 2 for calling a global function with example usage: read_images(paths) and returns: images