blazeface optimizations

pull/280/head
Vladimir Mandic 2021-04-28 08:55:26 -04:00
parent 2546e7b7e9
commit a9b9c2f254
2 changed files with 6 additions and 6 deletions

View File

@ -18,4 +18,4 @@ N/A
## 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 webRTC from './helpers/webrtc.js';
const userConfig = { warmup: 'none' };
let human;
/*
const userConfig = {
warmup: 'none',
/*
backend: 'humangl',
async: false,
profile: false,
warmup: 'full',
videoOptimized: false,
videoOptimized: true,
filter: {
enabled: false,
flip: false,
},
face: { enabled: true,
detector: { return: false },
mesh: { enabled: true },
iris: { enabled: true },
description: { enabled: false },
@ -31,8 +31,8 @@ const userConfig = {
body: { enabled: false, modelPath: 'posenet.json' },
// body: { enabled: true, modelPath: 'blazepose.json' },
// object: { enabled: true },
*/
};
*/
// ui options
const ui = {