Re: Rasterizing polygon from numpy arrays


Hi Brendan and thnk you for the quick response!

The coordinates should not be an issue, since the polygon coordinates are in the same frame as the image.

Can i directly input a Shapely polygon to the geometry_mask class? I was a bit lost on whether this needs to be in some other format, like a sort of iterable dictionary.

Join to automatically receive all group messages.