mindspore-lab / mindocr

A toolbox of OCR models, algorithms, and pipelines based on MindSpore
https://mindspore-lab.github.io/mindocr/
Apache License 2.0
174 stars 44 forks source link

1.Refactor the code of 'predict_from_yaml.py' 2.Added concat_crops function. #662

Closed Bourn3z closed 5 months ago

Bourn3z commented 5 months ago

…nction.

Thank you for your contribution to the MindOCR repo. Before submitting this PR, please make sure:

Motivation

1.Refactor the code of predict_from_yaml.py 2.Added concat_crops function. 1.重构predict_from_yaml.py代码逻辑 2.增加crop拼接功能

Test Plan

(How should this PR be tested? Do you require special setup to run the test or repro the fixed bug?)

Related Issues and PRs

(Is this PR part of a group of changes? Link the other relevant PRs and Issues here. Use https://help.github.com/en/articles/closing-issues-using-keywords for help on GitHub syntax)