Turn a phone photo of any ID into a clean, straight scan
Scanning a small document is surprisingly awkward. Flatbed scanners are slow and rarely to hand, and most scanner apps either over-process the image or leave you with a crooked, off-angle crop. The OpusImg ID card cropper takes the opposite approach: photograph the document however is convenient, and let the tool find the edges, remove everything around it, and straighten the result into a flat rectangle.
Under the hood it does two things. First it detects the document quadrilateral — the four corners of the card against the background behind it. Then it applies a perspective transform that maps those four corners onto a perfect rectangle, undoing the keystone distortion you always get when you shoot a document at an angle. The output looks like it came off a scanner, but you took it with a phone in a couple of seconds.
Automatic edge detection, with manual control where it counts
When you drop a photo, the tool analyses it and proposes a four-corner crop. It works by separating the document from the surface behind it — a bright card on a dark desk, or a dark card on a light table — and finding the extreme corners of that region. For most well-lit photos against a contrasting background, the proposed corners land right on the document.
Detection is only ever a starting point, though. The four corners are shown as draggable handles, and the perspective correction uses exactly where you place them. So if the photo has a busy background, a fold, or low contrast, you simply nudge each handle onto the real corner. Keyboard arrows give pixel-level precision, and a reset button snaps the handles back to the detected position if you want to start over.
Standard sizes for IDs, cards, and scanned pages
Different documents want different proportions. Most national ID cards and credit cards follow the ISO/IEC 7810 ID-1 standard, better known as CR80 — 85.6 by 54 millimetres, an aspect ratio of about 1.585. Choosing the CR80 preset forces the crop to that exact ratio so the card isn't stretched or squashed. There are also A4 and US Letter presets for full pages and forms, and a square option.
If you'd rather keep the document's own measured proportions — useful for non-standard sizes or when you've cropped tightly to the printed area — the Auto option preserves whatever shape your four corners describe. Either way the tool renders at the resolution implied by your corners, so a high-megapixel phone photo produces a high-resolution crop.
Built for privacy: nothing leaves your device
Identity documents are exactly the kind of file you should be careful about uploading. The ID card cropper is designed so you never have to. Decoding the photo, detecting the edges, warping the perspective, and encoding the final PNG all happen locally in your browser using the canvas API. No bytes are sent to a server, there's nothing to delete afterwards, and the tool even works offline once the page has loaded.
That privacy-first design is the same model OpusImg uses for every client-side tool — compression, conversion, resizing — and it's especially important here. Whether you're cropping a passport for a visa application, a licence for a rental, or an insurance card for a claim, the document stays on your machine.
From a clean crop to a finished document
A straightened crop is often just the first step. Once you've downloaded the PNG you can open it in the OpusImg editor to redact sensitive numbers, add a 'for verification only' watermark, or annotate fields. If you have both sides of a card, or several pages of a form, the Image to PDF tool stitches them into a single document ready to email or upload.
For documents that are creased, shadowed, or photographed in poor light, pair the cropper with the scan cleanup tool, which deshadows, dewarps, and sharpens scanned pages with an AI pipeline. Together they cover the whole journey from a quick phone snapshot to a polished, submission-ready document.