
Scores each Image with a gradient-based sharpness measure against a cutoff, emitting a score plus pass flag (or a bare Double, Bool, or [Analytics.Metric] list per the downstream) so blurry frames can be dropped ahead of OCR. CPU-only.
A cropped region is checked for focus and branch routes only sharp crops onward, sparing the downstream recognizer from blurry input.
A burst from an image source is reduced to in-focus frames using the bare pass flag through filter.
canonical_size rescales the longer edge first; left at zero, the raw input resolution is used and the cutoff must be re-tuned per source.method produces scores on its own scale, and changing it requires recalibrating threshold; the gradient-variance options give the cleanest sharp/blur separation on text.Automated release