Spinning object detection based on perfect optical vortex