Extracting the misaligned bank statement using UiPath AI center

I am extracting the Bank statement using the UiPath AI center. When the scanned document is misaligned or tilted or skewed. it extracts the empty values in the Excel sheet. Is there any way to align the scanned document correctly before the extraction? The Bank statement consists of multiple pages and we don’t know which page is tilted or misaligned.