Search⌘KLights off
Sam Gu

BaseScanning

Splat! Walk the wall by your meter with an iPhone, and a home battery lands in AR where it fits.

Base Power decides where a home battery can go from photos the homeowner sends in, and a photo can’t show what sits outside its frame. BaseScanning makes it one walk. You scan the wall by your meter with an iPhone, our server rebuilds that wall in 3D and checks it against every placement rule, and the answer comes back in AR. Four of us built it.

Unseen means unsure

A stand-in wall, drawn for this page and scanned by the write-up’s rules: a stretch the phone only glanced at stays unsure, and the battery lands only where the wall was seen. The window’s 3 ft 3 in by 3 ft 7 in and the spot 12 ft from the meter come from the write-up’s sample walk and the class names are ARKit’s for a LiDAR mesh, while the wall and where its meter and window sit, the slab, which is not Base Power’s hardware, the file’s fields and the 85% it takes to call a part seen are made up. Siding from Weathered Plank Siding by Dimitrios Savva, Poly Haven, CC0.

What one walk records

One walk gives the server three readings. Seen: a close-up of the meter, then the wall and ground to the corner. Measured: the window, marked by two corners, 3 ft 3 in by 3 ft 7 in. Placed: a possible spot 12 ft from the meter, for an installer to check.

BaseScanning’s own drawing of a meter wall, with example values from its site. It is split into the walk’s three readings: the meter framed with the ground under it seen and the ground farther left hatched as never seen, the window measured from two marked corners, and a cable from the meter to a possible spot near the corner.

What leaves the phone, and what comes back

The iPhone tracks the wall and what it has seen while you walk and mark it, and sends photos, poses and marks for the whole walk in one capture packet. Written rules, not a model, check the wall, and each check passes, fails or stays unsure. The answer is a spot, or one more view: an unsure check asks for a better view, and the app asks you for it. A spot shows up on your wall in AR, and an installer reviews every result.

Needs a view? The app asks for it.

  1. Walk and markThe iPhone tracks the wall and what it has seen.

  2. Photos, poses and marksOne capture packet for the whole walk.

  3. Placement rulesWritten rules, not a model. Each check passes, fails or stays unsure.

  4. A spot, or one more viewUnsure checks ask for a better view.

  5. See it on your wallIn AR. An installer reviews every result.

The five steps of one survey, in drawings from BaseScanning’s site. The phone walks and marks the wall and sends one capture packet for written rules to check, and the spot then shows up in AR for an installer to review, unless a check is unsure and sends the walk back for one more view.

Unseen means unsure

The rule we cared about most is about what the phone didn’t see. A stretch of wall nobody filmed might be bare, or it might have a gas meter on it, and the server has no way to tell. So it marks that stretch unknown and never passes a spot that depends on it. The app asks for that view instead. A blank on the map is never treated as empty ground.

A check whose ground was never seen stays unsure and names the missing viewA wall with the meter at left and a candidate battery spot beside it. The ground in front of the spot is hatched: never seen. Beside it a card reads: ground near the spot, checks need 6 to 13 ft of ground, unsure, missing evidence: show the ground 6 ft right of your meter.metercandidate spotnever seenGround near the spotchecks need 6 to 13 ft of groundUnsuremissing evidence: show theground 6 ft right of your meterA check whose ground was never seen stays unsure and names the missing viewA wall with the meter at left and a candidate battery spot beside it. The ground in front of the spot is hatched: never seen. Beside it a card reads: ground near the spot, checks need 6 to 13 ft of ground, unsure, missing evidence: show the ground 6 ft right of your meter.metercandidate spotnever seenGround near the spotchecks need 6 to 13 ft of groundUnsuremissing evidence: show theground 6 ft right of your meter
A candidate spot whose ground was never seen, in example values from the team’s briefing. The checks that use ground need 6 to 13 ft of it, so this one cannot pass, and it stays unsure and names the view that would settle it.

Measurements get the same caution. The phone tracks its position by adding up its own movements, so error piles up the farther you walk from the meter, and every measurement carries a margin. Take the 3 ft rule for gas meters. At 4.5 ft, give or take 0.8 ft, the check passes. At 3.4 ft with the same margin it could go either way, so it comes back unsure, and a person or a better view settles it.

