TIEVisionFaceRecognizer.load
Declaration
procedure load(stream: IStream); safecall;
procedure load(filename: PWideChar); safecall; overload;
Description
Load the face recognizer state.
Parameter | Description |
stream | Input stream |
var fs: TFileStream;
...
fs := TFileStream.Create('trained.dat', fmOpenRead);
fr.load(TStreamAdapter.Create(fs) as IStream);
fs.Free;