Skip to main content

preprocess_file

Function preprocess_file 

Source
pub fn preprocess_file<P: AsRef<Path>>(path: P) -> Result<Array4<f32>>
Expand description

Load and preprocess an image from a file path.

ยงErrors

Returns an error if the image cannot be loaded.