# Pomiar wymiarów ze zdjęcia

> Potrzebujesz wymiarów wspornika, uszczelki, podkładki albo złamanego klipsa, żeby zamówić zamiennik? Połóż go obok kartki A4 lub Letter albo karty płatniczej, zrób jedno zdjęcie z góry i od razu odczytaj długość × szerokość. Dotknij, aby zmierzyć otwory, rozstaw otworów i kąty. Każda wartość ma własny błąd ±.

Human page: https://unmakelabs.com/pl-pl/pomiar-wymiarow-ze-zdjecia/. This is the version for AI agents.

## What it does

Pomiar wymiarów ze zdjęcia – z jednego ujęcia, z podanym błędem. Potrzebujesz wymiarów wspornika, uszczelki, podkładki albo złamanego klipsa, żeby zamówić zamiennik? Połóż go obok kartki A4 lub Letter albo karty płatniczej, zrób jedno zdjęcie z góry i od razu odczytaj długość × szerokość. Dotknij, aby zmierzyć otwory, rozstaw otworów i kąty. Każda wartość ma własny błąd ±.

## Dlaczego wystarczy kartka papieru

Kartka Letter ma dokładnie 279,4 × 215,9 mm, A4 – 297 × 210 mm, a karta płatnicza – 85,60 × 53,98 mm. Narzędzie wykrywa krawędzie wzorca z dokładnością do ułamka piksela, usuwa perspektywę zdjęcia i mierzy wszystko na tej samej płaskiej powierzchni względem wzorca, więc zdjęcie nie musi być idealnie proste.

## Stworzone z myślą o częściach zamiennych

Każdy przedmiot na kartce jest mierzony automatycznie. Dotknij podkładki lub otworu, aby poznać średnicę, dwóch otworów – aby poznać ich rozstaw, a trzech punktów – aby zmierzyć kąt narożnika. Etykiety i plik CSV ułatwiają przesłanie wymiarów do sklepu lub dostawcy.

## Facts

- **Wzorzec:** Kartka A4 lub Letter, karta płatnicza ID-1 albo nasza kartka ze znacznikami (PDF)
- **Mierzy:** Długość × szerokość każdego przedmiotu, odległości, kąty narożników, średnice okręgów, pola powierzchni
- **Pokazuje:** Błąd ± przy każdej wartości, wyliczony na podstawie tego, jak wyraźnie wykryto wzorzec
- **Zapisuje:** Zdjęcie z wymiarami, plik CSV, link zawierający tylko wartości

## How a person does it

1. **Połóż przedmiot.** Połóż część płasko na białej kartce na ciemniejszym stole albo obok karty płatniczej. Cały wzorzec musi być widoczny na zdjęciu.
2. **Zrób jedno zdjęcie.** Mniej więcej prosto z góry, przy miękkim świetle. Strona znajdzie wzorzec i zmierzy każdy przedmiot.
3. **Dotknij i zapisz.** Dotknij, aby zmierzyć średnice otworów, rozstawy lub kąty, dodaj etykiety, a potem zapisz zdjęcie, plik CSV lub link z wartościami.

## 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/pl-pl/pomiar-wymiarow-ze-zdjecia/?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

Wartość ± uwzględnia wzorzec i rozdzielczość zdjęcia. Grubość samej części zwiększa błąd przy jej górnej krawędzi (jest bliżej aparatu), dlatego mierz płaskie powierzchnie i otwory w miejscu, gdzie stykają się z kartką.

## Not done by this tool

- Nie mierzy wysokości ani głębokości (jedno zdjęcie widzi przedmiot tylko z góry)
- Nie zastąpi suwmiarki przy tolerancjach poniżej ok. 0,5 mm
- Nie wykrywa przedmiotów na niejednolitym, wzorzystym tle – użyj gładkiej kartki

## 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

Pomiar odbywa się w przeglądarce; zdjęcie zostaje na Twoim urządzeniu i nie jest nigdzie wysyłane.

## FAQ

- **Jak dokładny jest pomiar części zamiennej?** Na kartce papieru odległości i średnice okręgów mieściły się w naszych testach w granicach pół milimetra. To wystarczy, aby dobrać z katalogu podkładkę, rozmiar śruby, uszczelkę czy wspornik. Przy pasowaniach poniżej pół milimetra użyj suwmiarki.
- **Czy mogę zmierzyć średnicę otworu?** Tak: wybierz Okrąg Ø i dotknij otworu. Narzędzie dopasuje okrąg do jego krawędzi. Jeśli krawędź nie jest wyraźna (cień, stykające się części), poprosi o dotknięcie trzech punktów na obwodzie.
- **Cale czy milimetry?** Jedno i drugie, a także centymetry: jednostki można zmienić w każdej chwili, a plik CSV i zdjęcie używają wybranej jednostki.
- **Czy to naprawdę za darmo?** Tak: bez limitu zdjęć i pobrań, bez reklam, bez rejestracji, bez wersji premium.
- **Czy wysyłacie gdzieś moje zdjęcie?** Nie. Zdjęcie jest mierzone w przeglądarce i nigdy nie opuszcza Twojego urządzenia.
- **Czy mój agent AI może z tego korzystać?** Agent może otworzyć publiczne zdjęcie w tym narzędziu za pomocą linku (dodaj do adresu tej strony ?src= i adres zdjęcia oraz &unit=mm, cm lub in) i odczytać udostępnioną listę z linku #m=. Planujemy API zwracające wzorzec, błąd skali i wymiary obiektów jako dane.
- **Kto za tym stoi?** Unmake Labs. Kontakt: hello@unmakelabs.com.
