Package org.opencv.face
Class StandardCollector
java.lang.Object
org.opencv.face.PredictCollector
org.opencv.face.StandardCollector
Default predict collector
Trace minimal distance with treshhold checking (that is default behavior for most predict logic)
-
Field Summary
Fields inherited from class org.opencv.face.PredictCollector
nativeObj
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StandardCollector
__fromPtr__
(long addr) static StandardCollector
create()
Static constructorstatic StandardCollector
create
(double threshold) Static constructorprotected void
finalize()
double
Returns minimal distance valueint
Returns label with minimal distanceMethods inherited from class org.opencv.face.PredictCollector
getNativeObjAddr
-
Constructor Details
-
StandardCollector
protected StandardCollector(long addr)
-
-
Method Details
-
__fromPtr__
-
getMinLabel
public int getMinLabel()Returns label with minimal distance- Returns:
- automatically generated
-
getMinDist
public double getMinDist()Returns minimal distance value- Returns:
- automatically generated
-
create
Static constructor- Parameters:
threshold
- set threshold- Returns:
- automatically generated
-
create
Static constructor- Returns:
- automatically generated
-
finalize
- Overrides:
finalize
in classPredictCollector
- Throws:
Throwable
-