# Correggere prospettiva foto online

> Hai fotografato di lato un poster, un cartello, un quadro, una bacheca o una parete? Attacca un foglio A4 o Letter (viene trovato in automatico) o tocca gli angoli di un rettangolo di cui conosci le misure: la prospettiva viene raddrizzata, le proporzioni sono reali e la scala è nota, così puoi misurarci sopra e stampare in scala 1:N.

Human page: https://unmakelabs.com/it-it/correggere-prospettiva-foto-online/. This is the version for AI agents.

## What it does

Correggere la prospettiva di una foto online, con le misure giuste. Hai fotografato di lato un poster, un cartello, un quadro, una bacheca o una parete? Attacca un foglio A4 o Letter (viene trovato in automatico) o tocca gli angoli di un rettangolo di cui conosci le misure: la prospettiva viene raddrizzata, le proporzioni sono reali e la scala è nota, così puoi misurarci sopra e stampare in scala 1:N.

## Perché serve un riferimento

Una semplice correzione della prospettiva tira a indovinare le proporzioni, quindi un cartello quadrato può risultare rettangolare. Un rettangolo noto sulla stessa superficie fissa proporzioni e misure reali, e la pagina ti avvisa se le misure inserite non sono compatibili con gli angoli (ad esempio se hai invertito larghezza e altezza).

## Basta un foglio di carta

Un foglio A4 o Letter attaccato ben piatto alla superficie viene trovato in automatico, angoli compresi. Le lunghezze vicino al foglio risultano molto precise. Per superfici grandi usa un rettangolo più grande.

## Facts

- **Riferimento:** Foglio A4 o Letter o carta di credito trovati in automatico, oppure un qualsiasi rettangolo noto
- **Corregge:** Prospettiva, proporzioni reali e misure reali di una superficie piana
- **Controlla:** Misure non compatibili con gli angoli, larghezza e altezza invertite
- **Salva:** PNG, PDF in scala 1:N, DXF, CSV

## How a person does it

1. **Attacca un foglio e scatta la foto.** Un foglio A4 o Letter piatto sulla superficie, con tutti e quattro gli angoli nella foto; oppure un qualsiasi rettangolo di cui conosci le misure.
2. **Lascia che trovi il foglio.** Oppure tocca i 4 angoli e inserisci le misure. La vista raddrizzata si apre subito.
3. **Salva.** PNG alla risoluzione che ti serve, PDF in scala 1:N, DXF, oppure prima misuraci sopra.

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/it-it/correggere-prospettiva-foto-online/?src=https://unmakelabs.com/apps/rectify/samples/facade.jpg`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: `?src=<public photo URL>&unit=m|cm|mm|ft|in` (the photo must allow CORS); the user then taps the 4 corners of a rectangle of known size.

