diff --git a/deploy/python/predict_system.py b/deploy/python/predict_system.py index 0460a08eae632ceae903e5581aad26223e26fc8d..8cf680f854a468d1824be2de6beb71c477d32256 100644 --- a/deploy/python/predict_system.py +++ b/deploy/python/predict_system.py @@ -82,8 +82,7 @@ class SystemPredictor(object): output = [] results = self.det_predictor.predict(img) for result in results: - #print(result) - xmin, xmax, ymin, ymax = result["bbox"].astype("int") + xmin, ymin, xmax, ymax = result["bbox"].astype("int") crop_img = img[xmin:xmax, ymin:ymax, :].copy() rec_results = self.rec_predictor.predict(crop_img) result["featrue"] = rec_results