CascadeClassifierLoad Method
|
Loads a classifier from a file.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic bool Load(
string fileName
)
Public Function Load (
fileName As String
) As Boolean
public:
bool Load(
String^ fileName
)
member Load :
fileName : string -> bool
Parameters
- fileName
- Type: SystemString
Name of the file from which the classifier is loaded.
The file may contain an old HAAR classifier trained by the haartraining application
or a new cascade classifier trained by the traincascade application.
Return Value
Type:
Boolean
See Also