decode_detections {streetscape} | R Documentation |
convert Mapillary object detection into sf polygons
decode_detections(detections_string)
detections_string |
character, an endcoded string of semantic segmentation, for example, "Gmt4AgoGbXB5L==" |
sf polygon
detection <- readLines(system.file('detection.txt', package = 'streetscape'))
streetscape::decode_detections(detection)