output_label_options option which will apply simple heuristics to correct the output. Currently the two heuristics we support are promote_title and orientation_correction.
promote_titlewhich will check if there’s no title on the first page of the document and then intelligently choose one of other elements on the first page to promote to title.orientation_correctionwill correct the orientation of rotated pages during the preprocessing step.
Example
Let’s look at the example below:
aryn-sdk, you can call partition_file with the output_label_options parameter:

title_candidate_elements list and has the largest font size.
Let’s look at another example where the document has pages that are rotated.

orientation_correction to True to automatically correct the orientation of rotated pages, ensuring accurate information extraction.

