Skip to content

spatial-monorepo


spatial-monorepo / editor/src / FloorPlanScan

Interface: FloorPlanScan

Defined in: packages/editor/src/recognition/types.ts:29

The raw input image (PNG/JPG raster) provided before geo-registration. Distinct from an already-registered editor floor plan image: a FloorPlanScan is the input to a RecognitionSession, and becomes a normal editor floor plan image once homography H is established by the GeoReferencingWizard.

Properties

base64

base64: string

Defined in: packages/editor/src/recognition/types.ts:32

Raw base64 image bytes (no data: URI prefix).


height

height: number

Defined in: packages/editor/src/recognition/types.ts:36


id

id: string

Defined in: packages/editor/src/recognition/types.ts:30


mediaType

mediaType: "image/png" | "image/jpeg" | "image/webp"

Defined in: packages/editor/src/recognition/types.ts:33


width

width: number

Defined in: packages/editor/src/recognition/types.ts:35

Pixel dimensions of the scan — the coordinate space H was solved in.

Released under commercial licensing.