Skip to main content

redact_blocks

Function redact_blocks 

Source
pub fn redact_blocks<I, R>(blocks: I, secure_frames: R) -> Vec<OcrBlock>
where I: IntoIterator<Item = OcrBlock>, R: IntoIterator<Item = ImageRect>,
Expand description

Drop every OCR block whose rect falls inside any secure-field frame.