TIEVisionFaceRecognizer.save
Declaration
procedure save(stream: IStream); safecall;
procedure save(filename: PWideChar); safecall;
Description
Save the current face recognizer state.
Parameter | Description |
stream | Output stream |
filename | Output file name |
var fs: TFileStream;
...
fs := TFileStream.Create('trained.dat', fmCreate);
fr.save(TStreamAdapter.Create(fs) as IStream);
fs.free;