From 5a2248d0f478215d0abd8fb7518d337dc18a684e Mon Sep 17 00:00:00 2001 From: James Ketrenos Date: Sun, 5 Jan 2020 16:23:11 -0800 Subject: [PATCH] limit output during face scan Signed-off-by: James Ketrenos --- server/face-recognizer.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/face-recognizer.js b/server/face-recognizer.js index 744e18d..af1806d 100644 --- a/server/face-recognizer.js +++ b/server/face-recognizer.js @@ -310,7 +310,8 @@ require("./db/photos").then(function(db) { } if (distance < 0.4) { - console.log(`Face ${face.id} and ${target.id} have a distance of: ${distance}`); + process.stdout.write("."); +// console.log(`Face ${face.id} and ${target.id} have a distance of: ${distance}`); } return photoDB.sequelize.query(