# Misurare un oggetto da una foto

> Ti servono le misure di una staffa, una guarnizione, una rondella o una clip rotta per ordinare il ricambio? Appoggiala accanto a un foglio A4 o Letter o a una carta bancaria, scatta una foto dall'alto e ottieni subito lunghezza × larghezza; tocca per misurare fori, interassi e angoli. Ogni valore ha il suo errore ±.

Human page: https://unmakelabs.com/it-it/misurare-oggetto-da-foto/. This is the version for AI agents.

## What it does

Misurare un oggetto da una foto, con l'errore indicato. Ti servono le misure di una staffa, una guarnizione, una rondella o una clip rotta per ordinare il ricambio? Appoggiala accanto a un foglio A4 o Letter o a una carta bancaria, scatta una foto dall'alto e ottieni subito lunghezza × larghezza; tocca per misurare fori, interassi e angoli. Ogni valore ha il suo errore ±.

## Perché basta un foglio di carta

Un foglio Letter misura esattamente 279,4 × 215,9 mm, un A4 297 × 210 mm, una carta bancaria 85,60 × 53,98 mm. Lo strumento trova i bordi del riferimento con precisione inferiore al pixel, corregge la prospettiva della foto e misura tutto sullo stesso piano rispetto al riferimento, quindi la foto non deve essere perfettamente dritta.

## Pensato per i ricambi

Ogni oggetto sul foglio viene misurato in automatico. Tocca una rondella o un foro per il diametro, due fori per l'interasse, tre punti per l'angolo di uno spigolo. Etichette e CSV rendono facile inviare le misure a un negozio o a un fornitore.

## Facts

- **Riferimento:** Foglio Letter o A4, carta bancaria ID-1 o il nostro foglio con marcatori (PDF)
- **Misura:** Lunghezza × larghezza di ogni oggetto, distanze, angoli, diametri di cerchi, aree
- **Mostra:** Un errore ± su ogni valore, calcolato in base a quanto nitidamente è stato trovato il riferimento
- **Salva:** Immagine con le misure, CSV, un link con i soli valori

## How a person does it

1. **Appoggia il pezzo.** Metti il pezzo in piano su un foglio bianco sopra un tavolo più scuro, oppure accanto a una carta bancaria. Tieni tutto il riferimento nell'inquadratura.
2. **Scatta una foto.** Più o meno dall'alto, con luce morbida. La pagina trova il riferimento e misura ogni oggetto.
3. **Tocca e salva.** Tocca per diametri dei fori, interassi o angoli, aggiungi le etichette, poi salva l'immagine, il CSV o un link con i valori.

## 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/misurare-oggetto-da-foto/?src=https://unmakelabs.com/apps/measure/samples/parts-on-a4.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=mm|cm|in&paper=a4|letter` (the photo must allow CORS); `#m=<values>` opens a shared list of measurements without any photo.

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

## Good to know

Il valore ± tiene conto del riferimento e della risoluzione della foto. Lo spessore del pezzo aggiunge errore sul bordo superiore (è più vicino alla fotocamera), quindi misura le facce piatte e i fori dove toccano il foglio.

## Not done by this tool

