Loading template...

Perspective Correction

Crooked horizons, leaning buildings, and converging vertical lines — fixed in one click. Pick auto, horizon, vertical, or keystone correction and ship geometry that looks intentional, not amateur.

What is Perspective Correction?

The Perspective Correction template is Oakgen.ai's preset for fixing tilted, leaning, or keystone-distorted photos without the manual crop, rotate, and transform workflow that traditional editors require. You upload the source image and pick one of four modes: auto correct (the model picks the right fix), straighten horizon (level the world line), fix vertical lines (stand buildings and columns upright), or keystone (correct the splayed-out look from shooting up at a tall subject). Because it's image-to-image, your composition stays — only the geometry gets fixed. It's tuned for the everyday distortion problems that plague real photography: phone shots taken with the camera off-level, architectural shots where buildings lean back, interior photography with converging walls, and landscape photos where the horizon line went sideways.

Why Perspective Correction is popular

When to use Perspective Correction

How to use Perspective Correction

  1. 1

    Upload the tilted or distorted photo

    Drop in the source — a tilted landscape, a leaning building, a converging interior, or a keystone-distorted architectural shot. Composition carries over.

  2. 2

    Pick a correction mode

    Auto for one-click geometry repair, horizon for landscape level fixes, vertical for upright buildings and columns, or keystone for shooting-up-at-it architecture.

  3. 3

    Generate the corrected version

    Run the template. The model lands clean geometry — straight horizon, vertical verticals, no keystone splay — while preserving the rest of the image's color, subject, and content.

  4. 4

    Download and use

    Compare to the original, download at full resolution, and ship the corrected version into your edit, listing, post, or client deliverable.

Popular use cases

Real estate and listing photography

Stand walls upright in interior shots and level horizons in exterior shots so listings show as a coherent, professional set instead of casually-tilted phone snaps.

For: Real estate photographers and listing agents

Architecture and urban photography

Fix keystone distortion on buildings shot from below — a common problem when there's no room to back up — and produce clean, vertical-line-aligned frames.

For: Architecture photographers and urban shooters

Landscape and travel cleanup

Level horizons on seascapes, mountain shots, and travel content so the world reads grounded instead of sliding off the frame.

For: Travel photographers and outdoor content teams

Product and packaging shots

Correct keystone distortion on tall product shots — bottles, boxes, packaging — that come out top-heavy or splayed when shot from below.

For: Product photographers and ecommerce teams

Strengths

  • Auto mode picks the right correction for the actual distortion
  • Vertical-line and keystone modes handle architectural shots properly
  • Horizon-only mode is a fast one-click landscape level
  • Image-to-image preserves composition, color, and subject
  • Watermark-free output with commercial rights on paid plans

Trade-offs

  • Strong corrections produce a smaller usable frame as the geometry transforms — for severe distortion, expect a tighter final crop
  • Auto mode is opinionated; for very specific geometry intent, the targeted modes give more control
  • Photos without clear reference lines (no horizon, no verticals, abstract subjects) are ambiguous for the model to auto-correct
  • Not designed to add tilt-shift or creative perspective effects — for stylized distortion, use a different workflow

Tips for better results

Perspective Correction vs the alternatives

vs Manual rotate and transform in a photo editor
Manual rotate and transform tools work, but they require you to spot the right axis, set the angle by eye, and accept whatever crop the transform produces. The Perspective Correction template reads the geometry in the frame, picks the right mode (horizon, vertical, keystone), and applies it in one click. Manual transforms are still helpful for very specific creative geometry; the preset is what scales clean correction across batches.
vs Tilt-shift lens or lens-profile correction
A tilt-shift lens corrects keystone at the time of capture and produces the cleanest possible result — but the lens is expensive and only solves the problem on the gear that has it. Lens-profile correction in a raw processor handles standard distortion well but not arbitrary keystone. The Perspective Correction template works on any photo from any source, after the fact, and handles all three correction types (horizon, vertical, keystone) in one place.
vs Reshooting with the camera level
Shooting with the camera level and the back parallel to the subject is the cleanest possible fix and is worth doing when conditions allow. But many shots can't be redone — the location is far, the moment is gone, the client has moved on. The Perspective Correction template is the rescue path for those frames, getting clean geometry from whatever source you have.

Frequently asked questions