Skip to main content

find_chess_corners_u8

Function find_chess_corners_u8 

Source
pub fn find_chess_corners_u8(
    img: &[u8],
    width: u32,
    height: u32,
    cfg: &ChessConfig,
) -> Vec<CornerDescriptor>
Expand description

Detect chessboard corners from a raw grayscale image buffer.

The img slice must be width * height bytes in row-major order.

ยงPanics

Panics if img.len() != width * height.