diff --git a/config.js b/config.js index 32768142..c806503c 100644 --- a/config.js +++ b/config.js @@ -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 diff --git a/demo/browser.js b/demo/browser.js index 2e5a0d7b..9092b2c4 100644 --- a/demo/browser.js +++ b/demo/browser.js @@ -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 () => { diff --git a/wiki b/wiki index e73a55ab..3e00e743 160000 --- a/wiki +++ b/wiki @@ -1 +1 @@ -Subproject commit e73a55ab96efd7d1672d4c71dcef27dd1bee9f1d +Subproject commit 3e00e743c311e839d88e4bb6b304c07199d1e6d0