{
  "original": {
    "width": 1920,
    "height": 926,
    "megapixels": 1.78
  },
  "staged": {
    "width": 1472,
    "height": 704,
    "megapixels": 1.04
  },
  "aspect_ratio": {
    "original": 2.0734,
    "staged": 2.0909,
    "deviation": 0.0084,
    "pass": true
  },
  "resolution_kept": false,
  "resolution_ratio": 0.583,
  "raw_drift_score": 54.5,
  "alignment": {
    "ok": false,
    "method": "SIFT + ratio test + RANSAC similarity (estimateAffinePartial2D)",
    "keypoints_original": 164,
    "keypoints_staged": 2375,
    "matches": 61,
    "inliers": 17,
    "inlier_ratio": 0.279,
    "median_residual_px": 0.0,
    "reason": "too few inliers"
  },
  "framing": {
    "pass": null,
    "result": "unknown (alignment failed)"
  },
  "architecture": {
    "edge_ssim": 0.2539,
    "line_recall": 0.6566,
    "line_displaced_frac": 0.3288,
    "line_missing_frac": 0.0146,
    "structural_line_pixels": 9633,
    "evaluated_area_frac": 0.65,
    "drift_score": 54.5,
    "aligned": false,
    "note": "alignment failed; falls back to raw (unaligned) score",
    "mask": "auto: top 65% of frame"
  },
  "drift_score": 54.5,
  "structure": {
    "edge_ssim": 0.2539,
    "line_recall": 0.6566,
    "line_displaced_frac": 0.3288,
    "line_missing_frac": 0.0146,
    "structural_line_pixels": 9633,
    "evaluated_area_frac": 0.65,
    "drift_score": 54.5,
    "mask": "auto: top 65% of frame",
    "note": "legacy unaligned structure check (= raw_drift_score)"
  },
  "seconds_to_result": null,
  "seconds_approx": true,
  "files": {
    "original": "photos/04-attic-odd-windows.jpg",
    "staged": "results/homedesignsai/04.jpg"
  }
}