[][src]Function rqrr::capstones_from_image

pub fn capstones_from_image(img: &mut SearchableImage) -> Vec<CapStone>

Find all 'capstones' in a given image.

A Capstones is the locator pattern of a QR code. Every QR code has 3 of these in 3 corners. This function finds these patterns by scanning the image line by line for a distinctive 1:1:3:1:1 pattern of black-white-black-white-black zones.

Returns a vector of CapStones