Class StandardCollector

java.lang.Object
org.opencv.face.PredictCollector
org.opencv.face.StandardCollector

public class StandardCollector extends PredictCollector
Default predict collector Trace minimal distance with treshhold checking (that is default behavior for most predict logic)
  • Constructor Details

    • StandardCollector

      protected StandardCollector(long addr)
  • Method Details

    • __fromPtr__

      public static StandardCollector __fromPtr__(long addr)
    • getMinLabel

      public int getMinLabel()
      Returns label with minimal distance
      Returns:
      automatically generated
    • getMinDist

      public double getMinDist()
      Returns minimal distance value
      Returns:
      automatically generated
    • create

      public static StandardCollector create(double threshold)
      Static constructor
      Parameters:
      threshold - set threshold
      Returns:
      automatically generated
    • create

      public static StandardCollector create()
      Static constructor
      Returns:
      automatically generated
    • finalize

      protected void finalize() throws Throwable
      Overrides:
      finalize in class PredictCollector
      Throws:
      Throwable