{isDetPothole ? "Pothole" : (detection.class || detection.type || "").replace(/_/g, " ")} #{detection.id}
Frame: {detection.frame_number}
Confidence: {(detection.confidence * 100).toFixed(1)}%
{detection.latitude.toFixed(6)}, {detection.longitude.toFixed(6)}