From a1f49a70d7df29ab3fd32d006fe72db4a70bac33 Mon Sep 17 00:00:00 2001 From: littletomatodonkey <2120160898@bit.edu.cn> Date: Sat, 5 Jun 2021 17:28:21 +0800 Subject: [PATCH] Update predict_system.py --- deploy/python/predict_system.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/deploy/python/predict_system.py b/deploy/python/predict_system.py index 0460a08e..8cf680f8 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 -- GitLab