Skip to main content

decode_batch_soa

Function decode_batch_soa 

Source
pub fn decode_batch_soa(
    batch: &mut DetectionBatch,
    n: usize,
    img: &ImageView<'_>,
    decoders: &[Box<dyn TagDecoder + Send + Sync>],
    config: &DetectorConfig,
)
Expand description

Decode all active candidates in the batch using the Structure of Arrays (SoA) layout.

This phase executes SIMD bilinear interpolation and Hamming error correction. If a candidate fails decoding, its status_mask is flipped to FailedDecode.