{
  "original": {
    "width": 1280,
    "height": 960,
    "megapixels": 1.23
  },
  "staged": {
    "width": 1200,
    "height": 896,
    "megapixels": 1.08
  },
  "aspect_ratio": {
    "original": 1.3333,
    "staged": 1.3393,
    "deviation": 0.0045,
    "pass": true
  },
  "resolution_kept": false,
  "resolution_ratio": 0.875,
  "raw_drift_score": 57.4,
  "alignment": {
    "ok": false,
    "method": "SIFT + ratio test + RANSAC similarity (estimateAffinePartial2D)",
    "keypoints_original": 508,
    "keypoints_staged": 418,
    "matches": 49,
    "affine_anisotropy": 0.0412,
    "inliers": 13,
    "inlier_ratio": 0.265,
    "median_residual_px": 0.49,
    "reason": "too few inliers"
  },
  "framing": {
    "pass": null,
    "result": "unknown (alignment failed)"
  },
  "architecture": {
    "edge_ssim": 0.7477,
    "line_recall": 0.1037,
    "line_displaced_frac": 0.1949,
    "line_missing_frac": 0.7014,
    "structural_line_pixels": 6480,
    "evaluated_area_frac": 0.65,
    "drift_score": 57.4,
    "aligned": false,
    "note": "alignment failed; falls back to raw (unaligned) score",
    "mask": "auto: top 65% of frame"
  },
  "drift_score": 57.4,
  "structure": {
    "edge_ssim": 0.7477,
    "line_recall": 0.1037,
    "line_displaced_frac": 0.1949,
    "line_missing_frac": 0.7014,
    "structural_line_pixels": 6480,
    "evaluated_area_frac": 0.65,
    "drift_score": 57.4,
    "mask": "auto: top 65% of frame",
    "note": "legacy unaligned structure check (= raw_drift_score)"
  },
  "seconds_to_result": 168.0,
  "seconds_approx": true,
  "files": {
    "original": "photos/10-open-plan-with-clutter.jpg",
    "staged": "results/veltas/10.jpg"
  }
}