pub fn layout_input(img: &RgbImage) -> Vec<f32>Expand description
Pack one page image into the model’s (1, 3, SIDE, SIDE) input: resize
(aspect ignored, RT-DETR convention), rescale to [0,1], CHW. Shared
with the browser build (#157), which delegates only the session call.