justadudewhohacks/face-recognition.js

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

santoshgistto opened this issue · 1 comments

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

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