Skip to the page
← The client workBuilt into two apps

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.

Joto: the floor plan the algorithm produced for a dining room, 4.09 by 8.27 metres
Exhibit — Joto's floor plan of a dining room, 4.09 × 8.27 m
Exhibit — Meddida on an office window: the lock holds while the phone moves
≤ 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

LiDAR points000
  1. 01Find the opening
  2. 02Lock the corners
  3. 03Read it
An arched office window in the camera view of the Meddida test build

Window · plane 01

Width

0.00m

0.00 in

Height

0.00m

0.00 in

Plane held · confidence high
fig. 01 — one frame from the test build. The numbers are the app's own reading of this window

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.

Four detected wall segments extended as infinite lines; their intersections are the corners of the room4.094.098.278.27DETECTED PLANEINFINITE LINECORNER
fig. — the four walls as planes, extended to lines. The crossings are the cornersfig. 02
fig. — the scan, live: a wall confirmed, then the four walls as lines across the room
  1. 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.

  2. 02

    Treat each wall as an infinite line

    The algorithm keeps the line the plane lies on and throws the ends away.

  3. 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.

  4. 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.

  5. 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.

Joto: the generated floor plan of a dining room with wall lengths 4.09 and 8.27 metres
Exhibit — the floor plan Joto draws from the corners
Joto: renovation recommendations for the room, a mirror, a sink and a cabinet, each priced in euros
Exhibit — Joto's product picks for the room, with prices

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
Meddida on a double door at home: a bracket locked on each corner and the reading 43 ¾ by 65 ¼ inches
Exhibit — the same detector on a door at home: four brackets locked, 43 ¾ × 65 ¼ infig. 03

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 work

Half 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.