github RapidAI/RapidOCR v3.2.0
Release v3.2.0

latest releases: v3.3.1, v3.3.0, Draft-2025-07-24-15-05-48...
2 months ago

中文简略版

  • 采纳了小伙伴@qianliyx 的建议,按照行返回单字坐标:同一行的单字坐标是在同一个 tuple 中的。
  • 添加了将结果转为 markdown 格式排版的字符串来自@lawrence kraft。该特性为粗略支持,后续会继续优化。
    from rapidocr import RapidOCR
    
    engine = RapidOCR()
    
    img_url = "https://img1.baidu.com/it/u=3619974146,1266987475&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=516"
    result = engine(img_url, return_word_box=True, return_single_char_box=True)
    print(result)
    
    result.vis("vis_result.jpg")
    print(result.to_markdown())
  • 重构了 main 中 RapidOCR 代码,保持函数中抽象等级一致,利于维护。

🚀 Features

🐛 Bug Fixes

🧪 Testing

  • update unit testing when adjusting the format of returning word box by @SWHL in 0b2d7f0

⚙️ Miscellaneous Tasks

🎉 Contributors

Full Changelog: 3.2.0

Don't miss a new RapidOCR release

NewReleases is sending notifications on new releases.