finished ocr daemon update

This commit is contained in:
Boki 2026-02-11 02:11:50 -05:00
parent cc50368d3b
commit 6ad382cb09
13 changed files with 1471 additions and 1479 deletions

View file

@ -312,7 +312,16 @@ export class DashboardServer {
tooltips.push({ row: cell.row, col: cell.col, label: cell.label, text });
this.broadcastLog('info',
`${cell.label} (${cell.row},${cell.col}) [move: ${(afterMove - cellStart).toFixed(0)}ms, ocr: ${(afterOcr - afterMove).toFixed(0)}ms, total: ${(afterOcr - cellStart).toFixed(0)}ms]${regionInfo}: ${text.substring(0, 150)}${text.length > 150 ? '...' : ''}`);
`${cell.label} (${cell.row},${cell.col}) [move: ${(afterMove - cellStart).toFixed(0)}ms, ocr: ${(afterOcr - afterMove).toFixed(0)}ms, total: ${(afterOcr - cellStart).toFixed(0)}ms]${regionInfo}:`);
if (diff.lines.length > 0) {
for (const line of diff.lines) {
this.broadcastLog('info', ` ${line.text}`);
}
} else if (text) {
for (const line of text.split('\n')) {
if (line.trim()) this.broadcastLog('info', ` ${line.trim()}`);
}
}
}
this.broadcastLog('info', `Done — hovered ${hoverCells.length} cells, read ${tooltips.filter(t => t.text).length} tooltips`);