SleepEasy

Chrome extension · StreetEasy · NYC

Crime stats and room
sizes for StreetEasy.

Neighborhood crime statistics and photo-based room square-footage estimates, added to StreetEasy NYC listing pages. Open source. Runs on your device.

The crime module, inline on a listing.

Crime statistics

Per-neighborhood crime, ranked across NYC.

Coordinates from the listing page are mapped to the official NYC Neighborhood Tabulation Area by point-in-polygon. The module shows murder, felony assault, and property crime, each ranked against all 197 neighborhoods. The default measure is an ambient risk index — incidents per 100,000 people present (residents plus daytime workers). Per-resident rate, density, and raw counts are also available, across 3-, 12-, and 24-month windows.

Data ships inside the extension, compiled from NYPD complaint records on NYC Open Data. No lookups over the network.

Square footage

Room square footage from listing photos.

Group a listing's photos into rooms; the extension estimates each floor area with a computer-vision pipeline that runs in your browser. Semantic segmentation isolates the floor, a metric-depth model recovers geometry, and the room is completed out to its walls — recovering floor hidden by furniture — all on your device (WebGPU, with a CPU fallback). An optional local backend adds a higher-accuracy multi-photo mode.

Listing photo with the floor highlighted by semantic segmentation
Floor segmentation
Metric depth map of the room
Metric depth
Reconstructed top-down floor plan
Top-down floor
PipelineHardwareError
Multi-photo (DUSt3R camera fusion)NVIDIA GPU5.4%
Single-image, wall-to-wall completionAny machine~5–12%
Single-image, visible floor (fallback)Any machine~30%

266 sqft benchmark room; single-image error varies with viewing angle and room. Estimates are approximate; research project, accuracy not guaranteed.

Install

Install.

Both features — no dependencies

  1. Download sleepeasy-extension.zip and unzip it
  2. Open chrome://extensions, enable Developer mode
  3. Load unpacked → the unzipped extension folder
  4. Open a StreetEasy listing

Crime stats and room sizes both work on-device. The room-size model (~150 MB) downloads once on first use and is cached.

Optional: local backend — multi-photo mode

git clone https://github.com/umqadir/streeteasy-enhanced-extension.git
cd streeteasy-enhanced-extension/selfhost
bash scripts/install.sh        # python env + ~4 GB of model weights
bash scripts/start_backend.sh  # http://127.0.0.1:8787

Requires uv. Runs on any machine; an NVIDIA GPU enables multi-photo mode. See selfhost/README.

Privacy

Runs on your device.

No accounts, no analytics, no tracking. Crime lookups run against data bundled in the extension; photo analysis contacts only 127.0.0.1. MIT-licensed and open source. Privacy policy.

Notes

Affiliation

Independent open-source project. Not affiliated with or endorsed by StreetEasy, Zillow Group, the NYPD, or the City of New York.

Data sources

NYPD complaint records on NYC Open Data, joined with NYC neighborhood boundaries, 2020 Census population, and Census LODES workplace counts. Compiled offline by the scripts in the repository.

Why square footage needs a separate install

It runs computer-vision models that can't ship inside a browser extension. Running them locally also keeps the photos on your machine.