Joto, Germany, 2021 · Meddida, United States, 2024 · native iOS
Two AR measuring algorithms. Rooms for Joto, openings for Meddida.
Joto is a German startup that recommends renovations for a room, so it needs the room's floor plan first, and it needs it accurate to five centimetres. Meddida is a US startup that measures window and door openings for installers, who order the unit from that number. Both companies wanted the measurement to come from an ordinary iPhone, with no server behind it. We wrote the two algorithms in native code and each client built them into its own app.

- ≤ 5 cm
- The accuracy Joto needed on a room
- 1
- iPhone is all it takes
- 2
- Algorithms, built into two client apps
LiDAR + ARKit · one frame from the test build
How Meddida finds an opening.
An installer measures an opening with a tape and writes the numbers on a pad. Meddida wanted the phone to do the whole job in one pass: find the frame by itself and hand back a width and a height that the order form can use. The detector works in three stages, and performs them on this window as it comes into view.
Meddida · test build · scan 01
- 01Find the opening
- 02Lock the corners
- 03Read it

Window · plane 01
Width
0.00m
0.00 in
Height
0.00m
0.00 in
ARKit · the infinite-line construction
How Joto maps a room.
A recommendation is only as good as the plan it is based on, and Joto's brief was five centimetres. AR returns walls as planes. A plane is reliable in the middle and vague at the ends, so the algorithm ignores the ends altogether.
- 01
Map the room
ARKit tracks the phone through the room and returns each wall as a detected plane, at real scale. LiDAR where the phone has it, the camera alone where it does not.
- 02
Treat each wall as an infinite line
The algorithm keeps the line the plane lies on and throws the ends away.
- 03
Push the lines out
Each line is extended to the left and to the right until it crosses the lines of the neighbouring walls.
- 04
The crossings are the corners
The room was mapped at real scale, so the distance from one crossing to the next is the length of that wall.
- 05
Corners to plan
The corners close into a polygon. The polygon becomes a 3D room, and the room is flattened into the floor plan that Joto draws and works from.
What the plan is for
Joto draws the plan and then places products in it: a mirror, a sink, a cabinet, each with a price. Whether a cabinet fits depends on those five centimetres.


What both briefs shared.
- Native code, no machine learning
- Both algorithms are plain native code on top of ARKit. There is no model to train and nothing to retrain later. The geometry does the work.
- An iPhone and nothing else
- There is no special scanner and no clip-on hardware. Both use the LiDAR scanner on phones that have one. Joto also runs on phones that do not, from the camera alone.
- No internet connection
- Nothing is sent to a server. The phone computes the measurement and shows it, which matters on a building site or in a flat that has no Wi-Fi yet.
- The algorithm, delivered into their apps
- Each client kept its own app and its own interface. We delivered the measuring core and wired it in. The frames and loops on this page come from our test builds.
The specs
- Clients
- Joto, Germany (2021) · Meddida, United States (2024)
- Platform
- iOS, native
- Frameworks
- ARKit · LiDAR scene depth, with a camera-only fallback for Joto
- Models
- None. Geometry only
- Connectivity
- None. Nothing leaves the phone
- Joto output
- A floor plan of the mapped room, accurate to 5 cm
- Meddida output
- Width and height of the opening in inches, plus object and material detection and measurement layers
- Delivered as
- The algorithm, built into each client’s own app

If your customers still measure something with a tape, bring it to the call. We will tell you whether a phone can do it.
All the workHalf an hour. No slides.
Tell us what you're building and ask us whatever you want. If we're not the right fit, you'll hear it on the call.