blazeface optimizations

pull/293/head
Vladimir Mandic 2021-04-28 08:55:26 -04:00
parent 3fe8807440
commit b8592b53c6
2 changed files with 6 additions and 6 deletions

View File

@ -18,4 +18,4 @@ N/A
## In Progress ## In Progress
N/A - Refactor BlazeFace to avoid data and array access and use buffers where needed

View File

@ -6,21 +6,21 @@ import Menu from './helpers/menu.js';
import GLBench from './helpers/gl-bench.js'; import GLBench from './helpers/gl-bench.js';
import webRTC from './helpers/webrtc.js'; import webRTC from './helpers/webrtc.js';
const userConfig = { warmup: 'none' };
let human; let human;
/*
const userConfig = { const userConfig = {
warmup: 'none',
/*
backend: 'humangl', backend: 'humangl',
async: false, async: false,
profile: false, profile: false,
warmup: 'full', videoOptimized: true,
videoOptimized: false,
filter: { filter: {
enabled: false, enabled: false,
flip: false, flip: false,
}, },
face: { enabled: true, face: { enabled: true,
detector: { return: false },
mesh: { enabled: true }, mesh: { enabled: true },
iris: { enabled: true }, iris: { enabled: true },
description: { enabled: false }, description: { enabled: false },
@ -31,8 +31,8 @@ const userConfig = {
body: { enabled: false, modelPath: 'posenet.json' }, body: { enabled: false, modelPath: 'posenet.json' },
// body: { enabled: true, modelPath: 'blazepose.json' }, // body: { enabled: true, modelPath: 'blazepose.json' },
// object: { enabled: true }, // object: { enabled: true },
*/
}; };
*/
// ui options // ui options
const ui = { const ui = {