Merge branch 'RED-9975' into 'main'

RED-9975: activate outline detection

See merge request fforesight/layout-parser!198
This commit is contained in:
Kilian Schüttler 2024-08-29 12:25:42 +02:00
commit ab86714cb3

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));
}