Skip to content

About

A computer vision-based feature extraction tool for UI design analysis, focusing on color distribution, visual density, and layout composition. Uses RGB and CIELAB color spaces, foreground segmentation masks, and bounding boxes to quantify UI elements, analyze visual hierarchy, and evaluate spatial organization in interface screenshots.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

Feature extraction — approved thesis snapshot

Updated 13 November 2026. The current approved extraction is the original baseline plus the frozen optional foreground correction, evaluated first on 12 screens and then applied to all 82 pilot screenshots. This folder now contains its source and saved full-pilot outputs. No extraction was rerun during this update.

Location Purpose
approved_feature_extraction_v1/ Current approved source snapshot, configuration and all 82 saved results
feature_extraction_github/ Original baseline code package, preserved unchanged
run_01/ Original 12-screen correction experiment, preserved unchanged
baseline_methodology.md Previous README, retained as the baseline's mathematical/learning reference

Current results

The approved full run is results_corrected_pilot:

The selected method comes from the 12-screen run_01 experiment; the current complete results are the separate 82-screen approved run. These are different evaluation scopes.

What changed in extraction

The original extract_features.py remains the baseline. The frozen correct_mask function optionally suppresses one large, smooth region connected across both image sides when both side profiles show sufficient gradient evidence and the baseline mask has high coverage. The approved full-pilot runner explicitly enables this correction. The correction function defaults to disabled for other callers.

Correction updates foreground coverage and the connected-component boxes/layout derived from the corrected mask. Palette extraction, K-Means/CIELAB definitions and Canny edge density are unchanged. Full processed screenshots are retained: no new cropping, footer removal or device-frame policy was introduced by this selected correction. Acquisition artifacts, pale boundaries and semantic interpretation remain limitations. Connected components are not semantic UI elements.

See the snapshot guide for source locations, parameters, verification and reproduction. The baseline's formulas remain in baseline_methodology.md; correction explanations are preserved in the original correction documentation.

Later analysis stages

Extraction records remain separate from scoring. The main project additionally contains:

These links refer to the surrounding thesis workspace; downstream scoring has not been folded into the extraction algorithm or copied into this snapshot. This update is local; nothing was committed or uploaded to GitHub.

Reusable Codex skill

The thesis-visual-feature-extraction skill captures the approved extraction workflow, feature formulas, output schemas and preservation rules. Its supporting references explain reproduction and visual review. Invoke it as $thesis-visual-feature-extraction once available in Codex's skill catalog. The skill uses the existing project/environment; it does not bundle or rerun the dataset.

About

A computer vision-based feature extraction tool for UI design analysis, focusing on color distribution, visual density, and layout composition. Uses RGB and CIELAB color spaces, foreground segmentation masks, and bounding boxes to quantify UI elements, analyze visual hierarchy, and evaluate spatial organization in interface screenshots.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages