Skip to main content

quadrant_spread

Function quadrant_spread 

Source
pub fn quadrant_spread(img: &CaptureImage, bg: [u8; 4], eps: u8) -> u8
Expand description

How many of the four image quadrants contain at least one lit pixel (0..=4) — a cheap “not just a dot in one corner” spread check.