|     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |     |

Sebastian Guo

|   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
Computer vision / Interaction design

Spatial Lens

A visual workbench for exploring how a computer reads light, comfort and atmosphere in a space.

Explore the workspace ↓
An open-plan living room split between its original photograph and the model’s colour-coded scene elements.
Designer
Junzhe (Sebastian) Guo
My role
Interface design & application development
Engine
SegFormer-B2 / ADE20K
Format
Interactive web application
Design question

What does a room score actually see?

In the course examples, a bright room with two windows earns a lower lighting score than a shaded garden walkway. Both numbers invite the same question. Which parts of the image led to that result?

The project began with course code that scored batches of photographs. Spatial Lens brings the source image, segmentation overlay and four component scores into a single English-language workspace. The upgrade adds video sampling, paired comparisons and a history that lets you return to a particular view.

Interactive scene reader

Between the image and the mask.

Slide across the photograph to uncover what the segmentation model recognised. In the living room, the ceiling covers 23.8% of the image. On the garden walkway, trees alone cover 33.2%. In the two-window room, a single label, wall, takes up 48.8%.

Switch scenes to see how the composition changes. The percentages describe the share of image pixels assigned to each visible element.

Three photographs and their recorded masksOpen scene reader ↗
Scoring model

Four readings of one frame.

SegFormer-B2 assigns pixels to scene categories from ADE20K. Alongside that map, the system measures brightness, contrast, colour variation and texture. Four course-defined formulas read different combinations of those signals.

20%

Lighting

Exposure, contrast, and the share of the image occupied by windows and light fixtures.

20%

Visual comfort

The number of distinct scene elements and the density of fine visual texture.

30%

Affective tone

Brightness and relative colour temperature, together with visible greenery, furnishings and décor.

30%

Aesthetic richness

The balance of light and colour, and the mix of architectural, decorative and natural elements.

The model applies a nonlinear adjustment to the weighted result. A camera frame and a still photograph use the same fixed reference ranges, so adding another view leaves earlier scores comparable.

Interaction workflow

From a snapshot to a sequence.

Each input produces the same kind of frame report. The choice is what you want to hold constant. A batch of photographs can compare rooms, a camera can revisit a position, and a video can trace a walk through a space.

Photos

Compare viewpoints

Drop several photos into the workspace. Each receives its own overlay and scores. The batch is ranked by overall score, and any view can be opened for closer inspection.

Live camera

Return to a position

Capture a single frame or sample every 2, 3, 5 or 10 seconds. Automatic capture waits for the previous frame to finish scoring.

Video

Follow a route

Set the interval to 2, 5 or 10 seconds. Longer clips are sampled evenly across up to 36 frames. Select a point on the timeline to recover its image and scores.

How reports, history and CSV export work

Each saved report pairs the input photograph with its segmented view, component scores and most visible labels. Completed video frames remain available if sampling is stopped. History is stored in the current browser, and timestamped CSV export makes it possible to examine scores from several runs together.

Readout / Course samples

Where two views diverge.

The garden walkway scores 17.32 points above the open-plan living room overall. The largest component difference is visual comfort, at 38.35 points. Affective tone moves only 2.81 points. Seeing the four dimensions side by side changes how that overall gap reads.

Actual Spatial Lens Compare screen showing the living room alongside the garden walkway, with scores and differences for each dimension.
Compare view · Open-plan living room and garden walkway
Scores across all three course examples / 100
DimensionLiving roomGarden walkwayTwo-window room
Lighting53.4176.6138.22
Visual comfort26.2764.6213.62
Affective tone63.8366.6433.61
Aesthetic richness63.1781.7167.74
Overall69.3386.6556.13

Reading the outlier

The two-window room has the lowest visual comfort score, 13.62, but its aesthetic richness score is 67.74, above the furnished living room’s 63.17. The formulas reward different properties of the image. Framing, exposure and the objects in view can change each reading. The scores describe the view. Understanding how occupants feel would require asking them directly.

Interactive prototype

Try Spatial Lens.

Open View examples to inspect the recorded scenes. Switch a result between its photo and segmentation overlay, or choose Compare to put any two spaces side by side.

This embedded edition includes all three course examples. Scoring new photos, camera captures and video files runs in the local application with the SegFormer engine.

English workspace · Interactive example editionOpen full workspace ↗
|    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |    |

© 2026 Portfolio









Sebastian Guo