Merge branch 'RED-9975-bp' into 'release/0.159.x'

RED-9975: activate outline detection

See merge request fforesight/layout-parser!199
This commit is contained in:
Kilian Schüttler 2024-08-29 12:43:14 +02:00
commit 50427d08dc

View File

@ -246,7 +246,7 @@ public class LayoutParsingPipeline {
OutlineObject lastProcessedOutlineObject = null;
// parsing the structure elements could be useful as well
if (layoutParsingType != LayoutParsingType.REDACT_MANAGER_OLD && layoutParsingType != LayoutParsingType.DOCUMINE_OLD) {
if (layoutParsingType != LayoutParsingType.REDACT_MANAGER_OLD) {
classificationDocument.setOutlineObjectTree(outlineExtractorService.getOutlineObjectTree(originDocument));
}