diff --git a/server/face-recognizer.js b/server/face-recognizer.js index 103b975..e33f079 100644 --- a/server/face-recognizer.js +++ b/server/face-recognizer.js @@ -119,7 +119,7 @@ require("./db/photos").then(function(db) { processed = 0, lastStatus = Date.now(); - console.log(`${needToScan.length} photos have not had faces scanned.`); + console.log(`${needToScan.length} photos have not had faces scanned.`); return Promise.map(needToScan, (photo) => { const photoPath = photo.path + photo.filename; @@ -264,6 +264,8 @@ require("./db/photos").then(function(db) { }); }).then((facesToUpdate) => { console.log(`...${facesToUpdate.length} faces need distances updated.`); + console.log("---- run scanner/scanner !! ---"); + return []; if (facesToUpdate.length == 0) { return facesToUpdate; }