r/documentAutomation • • 6d ago

I added Document Detection & Perspective Correction to Ocr4AI

Post image
1 Upvotes

1 comment sorted by

1

u/folderit_dms 3d ago

I’d test whether the crop preserves the fields that matter. Put a total, a page number and a reference close to the edges on a few dummy pages. Photograph them at an angle and run the same OCR on the original and corrected images. Check whether those fields survive, especially on a low-contrast receipt where the outline is hard to see.

For a review queue, it would help to keep the original alongside the corrected image and let the reviewer adjust suspect corners. A preview can look much cleaner while silently losing the bottom line, so that side-by-side check would be useful before sending the output downstream.