{ "size": 224, "resize": "letterbox: keep aspect ratio, longest side to size, bicubic, pad to a square", "pad_value": 128, "input": "pixel_values, float32 RGB in [0, 1], shape [N, 3, size, size]; normalization is inside the ONNX model", "output": "probs, shape [N, 4]", "classes": [ "0", "90", "180", "270" ], "class_meaning": "the image is rotated clockwise by this many degrees; rotate counter-clockwise to fix" }