diff --git a/CHANGELOG.md b/CHANGELOG.md index 8999623c..1a9ce4d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,8 +9,9 @@ Repository: **** ## Changelog -### **HEAD -> main** 2021/05/25 mandic00@live.com +### **HEAD -> main** 2021/05/26 mandic00@live.com +- add camera startup diag messages - implemented unified result.persons that combines face, body and hands for each person - added experimental results interpolation for smooth draw operations diff --git a/demo/helpers/menu.js b/demo/helpers/menu.js index ccbc9a7d..b1427155 100644 --- a/demo/helpers/menu.js +++ b/demo/helpers/menu.js @@ -1,3 +1,5 @@ +//@ts-nocheck + let instance = 0; let CSScreated = false; @@ -217,7 +219,7 @@ class Menu { const def = item === selected ? 'selected' : ''; options += ``; } - el.innerHTML = `${title}`; + el.innerHTML = `${title}`; el.style.fontFamily = document.body.style.fontFamily; el.style.fontSize = document.body.style.fontSize; el.style.fontVariant = document.body.style.fontVariant; @@ -231,7 +233,7 @@ class Menu { addRange(title, object, variable, min, max, step, callback) { const el = document.createElement('div'); el.className = 'menu-item'; - el.innerHTML = `${title}`; + el.innerHTML = `${title}`; if (this.container) this.container.appendChild(el); el.addEventListener('change', (evt) => { if (evt.target) { diff --git a/demo/index.html b/demo/index.html index 4e7b6dff..28a6404b 100644 --- a/demo/index.html +++ b/demo/index.html @@ -1,8 +1,8 @@ + Human - @@ -34,7 +34,7 @@ .video { display: none; } .canvas { margin: 0 auto; } .bench { position: absolute; right: 0; bottom: 0; } - .compare-image { width: 200px; position: absolute; top: 150px; left: 30px; box-shadow: 0 0 2px 2px black; background: black; } + .compare-image { width: 200px; position: absolute; top: 150px; left: 30px; box-shadow: 0 0 2px 2px black; background: black; display: none; } .loader { width: 300px; height: 300px; border: 3px solid transparent; border-radius: 50%; border-top: 4px solid #f15e41; animation: spin 4s linear infinite; position: absolute; bottom: 15%; left: 50%; margin-left: -150px; z-index: 15; } .loader::before, .loader::after { content: ""; position: absolute; top: 6px; bottom: 6px; left: 6px; right: 6px; border-radius: 50%; border: 4px solid transparent; } .loader::before { border-top-color: #bad375; animation: 3s spin linear infinite; } @@ -85,7 +85,7 @@ -