Skip to content
Snippets Groups Projects
Commit 7eaa2806 authored by Jean-Marie PRIGENT's avatar Jean-Marie PRIGENT
Browse files

debug & test

parent 6b4cf602
No related branches found
No related tags found
No related merge requests found
......@@ -47,8 +47,8 @@ function draw() {
fill(240);
textSize(16);
textAlign(CENTER);
text('label: ' + label, width / 2, height - 30);
text('confidence: '+ confidence, width / 2, height - 8);
text('label: ' + label, (width / 2) - 50, height - 30);
text('confidence: '+ confidence, width / 2, height - 30);
text('Memory Usage: ' + (performance.memory.usedJSHeapSize / 1000000).toFixed(2) + ' MB', width / 2, height - 8);
text('CPU Time: ' + (performance.now() / 1000).toFixed(2) + ' sec', width / 2, height + 15);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment