How to create image extension (jpg/png) to store extracted images.
santoshgistto opened this issue · 1 comments
santoshgistto commented
const faceImages = detector.detectFaces(image)
How to create image extension (jpg/png) to store the extracted images.?
Chuiantw1212 commented
const cv = require('opencv4nodejs')
const fr = require("face-recognition").withCv(cv)
fr.saveImage(${folderPath}.png
, faceImages)