{log.detections.map((det, idx) => (
{isPothole ? (
<>Pothole ID: {det.id}>
) : (
<>{det.type || 'Signboard'} ID: {det.id}>
)}
{" "}| Confidence: {(det.confidence * 100).toFixed(1)}%
Coordinates: ({Math.round(det.bbox.x1)}, {Math.round(det.bbox.y1)}) → ({Math.round(det.bbox.x2)}, {Math.round(det.bbox.y2)})
{det.latitude !== undefined && det.longitude !== undefined && (
GPS: {det.latitude}, {det.longitude}
)}