Three measurements against the 3 ft gas meter ruleA number line from 0 to 6 ft with a rule at 3 ft. 4.5 ft plus or minus 0.8 sits clear of the rule: pass. 2.0 ft plus or minus 0.8 sits short of it: fail. 3.4 ft plus or minus 0.8 straddles it: unsure.0123456 ft3 ft rule (gas meter)too closeclear4.5 ft ± 0.8, clear by 1.5Pass2.0 ft ± 0.8, short by 1.0Fail3.4 ft ± 0.8, clear by only 0.4UnsureThree measurements against the 3 ft gas meter ruleA number line from 0 to 6 ft with a rule at 3 ft. 4.5 ft plus or minus 0.8 sits clear of the rule: pass. 2.0 ft plus or minus 0.8 sits short of it: fail. 3.4 ft plus or minus 0.8 straddles it: unsure.0123456 ft3 ft rule (gas meter)too closeclear4.5 ft ± 0.8, clear by 1.5Pass2.0 ft ± 0.8, short by 1.0Fail3.4 ft ± 0.8, clear by only 0.4Unsure
Three measurements against the 3 ft gas meter rule, in example values from the team’s briefing, since Base’s own thresholds are private and are not drawn here. Each has an error bar of ± 0.8 ft, and a check passes only when its margin beats the error, fails only when it misses by more than the error, and stays unsure otherwise.

The machine learning models build the wall and name what’s on it, but they never decide whether a battery fits. A deterministic check against a separate rules file does that. The server slides the battery’s outline along every stretch of wall the phone saw, 2 inches at a time, and runs 13 checks at each stop, among them the meter’s working space, gas and AC clearances and the cable run. Each check passes, fails or stays unsure, which the server’s contract calls pass, reject and manual_review, and anything it can’t settle goes to a person.

My part

I built the iPhone app and the capture packet, the file the phone sends to the server, working with AI agents. ARKit anchors the meter, Vision reads its number, Metal hazes over the parts of the wall the camera hasn’t covered, and a RealityKit raycast places each tap. LiDAR helps when the phone has it, but the app doesn’t need it. Everything ends up in one scene.json. When the server finds a spot, RealityKit pins the battery to the real wall through the camera.

ARKit gives the app four layers: camera and pose on every iPhone, LiDAR depth and a classified mesh (wall, floor, door, window) on iPhones that have LiDAR, and planes with gravity, so +y points straight up. HouseScanKit puts every mark at s, feet along the wall from the meter. The wall, your marks, what the walk saw and each keyframe’s pose go into scene.json, one small file.

  1. Camera and poseEvery iPhone
  2. LiDAR depthsceneDepth, LiDAR iPhones
  3. Classified meshWall, floor, door, window
  4. Planes and gravity.gravity, +y up
The wall, measured in feetA plan of the wall with the meter at s equals 0 and a scale from minus 5 to 10 ft. The ground more than 2.5 ft left of the meter is hatched as not seen; the rest is observed. The window and a possible spot sit on the wall, which turns at the corner, and seven keyframe poses run along the walk.−5s = 0510 ftcornerwindowspotobserved groundkeyframe posesxzx, z in feet
Drawings from BaseScanning’s site, with its example values. On the left are the four layers ARKit gives the app, drawn apart, from the camera and pose every iPhone tracks to the planes and gravity that keep the wall upright, and on the right is the wall as a plan in feet, with s as feet along the wall from the meter, the window and the spot on it, and the keyframe poses along the walk.

Hunter Carver built the 3D model and the rule checks. Aiden Johnston ran field tests on a real iPhone and fixed what they turned up. Shrey Suri wrote the README and drew its diagrams.

What doesn’t work yet

  • Most of the system still lives in open pull requests, guided capture and the rules engine included.
  • Our first run on a real phone placed nothing. The app put both ends of the wall at the meter, which left the server a wall with no length to search.
  • Our best tracking result came from an iPhone 14 Pro Max, which has LiDAR. An iPhone 6s drifted two to three times past what the server allows.
  • Reading the meter number is only half solved. A nameplate carries several numbers, and the reader’s top three guesses held the right meter number on 27 of 34 held-out photos. For now the app shows those three candidates and the homeowner taps the right one.
  • The app’s first coverage map checked only range, angle and framing, and claimed 1.1 ft of wall that no photo saw. Tested against depth, the recon worker now claims at most about 0.46 ft.
  • LiDAR reaches about 5 m, so capture has to stand within about 4 m of the wall.
  • The pool and driveway distances are placeholders, because we couldn’t find public values.
Built with
Swift, ARKit

Contact

sgu07966@gmail.com

Sam Gu’s card. Computer science, UT Austin. Austin, TX. kgu.one.

Built from a commit to kgu.one on 2 November 2026.

Sam is in Austin (Central Time).