Method SetThreshold
- Namespace
- OpenCvSharp.Face
- Assembly
- OpenCvSharp.dll
SetThreshold(double)
Sets the threshold applied in the prediction. If the distance to the nearest neighbor is larger than the threshold, the prediction returns -1.
public virtual void SetThreshold(double val)
Parameters
valdouble