Added support for new faceai parameters
All checks were successful
Publish FaceAI Container / publish (push) Successful in 9m39s
All checks were successful
Publish FaceAI Container / publish (push) Successful in 9m39s
This commit is contained in:
parent
3e4d855f93
commit
a026fec62b
12 changed files with 152 additions and 13 deletions
|
|
@ -34,6 +34,9 @@ async function ensureMatcherBinaryAvailable() {
|
|||
}
|
||||
|
||||
console.log(`FaceAI processor configured matcher binary: ${config.matcherBinary}`);
|
||||
if (config.matcherTolerance !== null) {
|
||||
console.log(`FaceAI processor configured matcher tolerance: ${config.matcherTolerance}`);
|
||||
}
|
||||
|
||||
async function publishProcessorHeartbeat() {
|
||||
try {
|
||||
|
|
@ -138,6 +141,7 @@ async function processJob(job) {
|
|||
|
||||
await appendSearchLog(searchLogPath, 'Running matcher', {
|
||||
matcherBinary: config.matcherBinary,
|
||||
matcherTolerance: config.matcherTolerance,
|
||||
csvPath,
|
||||
matcherLogPath: logPath,
|
||||
timeoutMs: config.workerTimeoutMs
|
||||
|
|
@ -146,6 +150,7 @@ async function processJob(job) {
|
|||
try {
|
||||
await runFaceMatcher({
|
||||
matcherBinary: config.matcherBinary,
|
||||
matcherTolerance: config.matcherTolerance,
|
||||
selfiePath: search.selfiePath,
|
||||
pklPath,
|
||||
csvPath,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue