@vladmandic/human
Version:
Human: AI-powered 3D Face Detection & Rotation Tracking, Face Description & Recognition, Body Pose Tracking, 3D Hand & Finger Tracking, Iris Analysis, Age & Gender & Emotion Prediction, Gesture Recognition
23 lines (22 loc) • 536 B
HTML
<html lang="en">
<head>
<meta charset="utf-8">
<title>Human</title>
</head>
<body>
<script type="module">
import { Human } from '../dist/human.esm.js';
const config = {
modelBasePath: '../models/',
debug: true,
cacheModels: false,
face: { detector: { modelPath: 'wrong-path.json' } },
};
console.log(config);
const human = new Human(config)
await human.load();
console.log(human.models.stats());
</script>
</body>
</html>