y-face-merge
v0.0.11
Published
Downloads
6
Readme
face++ 人脸融合
安装
npm i y-face-merge
使用
import * as faceMerge from 'y-face-merge';
const {
merge,
imageToFile,
base64ToFile,
fileToBase64,
} = faceMerge;
merge(option: Option): Promise<Result>
imageToFile(url: string): Promise<File>
base64ToFile(urlData: string, filename: string = 'template'): File
fileToBase64(file: File): Promise<string | ArrayBuffer | null>