{
  "schema_version": 1,
  "evidence_kind": "offline synthetic crop-mechanics experiment",
  "license": "Original code and synthetic assets: MIT, see LICENSE. Referenced upstream processor header: Apache-2.0; model repository card: MIT. No upstream code is bundled.",
  "scope": "No model inference, model weights, remote code, network, paid service, or game engine is used by these scripts.",
  "model_accuracy_measured": false,
  "segmentation_or_background_removal": false,
  "coordinate_contract": {
    "size_order": [
      "width",
      "height"
    ],
    "box_order": [
      "x0",
      "y0",
      "x1",
      "y1"
    ],
    "units": "pixels",
    "origin": "top-left",
    "x_direction": "right",
    "y_direction": "down",
    "orientation": "EXIF normalization must precede coordinate assignment; fixture PNGs have no EXIF",
    "integer_edges": "half-open [left, right) x [top, bottom)",
    "padding": "6 destination pixels on all sides before floor/ceil and clipping; fully outside boxes rejected before padding"
  },
  "source_revision": "5ca5edf5bd017b9919c05d08aebef5e4c7ac3bac",
  "primary_sources": [
    "https://huggingface.co/microsoft/Florence-2-base/blob/5ca5edf5bd017b9919c05d08aebef5e4c7ac3bac/processing_florence2.py",
    "https://huggingface.co/microsoft/Florence-2-base#object-detection"
  ],
  "source_note": "Pinned processor source was inspected, not downloaded or executed. The current public model card was read for OD usage.",
  "wide_fixture": {
    "size": [
      960,
      540
    ],
    "results": [
      {
        "index": 0,
        "label": "sword",
        "status": "accepted",
        "crop": [
          42,
          260,
          447,
          360
        ],
        "size": [
          405,
          100
        ],
        "file": "crop-00-sword.png"
      },
      {
        "index": 1,
        "label": "staff",
        "status": "accepted",
        "crop": [
          522,
          73,
          608,
          432
        ],
        "size": [
          86,
          359
        ],
        "file": "crop-01-staff.png"
      },
      {
        "index": 2,
        "label": "shield",
        "status": "accepted",
        "crop": [
          689,
          108,
          888,
          351
        ],
        "size": [
          199,
          243
        ],
        "file": "crop-02-shield.png"
      },
      {
        "index": 3,
        "label": "potion at border",
        "status": "accepted",
        "crop": [
          0,
          378,
          78,
          540
        ],
        "size": [
          78,
          162
        ],
        "file": "crop-03-border-potion.png"
      },
      {
        "index": 4,
        "label": "fully outside",
        "status": "rejected",
        "reason": "bbox has no positive-area overlap with the raster"
      },
      {
        "index": 5,
        "label": "zero width",
        "status": "rejected",
        "reason": "bbox must satisfy x0 < x1 and y0 < y1"
      },
      {
        "index": 6,
        "label": "reversed x",
        "status": "rejected",
        "reason": "bbox must satisfy x0 < x1 and y0 < y1"
      },
      {
        "index": 7,
        "label": "boolean coordinate",
        "status": "rejected",
        "reason": "coordinate: expected a finite int or float, not bool"
      },
      {
        "index": 8,
        "label": "text coordinate",
        "status": "rejected",
        "reason": "coordinate: expected a finite int or float, not bool"
      }
    ],
    "accepted": 4,
    "rejected": 5
  },
  "tall_fixture": {
    "size": [
      360,
      720
    ],
    "box": [
      220.2,
      55.7,
      273.1,
      658.2
    ],
    "padding_px": 6,
    "crop": [
      214,
      49,
      280,
      665
    ],
    "crop_size": [
      66,
      616
    ],
    "file": "crop-04-tall-staff.png"
  },
  "resize_demo": {
    "source_size": [
      960,
      540
    ],
    "target_size": [
      480,
      270
    ],
    "scale": 0.5,
    "source_box": [
      48.25,
      266.5,
      440.75,
      353.25
    ],
    "remapped_box": [
      24.125,
      133.25,
      220.375,
      176.625
    ],
    "correct_crop": [
      24,
      133,
      221,
      177
    ],
    "wrong_frame_crop": [
      48,
      266,
      441,
      270
    ],
    "warning": "Wrong crop intentionally supplies a false matching frame ID to illustrate why provenance must be correct; the true differing ID is rejected.",
    "unsupported_transforms": [
      "letterbox",
      "center crop",
      "rotation",
      "mirror",
      "translation",
      "different content",
      "aspect ratio changes"
    ]
  },
  "bin_arithmetic_demo": {
    "indices": [
      0,
      0,
      999,
      999
    ],
    "size": [
      960,
      540
    ],
    "pixels": [
      0.48,
      0.27,
      959.52,
      539.73
    ],
    "note": "Formula illustration using Python doubles; not an upstream parser run or bit-for-bit tensor equivalence."
  },
  "outputs": {
    "coordinate-frame-comparison.png": {
      "sha256": "ea5a8429c352658db7807967cb17650d62edbcaae2772a572b68aa51a09fef34",
      "bytes": 15241,
      "width": 1560,
      "height": 675,
      "format": "PNG RGB 8-bit lossless",
      "metadata_chunks": [
        "IHDR",
        "IDAT",
        "IEND"
      ]
    },
    "crop-00-sword.png": {
      "sha256": "789988fbd2a2583a4ef83f614dd22a35a111f3ce6ef5af8b6746c8ba4ac35259",
      "bytes": 944,
      "width": 405,
      "height": 100,
      "format": "PNG RGB 8-bit lossless",
      "metadata_chunks": [
        "IHDR",
        "IDAT",
        "IEND"
      ]
    },
    "crop-01-staff.png": {
      "sha256": "385e65211a41a87be10981b328db054165e78ef63733edc5735f66e25d94824a",
      "bytes": 884,
      "width": 86,
      "height": 359,
      "format": "PNG RGB 8-bit lossless",
      "metadata_chunks": [
        "IHDR",
        "IDAT",
        "IEND"
      ]
    },
    "crop-02-shield.png": {
      "sha256": "6fe8891de1ee0da8f12812eb848c5e8bc4508c1978210f4898db53323f97fb6a",
      "bytes": 1710,
      "width": 199,
      "height": 243,
      "format": "PNG RGB 8-bit lossless",
      "metadata_chunks": [
        "IHDR",
        "IDAT",
        "IEND"
      ]
    },
    "crop-03-border-potion.png": {
      "sha256": "94f5cdd75af3b666556a9756320a7ea1b631c478ca3409f7c072da1a7ae29e1b",
      "bytes": 595,
      "width": 78,
      "height": 162,
      "format": "PNG RGB 8-bit lossless",
      "metadata_chunks": [
        "IHDR",
        "IDAT",
        "IEND"
      ]
    },
    "crop-04-tall-staff.png": {
      "sha256": "b5b3da991c4475456287e1cfc967d2607d8db0c3a5ecdb989839fac95c3d7308",
      "bytes": 890,
      "width": 66,
      "height": 616,
      "format": "PNG RGB 8-bit lossless",
      "metadata_chunks": [
        "IHDR",
        "IDAT",
        "IEND"
      ]
    },
    "crop-contact-sheet.png": {
      "sha256": "c21c046a7ab2f7ae0f24468dd5577a4f7f295876f313ba36723277222896408c",
      "bytes": 21473,
      "width": 1440,
      "height": 900,
      "format": "PNG RGB 8-bit lossless",
      "metadata_chunks": [
        "IHDR",
        "IDAT",
        "IEND"
      ]
    },
    "resize-correct-crop.png": {
      "sha256": "912bce3a36bcc881690d47ee94b9d740ebc84fb201545c360438b0f25724add2",
      "bytes": 374,
      "width": 197,
      "height": 44,
      "format": "PNG RGB 8-bit lossless",
      "metadata_chunks": [
        "IHDR",
        "IDAT",
        "IEND"
      ]
    },
    "resize-half.png": {
      "sha256": "5199929b47062e7550c9810673e79d277ce786e142f0f2178304b1eb86eac450",
      "bytes": 2964,
      "width": 480,
      "height": 270,
      "format": "PNG RGB 8-bit lossless",
      "metadata_chunks": [
        "IHDR",
        "IDAT",
        "IEND"
      ]
    },
    "resize-wrong-crop.png": {
      "sha256": "7a67c7379f422c871e4df4c55375b73edbf79b9f7ad6a04b491da1bf6e3c1d53",
      "bytes": 118,
      "width": 393,
      "height": 4,
      "format": "PNG RGB 8-bit lossless",
      "metadata_chunks": [
        "IHDR",
        "IDAT",
        "IEND"
      ]
    },
    "scene-tall.png": {
      "sha256": "ab58ac8c211c92511462e83dd8f50abc02a1410613f3dcd5fc50badd6e1b69d6",
      "bytes": 5183,
      "width": 360,
      "height": 720,
      "format": "PNG RGB 8-bit lossless",
      "metadata_chunks": [
        "IHDR",
        "IDAT",
        "IEND"
      ]
    },
    "scene-wide-boxes.png": {
      "sha256": "1f8bab4c135cf2cb94ea125c0f1dc450e04b36918a9ecb990a2121a32081628d",
      "bytes": 9440,
      "width": 960,
      "height": 540,
      "format": "PNG RGB 8-bit lossless",
      "metadata_chunks": [
        "IHDR",
        "IDAT",
        "IEND"
      ]
    },
    "scene-wide.png": {
      "sha256": "7ae39d7b510a2ded7aa43ea1fb2a38c922d8416759b2df8a87b049ab85def475",
      "bytes": 8771,
      "width": 960,
      "height": 540,
      "format": "PNG RGB 8-bit lossless",
      "metadata_chunks": [
        "IHDR",
        "IDAT",
        "IEND"
      ]
    }
  }
}
