detected_coords to array