Merge pull request #19 from meeki007/patch-3

remove http reff
pull/21/head
Vladimir Mandic 2020-12-02 21:47:33 -05:00 committed by GitHub
commit 20c223e766
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -8,11 +8,11 @@ const faceapi = require('../dist/face-api.node.js');
// const faceapi = require('@vladmandic/face-api');
// configuration options
const modelPathRoot = '../model/'; // path to model folder that will be loaded using http
const modelPathRoot = '../model/'; // path to model folder that will be loaded
const imgSize = 512; // maximum image size in pixels
const minScore = 0.1; // minimum score
const maxResults = 5; // maximum number of results to return
const samples = ['sample (1).jpg', 'sample (2).jpg', 'sample (3).jpg', 'sample (4).jpg', 'sample (5).jpg', 'sample (6).jpg']; // sample images to be loaded using http
const samples = ['sample (1).jpg', 'sample (2).jpg', 'sample (3).jpg', 'sample (4).jpg', 'sample (5).jpg', 'sample (6).jpg']; // sample images to be loaded
// helper function to pretty-print json object to string
function str(json) {