From 0f0f6198a55aff28eb793a4db7c27fcd56891cbb Mon Sep 17 00:00:00 2001 From: dongjin kim Date: Mon, 24 Nov 2025 19:03:07 +0900 Subject: [PATCH] Fix detection. --- public/app.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public/app.js b/public/app.js index ac54112..31845bb 100644 --- a/public/app.js +++ b/public/app.js @@ -350,13 +350,12 @@ document.addEventListener('DOMContentLoaded', () => { // 1. 텍스트 데이터(JSON) 처리 if (typeof data === "string") { - // console.log("-----" + data); + console.log("-----" + data); try { const meta = JSON.parse(data); if (meta.type === "frame") { lastFrameMeta = meta; document.getElementById("frame-info").textContent = ` | FRAME ${meta.w}x${meta.h}`; - } else if (meta.type === "det") { // 탐지 정보가 오면 박스를 그림 showDetections(meta); }