MCPcopy Create free account
hub / github.com/32comic/image2pixel-web / showDetectionInfo

Method showDetectionInfo

pixelizer.js:485–488  ·  view source on GitHub ↗
(detection)

Source from the content-addressed store, hash-verified

483 }
484
485 showDetectionInfo(detection) {
486 // 可以在UI中显示检测信息
487 console.log(`检测到像素块大小: ${detection.blockSize}, 置信度: ${(detection.confidence * 100).toFixed(1)}%`);
488 }
489
490 /**
491 * 处理图片

Callers 1

autoDetectAndSuggestMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected