Methods
load
- load(file): void
Returns void
predictAsync
- predictAsync(img): Promise<FaceRecognizerpredictRet>
save
- save(file): void
Returns void
train
- train(trainImages, labels): void
Parameters
trainImages: Mat[]
labels: number[]
Returns void
trainAsync
- trainAsync(trainImages, labels): Promise<void>
Parameters
trainImages: Mat[]
labels: number[]
Returns Promise<void>