mirror of
https://github.com/PaddlePaddle/PaddleOCR.git
synced 2025-12-27 15:08:17 +00:00
fix repeat save_res
This commit is contained in:
parent
c3810c6a88
commit
f31591cd19
@ -126,9 +126,6 @@ def main():
|
||||
otstr = file + "\t" + json.dumps(dt_boxes_json) + "\n"
|
||||
fout.write(otstr.encode())
|
||||
|
||||
save_det_path = os.path.dirname(config['Global'][
|
||||
'save_res_path']) + "/det_results/"
|
||||
draw_det_res(boxes, config, src_img, file, save_det_path)
|
||||
logger.info("success!")
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user