adaptive_threshold

Function adaptive_threshold 

Source
pub fn adaptive_threshold(image: &GrayImage, window_size: u32) -> GrayImage
Expand description

Apply adaptive thresholding for binarization.

Converts image to black and white, useful for text extraction.