preprocess_batch_for_rec

Function preprocess_batch_for_rec 

Source
pub fn preprocess_batch_for_rec(
    images: &[DynamicImage],
    target_height: u32,
    params: &NormalizeParams,
) -> ArrayBase<OwnedRepr<f32>, Dim<[usize; 4]>>
Expand description

Batch preprocess recognition images

Process multiple images into batch tensor, all images padded to same width