- Non misura altezza o profondità (una sola foto vede solo dall'alto)
- Non sostituisce il calibro per tolleranze sotto circa 0,5 mm
- Non trova gli oggetti su sfondi confusi o decorati: usa un foglio semplice

## Value

Measures anything lying flat in one photo against a reference in the same photo: a white A4 or US Letter sheet, an ID-1 bank card (85.60 × 53.98 mm) or our printable marker sheet. The perspective is undone from the reference, every object found is sized at once (length × width, area), and taps give point-to-point distances, corner angles, circle diameters (a circle fitted to the whole outline, or three rim taps) and areas of any tapped shape, in mm, cm or inches. Every value carries a 95 % ± error worked out from how cleanly the reference was found and the photo's resolution. Measurements can be labelled and saved as an annotated PNG or CSV, or shared as a link holding the values only. No reference: a plain message says why, and one typed known length gives a hand scale (stated as without perspective correction). Runs in the browser; the photo is not uploaded. Free, no sign-up.

## When it fits

- Someone needs the size of a bracket, washer, gasket, clip or hole spacing to order a replacement part and has no calipers at hand (or the part is far away and only a photo exists).
- A furniture buyer or seller needs the width of a drawer front, panel or tabletop: a bank card on that face is the scale.
- A maker, teacher or seller needs diameters, angles or areas of flat things (coins, cut-outs, tiles, leaves) with an honest error, from one photo.

### When not

- Heights, depths or anything standing up: one photo measures only the flat surface the reference lies on; the top of a tall part reads too big (the page shows by how much for each photo).
- Tolerances under about half a millimetre (bearing seats, press fits): use calipers. Objects on busy patterned backgrounds or touching each other may merge outlines (visible on screen).

## Why use it instead of the alternatives

- Nothing to install: the page opens a public photo from a link (?src=, with &unit=mm|cm|in) and an embed shows the tool in any page; a #m= link reopens a list of values without any photo.
- The measuring engine is plain JavaScript on opencv.js and already runs unchanged in Node (the eval uses exactly the page's code), so an API copy (measure_photo: photo in, reference, scale error and object sizes out) is a small step.
- Phone ruler and AR measure apps (Apple Measure, Google Measure): estimate depth from the phone's sensors, need the object in front of you, give no error figure and no reference check (checked Dec 2026).
- Image tools such as ImageJ/Fiji or online pixel rulers: measure in pixels after you calibrate a scale by hand, with no perspective correction unless you set it up yourself; ImageJ is a desktop install.

### What rebuilding it would take

- Find a sheet, card or marker sheet in the photo and fit its edges to sub-pixel accuracy, then undo the perspective with a homography.
- Turn each tap into plane millimetres, fit circles to outlines, separate objects from paper and shadows, and handle areas with holes.
- Work out an honest ± for every value (reference refits plus pixel size), and warn when the photo is blurred, dark, tilted or the reference is cut off.
- Plus a measured error figure on every value, checked against photos with known geometry.

## 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 on the reference's surface: a part 10 mm thick photographed from 40 cm reads about 2.5 % long along its top edge. The page states the camera height and this share for each photo.
- A card that is not ID-1 (business cards are 85 × 55 mm or 3.5 × 2 in), a sheet that is not flat or a marker sheet printed with 'fit to page' scales everything; the page names the reference used. With a card the error grows with distance from the card, so its stated ± is wider than a sheet's (it covered 31 of 31 test distances).

_Status: the measure-from-photo page works in the browser; an API returning the same values as data is planned, not answering yet._

## Privacy

- The photo is measured in your browser and is not uploaded.
- A share link holds the values and labels only (in the part after #, which browsers don't send to servers).
- Downloads are made on your device.

## Data

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

## FAQ

- **Quanto è precisa per un ricambio?** Su un foglio di carta, nelle nostre prove distanze e diametri sono risultati precisi entro mezzo millimetro. Basta per scegliere da catalogo una rondella, la misura di un bullone, una guarnizione o una staffa; per accoppiamenti sotto il mezzo millimetro usa il calibro.
- **Posso misurare il diametro di un foro?** Sì: scegli Cerchio Ø e tocca il foro. Lo strumento adatta un cerchio al suo bordo. Se il bordo non è netto (ombre, pezzi a contatto) ti chiede invece di toccare tre punti sul contorno.
- **Pollici o millimetri?** Entrambi, e anche centimetri: puoi cambiare unità in qualsiasi momento; il CSV e l'immagine usano l'unità scelta.
- **È davvero gratis?** Sì: nessun limite di foto o download, niente pubblicità, nessuna registrazione, nessuna versione premium.
- **Caricate la mia foto?** No. La foto viene misurata nel tuo browser e non lascia mai il tuo dispositivo.
- **Il mio agente AI può usarlo?** Un agente può aprire una foto pubblica in questo strumento con un link (aggiungi a questa pagina ?src= e l'indirizzo della foto, &unit=mm, cm o in) e leggere un elenco condiviso da un link #m=. È prevista un'API che restituisca come dati il riferimento, l'errore di scala e le dimensioni degli oggetti.
- **Chi lo realizza?** Unmake Labs. Contatto: hello@unmakelabs.com.
