pull/293/head
Vladimir Mandic 2020-11-08 12:32:31 -05:00
parent 6af1768fa6
commit d0bf167652
3 changed files with 3 additions and 3 deletions

View File

@ -121,7 +121,7 @@ export default {
body: {
enabled: true,
modelPath: '../models/posenet.json',
inputResolution: 257, // fixed value
inputSize: 257, // fixed value
maxDetections: 10, // maximum number of people detected in the input
// should be set to the minimum number for performance
scoreThreshold: 0.8, // threshold for deciding when to remove boxes based on score

View File

@ -154,7 +154,7 @@ async function setupCamera() {
else return null;
const track = stream.getVideoTracks()[0];
const settings = track.getSettings();
log('camera constraints:', constraints, 'window:', { width: window.innerWidth, height: window.innerHeight }, 'settings:', settings, 'track:', track);
// log('camera constraints:', constraints, 'window:', { width: window.innerWidth, height: window.innerHeight }, 'settings:', settings, 'track:', track);
ui.camera = { name: track.label, width: settings.width, height: settings.height, facing: settings.facingMode === 'user' ? 'front' : 'back' };
return new Promise((resolve) => {
video.onloadeddata = async () => {

2
wiki

@ -1 +1 @@
Subproject commit e73a55ab96efd7d1672d4c71dcef27dd1bee9f1d
Subproject commit 3e00e743c311e839d88e4bb6b304c07199d1e6d0