| LBPHFaceRecognizerCreate Method  | 
        
         
            The Circular Local Binary Patterns (used in training and prediction) expect the data given as
            grayscale images, use cvtColor to convert between the color spaces.
            This model supports updating.
            
 
    Namespace: 
   OpenCvSharp.Face
    Assembly:
   OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
 Syntax
Syntaxpublic static LBPHFaceRecognizer Create(
	int radius = 1,
	int neighbors = 8,
	int gridX = 8,
	int gridY = 8,
	double threshold = 1.79769313486232E+308
)
Public Shared Function Create ( 
	Optional radius As Integer = 1,
	Optional neighbors As Integer = 8,
	Optional gridX As Integer = 8,
	Optional gridY As Integer = 8,
	Optional threshold As Double = 1.79769313486232E+308
) As LBPHFaceRecognizer
public:
static LBPHFaceRecognizer^ Create(
	int radius = 1, 
	int neighbors = 8, 
	int gridX = 8, 
	int gridY = 8, 
	double threshold = 1.79769313486232E+308
)
static member Create : 
        ?radius : int * 
        ?neighbors : int * 
        ?gridX : int * 
        ?gridY : int * 
        ?threshold : float 
(* Defaults:
        let _radius = defaultArg radius 1
        let _neighbors = defaultArg neighbors 8
        let _gridX = defaultArg gridX 8
        let _gridY = defaultArg gridY 8
        let _threshold = defaultArg threshold 1.79769313486232E+308
*)
-> LBPHFaceRecognizer 
OpenCvSharp.Face.LBPHFaceRecognizer.Create = function(radius, neighbors, gridX, gridY, threshold);
Parameters
- radius (Optional)
- Type: SystemInt32
 The radius used for building the Circular Local Binary Pattern. The greater the radius, the
- neighbors (Optional)
- Type: SystemInt32
 The number of sample points to build a Circular Local Binary Pattern from. 
            An appropriate value is to use `8` sample points.Keep in mind: the more sample points you include, the higher the computational cost.
- gridX (Optional)
- Type: SystemInt32
 The number of cells in the horizontal direction, 8 is a common value used in publications. 
            The more cells, the finer the grid, the higher the dimensionality of the resulting feature vector.
- gridY (Optional)
- Type: SystemInt32
 The number of cells in the vertical direction, 8 is a common value used in publications. 
            The more cells, the finer the grid, the higher the dimensionality of the resulting feature vector.
- threshold (Optional)
- Type: SystemDouble
 The threshold applied in the prediction. If the distance to the nearest neighbor 
            is larger than the threshold, this method returns -1.
Return Value
Type: 
LBPHFaceRecognizer See Also
See Also