Giter Club home page Giter Club logo

Comments (1)

hiroi-sora avatar hiroi-sora commented on July 17, 2024

建议收到 √

这实际上是两个问题:第一,ocr引擎使用恰当的模型,输出正确的竖排文本段。第二,umi对得到的文段进行整理排序,以正确的顺序输出为纯文本或其他格式。

对于问题一,我不擅长训练模型,得看看paddle有没有相关模型或等相关领域的大佬提供帮助。另外,umi-ocr的界面、后处理模块,和引擎模块是完全独立的。通过更换本地引擎(甚至在线ocr服务)来适配这种场景也是可行的。

对于问题二,如 issue #12 这类关于文段排序的问题。我正在开发一套“文段后处理器”框架,它不仅包含我写的忽略水印区域之类的后处理模块,还可以比较方便的拓展,让别的开发者按自己的需求来开发后处理模块。像日文漫画,可能按常规竖排的逻辑来排版 效果很差,那么就可以再写一套专门针对漫画文段的后处理类。但精力有限,我可能短期内不会着手这类小众模块的具体实现。

Update:v1.3.0已实现后处理器框架。

from umi-ocr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.