face-recognition.js icon indicating copy to clipboard operation
face-recognition.js copied to clipboard

How to create image extension (jpg/png) to store extracted images.

Open santoshgistto opened this issue 7 years ago • 1 comments

const faceImages = detector.detectFaces(image) How to create image extension (jpg/png) to store the extracted images.?

santoshgistto avatar Oct 02 '18 18:10 santoshgistto

const cv = require('opencv4nodejs') const fr = require("face-recognition").withCv(cv) fr.saveImage(${folderPath}.png, faceImages)

Chuiantw1212 avatar Oct 03 '18 14:10 Chuiantw1212