maps-as-data / MapReader

A computer vision pipeline for exploring and analyzing images at scale
https://mapreader.readthedocs.io/en/latest/
Other
80 stars 11 forks source link

Add polygon to centroid option to text spotting #498

Open rwood-97 opened 1 week ago

rwood-97 commented 1 week ago

The text spotting code outputs text as polygons. This is useful for some use cases but creates a lot of data. It would be good to add a convert_polygons_to_centroids method in the text spotting code to give users the option of outputting just centroids as a simpler option for outputting text.