diff --git a/tools/infer/predict_det.py b/tools/infer/predict_det.py index 8abe006460e858b7d599630b556911aa25de24c5..73387aef597716809c02657404456660734c4c7b 100755 --- a/tools/infer/predict_det.py +++ b/tools/infer/predict_det.py @@ -24,6 +24,7 @@ import cv2 import numpy as np import time import sys +from scipy.spatial import distance as dist import tools.infer.utility as utility from ppocr.utils.logging import get_logger