code: def read_img(path):
      
      img = cv2.resize(cv2.imread(path, 0), (80, 30)).astype(np.float32) / 255
      img = np.expand_dims(img.transpose(1, 0), 0)
      return img
docs: Reads image specified by path into numpy.ndarray