pub fn sample_grid( img: &ImageView<'_>, arena: &Bump, detection: &Detection, decoder: &(impl TagDecoder + ?Sized), _min_contrast: f64, ) -> Option<u64>
Sample the bit grid from the image (Legacy/Hard wrapper).