mirror of https://github.com/vladmandic/human
blazeface optimizations
parent
2546e7b7e9
commit
a9b9c2f254
2
TODO.md
2
TODO.md
|
@ -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
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in New Issue