mindocr icon indicating copy to clipboard operation
mindocr copied to clipboard

Support det+cls+rec online prediction pipeline, improve RecResizeNormForInfer to fix bug in single img predict_rec

Open HaoyangLee opened this issue 2 years ago • 0 comments

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

Motivation

  • Add predict_cls and det+cls(optional)+rec online prediction pipeline.
  • When run single image prediction in predict_rec.py, padding=False, keep_ratio=True, target_width=None, which will raise bug in RecResizeNormForInfer. Now fix it to support target_width=None.

Related Issues and PRs

Issue #238

HaoyangLee avatar Jun 20 '23 17:06 HaoyangLee