Property Photo Correction
  • Home
  • Features
  • Perspective Correction
2-Point Homography Engine

Straighten leaning walls. True 90° architectural lines.

When photographing tight interiors with wide-angle or smartphone lenses, tilting the camera by just 5° causes walls to collapse inward. Our computer-vision engine detects architectural lines, solves vanishing points, and straightens entire 30-photo shoots to true 90.0° plumb lines in ~2 minutes.

  • Sub-pixel Lanczos resampling
  • Minimum Kept Area crop guard
  • Spacebar before/after loupe in Studio
Straightened bedroom with perfectly vertical doorframe and wardrobe
Tilted bedroom photo taken with smartphone tilted downward
Tilted (~12° Lean) Auto-Upright (90.0°)
Smartphone ultra-wide tilt corrected with Universal mode Bedroom · 221 Lines Analyzed
Optical Physics

Why interior walls tilt and how mathematical homography fixes it

A rectilinear lens projects 3D light onto a flat 2D sensor. As long as your camera sensor plane remains precisely parallel to the vertical walls, doorframes stay plumb. This is classical two-point perspective.

The moment an agent tilts their phone downward to capture the bed or floor, the optical plane shifts into three-point perspective, causing verticals to converge downward. Our Cython engine extracts vertical line segments, clusters vanishing points, and computes the 3×3 projective homography matrix needed to restore true 90.0° verticals.

  • Isolates the vertical vanishing point independently of horizontal floor depth
  • Preserves natural room diagonals without warping angled corner walls
  • Bicubic and Lanczos resampling preserves wall trim and texture sharpness
Optical diagram: 2-point vs 3-point perspective in interior photography
The geometry principle: sensors held at pitch != 0° create converging keystones; Auto-Upright remaps them to 90.0° plumb verticals.
Building Externe Example

Exterior Architecture & Street-Level Facades

Street shots of 3–4 storey buildings force the camera to tilt up, producing the classic 'falling building' look. Auto-Upright restores solid, upright geometry in seconds.

Corrected residential facade with straight vertical building corners
Street level exterior photo tilted up with converging building edges
Tilted (~15° Upward) Upright (Kept 83%)
Mediterranean residential facade · Street level capture corrected Vertical error reduced from 4.6° to 1.2°
Engine Modes

Five Tailored Geometry Modes in Studio

Choose the optimal algorithm for handheld phone walkthroughs or precision architectural tripod shoots.

Universal (Recommended)

Our balanced algorithm for real estate batches. Solves pitch and roll while strictly protecting room aspect ratio and framing.

Verticals Only

Fixes wall tilt without touching horizontal leveling. Ideal for architectural tripod shoots where your horizon is already level.

Level Only

Fixes rotational horizon roll without perspective re-projection. Great for sea views, drone aerials, and balconies.

Auto

Selects between Level, Verticals, or Universal based on detected architectural line confidence metrics.

Full 2D Transform

Aggressive correction for severe wide-angle distortion. Calibrates horizontal and vertical vanishing points simultaneously.

Minimum Kept Guard

Prevents over-cropping tight bathrooms or narrow hallways. Set your retained canvas threshold from 55% to 98%.

Frequently Asked Questions

Perspective Correction FAQ

What causes walls to tilt in real estate photos?

Wide-angle lenses (14mm–24mm full frame, or 0.5x ultra-wide on smartphones) exaggerate perspective. Whenever the camera is tilted slightly upward or downward rather than held dead-level, parallel vertical lines appear to converge toward a zenith or nadir vanishing point, creating keystoning.

Will perspective correction crop out too much of the room?

Our Cython engine includes a Minimum Kept Area guard (default 55%, adjustable up to 98% in advanced settings). If a severe tilt would require excessive edge cropping, the correction is safely damped and flagged for review so you never lose critical room area.

How fast is batch perspective correction?

A full 30-photo property listing takes approximately 2 minutes from upload to ZIP download. Parallel worker processes handle each frame in under 0.5 seconds.

Straighten your listing photos in 2 minutes

Drop 5 photos into the Studio right now. Inspect every room with the Spacebar loupe and architectural alignment grid.