Method SetDetectorScales
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
SetDetectorScales(IEnumerable<float>)
Set detector box filter sizes.
Adjusts the value and the number of box filters used in the detect step. The filter sizes directly correlate with the expected line widths for a barcode.Corresponds to expected barcode distance. If the downsampling limit is increased, filter sizes need to be adjusted in an inversely proportional way.
public void SetDetectorScales(IEnumerable<float> sizes)
Parameters
sizesIEnumerable<float>box filter sizes, relative to minimum dimension of the image (default [0.01, 0.03, 0.06, 0.08]).