Embed: `<iframe src="https://unmakelabs.com/embed/rectify/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Good to know

La pagina trova il foglio solo se occupa una parte discreta della foto (circa il 6% dell'immagine); altrimenti tocca i suoi angoli. Le misure sono reali solo sulla superficie del foglio.

## Not done by this tool

- Non corregge superfici curve (un poster arrotolato, una parete bombata)
- Non elimina riflessi o abbagliamenti
- Non corregge la distorsione degli obiettivi ultra-grandangolari

## Value

Straightens a photo of a flat surface (a facade, a wall, a whiteboard, a poster, a sign, a tiled floor, a plan on a table) to true scale from one rectangle of known size in the same surface: tap its 4 corners (they snap onto its edges) and pick or type its size, with presets for a door, A4/Letter, a bank card, blocks of bricks (German NF, UK, US modular) and tiles counted across and down, or let the page find an A4/Letter sheet, bank card or printable marker sheet by itself. The result is the rectified picture (an orthophoto of that plane) with a scale bar, its pixel size, a 95 % ± for the whole picture and per metre near the reference, lines, angles and areas measured on it with their own ±, and downloads: PNG at a chosen resolution (with the print density for 1:N), PDF at 1:N with the scale bar, DXF in mm with the picture outline, the reference and the lines drawn, CSV. A wrong or swapped size is flagged from the camera geometry. Only the reference's plane is true to scale, which the page says on every result. Runs in the browser; the photo is not uploaded. Free, no sign-up.

## When it fits

- An architect, surveyor or tradesperson needs a facade elevation to quote windows, cladding, scaffolding or paint, or to trace in CAD, and has only a photo taken from the street at an angle.
- Someone wants a whiteboard, poster, sign or hand-drawn plan straight and to scale (true proportions, measurable) rather than just 'deskewed'.
- A floor or wall tiler, flooring fitter or DIYer needs room or wall dimensions from a photo of a tiled surface, counting tiles as the scale.

### When not

- Anything not in one flat plane: balconies, bay windows, roof overhangs, pipes and things in front of the wall read too big or too small (a balcony 1.2 m in front of our test facade read 9-27 % too wide). Several planes need one photo and rectangle per plane.
- Survey-grade tolerances: at best a few millimetres per metre near the reference; far from a small reference the error grows (the page shows how much). Ultra-wide lenses bend straight lines, which is not corrected.

## Why use it instead of the alternatives

- Nothing to install: the page opens a public photo from a link (?src=, &unit=m|cm|mm|ft|in) and an embed shows the tool in any page.
- The straightening code is plain JavaScript without a library (the shared engine's geometry), already run unchanged in Node by the eval, so an API copy (rectify_photo: photo + 4 corners + size in, straightened PNG, scale, ± and DXF out) is a small step.
- Document scanner apps and online 'perspective correction' tools (Adobe Scan, Microsoft Lens, many web tools): straighten and crop, but don't set a true scale, give no error figure and export no DXF or 1:N PDF (checked Dec 2026).
- Photogrammetry and rectification software (Agisoft Metashape, PhotoModeler, Rhino/AutoCAD image rectification add-ons): true-scale rectification, but desktop installs and licences with a learning curve.

### What rebuilding it would take

- Fit a perspective transform (homography) from 4 tapped corners to a rectangle of known size, snapping the corners onto the real edges.
- Resample the photo onto the plane at a chosen millimetres-per-pixel, cut off where it would only smear, and write PNG with print density, a 1:N PDF and a millimetre DXF that line up.
- Work out an honest ± from the corner precision and the reference size's own tolerance, and check that the typed size can fit the corners at all.
- Plus measured accuracy on rendered photos with exactly known geometry, stated on the page.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- Values are true only in the plane of the reference; anything in front of or behind it is wrong by the depth's share of the camera distance. The page says so on every result and in the PDF.
- A nominal size (a 'standard' door, a brick size) can be off by a centimetre or more; the presets carry their tolerance in the ±, and the page asks to measure the real door. A wrong typed size scales everything; a size that doesn't fit the corners is flagged (30 % too tall: flagged in 76 % of tries).

_Status: the straighten-to-scale page works in the browser; an API returning the same results is planned, not answering yet._

## Privacy

- The photo is straightened in your browser and is not uploaded.
- Downloads (PNG, PDF, DXF, CSV) are made on your device.

## Data

Misurata nel tuo browser; la foto resta sul tuo dispositivo e non viene caricata.

## FAQ

- **Serve un riferimento?** Per avere proporzioni e misure reali, sì: un foglio di carta, una carta di credito o bancomat per oggetti piccoli, o un qualsiasi rettangolo di cui conosci le misure. Senza riferimento nessuno strumento può distinguere un quadrato da un rettangolo visto di sbieco.
- **A che risoluzione posso salvare?** Dal dettaglio originale della foto in corrispondenza del riferimento fino a passi più grossolani (ad es. 1 mm o 5 mm per pixel), fino a 16 megapixel. Il PNG contiene la densità di stampa per la scala 1:N che scegli.
- **Funziona sul telefono?** Sì: apri una foto o scattane una, tocca gli angoli o lascia che trovi il foglio, ingrandisci con due dita e trascina gli angoli con la lente.
- **È davvero gratis?** Sì: nessun limite di foto o download, niente pubblicità, nessuna registrazione, nessuna versione premium.
- **Caricate la mia foto?** No. La foto viene raddrizzata nel tuo browser e non lascia mai il tuo dispositivo.
- **Il mio agente IA può usarlo?** Un agente può aprire una foto pubblica in questo strumento tramite link (aggiungi a questa pagina ?src= e l'indirizzo della foto, &unit=m, cm, mm, ft o in). È prevista un'API che riceve una foto, 4 angoli e una misura e restituisce l'immagine raddrizzata, la sua scala, il ± e un DXF.
- **Chi lo realizza?** Unmake Labs. Contatti: hello@unmakelabs.com.
