Function backend::service::plant_layer::matrix_to_image
source ยท fn matrix_to_image(matrix: &[Vec<f32>]) -> Result<Vec<u8>, ServiceError>
Expand description
Parses the matrix of scores with values 0-1 to raw bytes of a PNG image.