Method SetDownsamplingThreshold
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
SetDownsamplingThreshold(double)
Set detector downsampling threshold.
By default, the detect method resizes the input image to this limit if the smallest image size is is greater than the threshold. Increasing this value can improve detection accuracy and the number of results at the expense of performance. Correlates with detector scales.Setting this to a large value will disable downsampling.
public void SetDownsamplingThreshold(double thresh)
Parameters
threshdoubledownsampling limit to apply (default 512).