Implemented a unified detection result visualizer.