GithubHelp home page GithubHelp logo

Comments (1)

stefanklut avatar stefanklut commented on August 26, 2024

Hi there,

The regions and reading order are normally done as a post processing step. The trained region models are specifically for detecting known page structures (e.g. distinction between marginalia and main text is necessary). The trained models use pixel wise classification. So to specifically answer your questions:

  • The baseline ordering is done in post processing in the Loghi-tooling (https://github.com/knaw-huc/loghi-tooling) step. It is our ambition to also do something with AI models to get the reading order correct, however this is not something we will likely do in the near future
  • The main method used in Loghi-tooling is to group text lines based on interline distance. And within these groups, the lines are ordered from top to bottom. The groups themselves are also ordered based on some handcrafted rules.
  • The standard method does not use the region model at all. The trained region models are only there as an enhancement if you know your data has certain structures. All inference will work with just a baseline model
  • I'm not sure I understand you correctly, but the trained region model does classification on a pixel level. And generally the only classes of paragraphs are too close together to be split by a background class. The region model serves more to distinguish main text from e.g. Signatures, images, or headers. Not make splits in the main text itself. If this is something you require, I suggest having a look at instance based models. These had the downside of being restricted to bounding boxes, which is why we chose the pixel based approach

I hope this clears up all your questions, and if not feel free to ask more

from laypa.

Related Issues (9)

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.