Description
Enhancement 🚀
The old Page class had some issues regarding its flexibility for extensions. On top of that it was originally designed to work as a quick parsing solution for results of the dd analyzer neglecting the fact that many other pipeline construction follow a completely different purpose that parsing layouts.
Motivation 💪
With the possibility to add language models to pipeline some new tasks like document classification as well as token classification can be build with pipelines. This requires an extension for how results based on tokens are being saved and how outputs stored on image level can be easily added.
Alternatives ⚖️
Not re-implementing the Page class would make feature extension a lot harder
Additional context 🧬
Screenshots, etc. if relevant