remove http reff

we are using local folders
pull/19/head
meeki007 2020-12-02 21:15:45 -05:00 committed by GitHub
parent b11d5406bc
commit 4fb9d5341e
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'); // const faceapi = require('@vladmandic/face-api');
// configuration options // 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 imgSize = 512; // maximum image size in pixels
const minScore = 0.1; // minimum score const minScore = 0.1; // minimum score
const maxResults = 5; // maximum number of results to return 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 // helper function to pretty-print json object to string
function str(json) { function str(json) {