Update predict_system.py

pull/793/head
littletomatodonkey 2021-06-05 14:19:54 +08:00 committed by GitHub
parent 0a8a8a702c
commit 05d0801992
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ class SystemPredictor(object):
xmin, xmax, ymin, 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
result["feature"] = rec_results
output.append(result)
return output