Inferencing perfomance

This commit is contained in:
2025-08-29 08:14:38 -06:00
parent fb2dbdf140
commit 0e2371edb9
3 changed files with 52 additions and 153 deletions

View File

@@ -165,7 +165,10 @@ export class DetectionEngine {
}
this.frameSkipCounter = 0;
console.log('🔄 Running continuous detection frame...');
// Only log every 10th detection to reduce noise
if (this.metrics.detectionCount % 10 === 0) {
console.log(`🔄 Continuous detection running... (${this.metrics.detectionCount} inferences)`);
}
try {
const startTime = performance.now();