0.17.0
justadudewhohacks
released this
02 Jan 21:35
·
113 commits
to master
since this release
Features:
- face expression recognition
Breaking Changes:
The following two utility classes have been replaced: FaceDetectionWithLandmarks, FullFaceDescription. Now, plain objects are returned from the corresponding function calls instead of instances of abovementioned classes, which have to be resized by faceapi.resizeResults(results, { width: <width>, height: <height> })
instead of results.map(res => res.forSize(width, height))
:
export function resizeResults<T>(results: T, { width, height }: IDimensions): T