Chain-of-Detection: Enhancing Cross-Granularity Robotic Perception for Object Manipulation