How to use Automatic Edge Detection
Suggest a document boundary in a contrasting photo, review the four corners and export a corrected scan.
About Automatic Edge Detection
Automatic document edge detection tries to identify the outside boundary of a paper sheet so that you do not have to position every corner from scratch. It helps when a light document is photographed against a darker desk, or a darker rectangle stands out against a light background. A detected outline is only a starting point for review, not an independently verified crop.
The tool downsamples the photo for analysis, compares brightness with the image border, and looks for a large contrasting connected region with four convex corner extremes. It rejects implausible or low-contrast candidates instead of inventing a rectangle. Shadows, patterns, overlapping papers, clutter and partially hidden corners can prevent a reliable suggestion. You can always adjust the corner handles manually and inspect the corrected result before export.
- Upload a photo where the whole document is visible against a contrasting surface.
- Select Suggest edges; inspect and correct all four suggested handles, or use manual corners if none are found.
- Prepare the corrected image and download after reviewing it.
How it works
A bounded luminance contrast and connected-component heuristic proposes four corner extremes; the prepared homography performs rectification.
A quick example
A white invoice on a dark tabletop may produce a four-corner suggestion that can be adjusted before cropping.
Assumptions, edge cases & limits
- Inputs remain in the active workspace. Image tools accept JPEG, PNG and WebP up to 8 MiB per file; 20 MiB source total, 6 megapixels per prepared page, 24 megapixels combined and up to ten pages where supported. Keep originals; review all output.
- Review the result against your original document before submission; no authenticity or official acceptance guarantee.
Questions about Automatic Edge Detection
How do I detect document edges in a photograph?
Load the document photo and inspect the proposed boundaries. Review and correct uncertain corners before using the crop; backgrounds and shadows can confuse detection.
Is this AI or OpenCV edge detection?
No. It uses a lightweight local contrast and connected-region heuristic.
What if no edges are found?
Adjust the four handles manually or take a clearer photo.
Does it automatically crop without confirmation?
No. Review the suggestion and explicitly prepare the scan.
Can it detect multiple documents?
No. It suggests one prominent rectangular region.
For processing, privacy and service availability, see our privacy details and methodology. Tool-specific questions and limitations are explained above.
A result or explanation needs correcting? Tell us the tool name and an example.