{
  "original": {
    "width": 1280,
    "height": 960,
    "megapixels": 1.23
  },
  "staged": {
    "width": 1184,
    "height": 864,
    "megapixels": 1.02
  },
  "aspect_ratio": {
    "original": 1.3333,
    "staged": 1.3704,
    "deviation": 0.0278,
    "pass": false
  },
  "resolution_kept": false,
  "resolution_ratio": 0.833,
  "raw_drift_score": 61.3,
  "alignment": {
    "ok": false,
    "method": "SIFT + ratio test + RANSAC similarity (estimateAffinePartial2D)",
    "keypoints_original": 366,
    "keypoints_staged": 719,
    "matches": 15,
    "reason": "too few matches"
  },
  "framing": {
    "pass": null,
    "result": "unknown (alignment failed)"
  },
  "architecture": {
    "edge_ssim": 0.628,
    "line_recall": 0.1463,
    "line_displaced_frac": 0.2294,
    "line_missing_frac": 0.6243,
    "structural_line_pixels": 9146,
    "evaluated_area_frac": 0.65,
    "drift_score": 61.3,
    "aligned": false,
    "note": "alignment failed; falls back to raw (unaligned) score",
    "mask": "auto: top 65% of frame"
  },
  "drift_score": 61.3,
  "structure": {
    "edge_ssim": 0.628,
    "line_recall": 0.1463,
    "line_displaced_frac": 0.2294,
    "line_missing_frac": 0.6243,
    "structural_line_pixels": 9146,
    "evaluated_area_frac": 0.65,
    "drift_score": 61.3,
    "mask": "auto: top 65% of frame",
    "note": "legacy unaligned structure check (= raw_drift_score)"
  },
  "seconds_to_result": null,
  "seconds_approx": true,
  "files": {
    "original": "photos/03-room-passage-desk.jpg",
    "staged": "results/homedesignsai/03.jpg"
  }
}