Updated landmark detection to include polygons