{
  "original": {
    "width": 1920,
    "height": 926,
    "megapixels": 1.78
  },
  "staged": {
    "width": 3168,
    "height": 1344,
    "megapixels": 4.26
  },
  "aspect_ratio": {
    "original": 2.0734,
    "staged": 2.3571,
    "deviation": 0.1368,
    "pass": false
  },
  "resolution_kept": true,
  "resolution_ratio": 2.395,
  "raw_drift_score": 61.5,
  "alignment": {
    "ok": false,
    "method": "SIFT + ratio test + RANSAC similarity (estimateAffinePartial2D)",
    "keypoints_original": 164,
    "keypoints_staged": 284,
    "matches": 27,
    "affine_anisotropy": 0.7539,
    "inliers": 7,
    "inlier_ratio": 0.259,
    "median_residual_px": 0.13,
    "reason": "too few inliers"
  },
  "framing": {
    "pass": null,
    "result": "unknown (alignment failed)"
  },
  "architecture": {
    "edge_ssim": 0.6322,
    "line_recall": 0.1383,
    "line_displaced_frac": 0.2414,
    "line_missing_frac": 0.6204,
    "structural_line_pixels": 9633,
    "evaluated_area_frac": 0.65,
    "drift_score": 61.5,
    "aligned": false,
    "note": "alignment failed; falls back to raw (unaligned) score",
    "mask": "auto: top 65% of frame"
  },
  "drift_score": 61.5,
  "structure": {
    "edge_ssim": 0.6322,
    "line_recall": 0.1383,
    "line_displaced_frac": 0.2414,
    "line_missing_frac": 0.6204,
    "structural_line_pixels": 9633,
    "evaluated_area_frac": 0.65,
    "drift_score": 61.5,
    "mask": "auto: top 65% of frame",
    "note": "legacy unaligned structure check (= raw_drift_score)"
  },
  "seconds_to_result": 59,
  "seconds_approx": true,
  "files": {
    "original": "photos/04-attic-odd-windows.jpg",
    "staged": "results/roomagen/04.jpg"
  },
  "settings": {
    "mode": "Virtual Staging",
    "style": "Modern",
    "furniture": "Let AI Decide",
    "quality": "2K",
    "watermark": false
  }
}