diff --git a/cocoSsd.html b/cocoSsd.html
index 9866f988..dcd7ff3e 100644
--- a/cocoSsd.html
+++ b/cocoSsd.html
@@ -63,13 +63,15 @@
INDEX Objects register
+
-
+
+
@@ -116,59 +118,59 @@ INDEX Objects register
const _form = document.getElementById("regi-form")
- /*
- * garo start
- */
- let savedPose = [{name:'seat'},{name:'armup'}]
- let savedObject = [{name:'person'},{name:'chair'},{name:'cellphone'},{name:'cup'}]
+
+ // garo start
+
+ let savedPose = [{ name: 'seat' }, { name: 'armup' }]
+ let savedObject = [{ name: 'person' }, { name: 'chair' }, { name: 'cellphone' }, { name: 'cup' }]
document.getElementById('pose-object-btn').addEventListener('click', () => {
let area = document.getElementById('pose-object-mapping')
let html = `
`
-
+
area.innerHTML = html
document.getElementById('pose-object-mapping-btn').setAttribute('style', '')
})
- document.getElementById('pose-object-mapping-btn').addEventListener('click', ()=>{
+ document.getElementById('pose-object-mapping-btn').addEventListener('click', () => {
let nodes = document.getElementById('pose-object-mapping').children
let pose = getVal(nodes.pose);
let object = getVal(nodes.object);
let value = document.getElementById('pose-object-name').value
- function getVal(node){
+ function getVal(node) {
let res;
- for(let i=0; iINDEX Objects register
- /*
- * 거루가 쓰는 공간 2
- */
-
-
setInterval(() => {
dataWebSocket.send(JSON.stringify({ log: objects }))