code: def jaccard(self, As, Bs):
      A = As.shape[0]  # small
      B = Bs.shape[0]  # large
  
      dis = np.sqrt(
          np.sum(
              (
                  As[:, np.newaxis, :].repeat(B, axis=1)
                  - Bs[np.newaxis, :, :].repeat(A, axis=0)
              )
              ** 2,
              axis=-1,
          )
      )
  
      ind = np.argmin(dis, axis=-1)
  
      return ind
  
imports: import os
  import cv2
  import random
  import pyclipper
  import paddle
  import numpy
  from ppocr.utils.utility import check_install
  import scipy.io
  from PIL import Image
  import paddle.vision.transforms
label_desc: Use image node_id 2 for calling the MakeCentripetalShift obj's underlying member method code with example usage: obj.jaccard(As, Bs) and returns: ind