Unverified Commit 10af9f7d authored by Double_V's avatar Double_V Committed by GitHub
Browse files

Merge branch 'dygraph' into fix_doc

parents c978085e f1cd0c35
......@@ -39,10 +39,7 @@ class TextDetector(object):
self.args = args
self.det_algorithm = args.det_algorithm
pre_process_list = [{
'DetResizeForTest': {
'limit_side_len': args.det_limit_side_len,
'limit_type': args.det_limit_type
}
'DetResizeForTest': None
}, {
'NormalizeImage': {
'std': [0.229, 0.224, 0.225],
......
......@@ -97,7 +97,7 @@ def main():
preds = model(images)
post_result = post_process_class(preds, shape_list)
boxes = post_result[0]['points']
# write resule
# write result
dt_boxes_json = []
for box in boxes:
tmp_json = {"transcription": ""}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment