node-red-contrib-face-recognition
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -54,2 +54,12 @@ module.exports = function (RED) { | ||
// Create a descriptor file path if it does not exist | ||
async function checkDescriptorDir() { | ||
const saveDir = `${__dirname}/descriptors`; | ||
if (!fs.existsSync(saveDir)){ | ||
fs.mkdirSync(saveDir); | ||
RED.log.info("[Face-a-pi.js] - Created descriptors directory at " + saveDir) | ||
} | ||
} | ||
checkDescriptorDir() | ||
// Input Node constructor | ||
@@ -56,0 +66,0 @@ function faceApiInputNode(config) { |
{ | ||
"name": "node-red-contrib-face-recognition", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "A wrapper node for the epic face-api.js library", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
17316290
1007