2017-06-30 01:49:52 -0600 | asked a question | Creating a mask from WKT multipolygons using openCV and tiff libraries? I'm trying to create a binary mask from a WKT multipolygon which is a csv file with python openCV, shapely and tiff libraries in Jupiter Notebook. There's also another csv file that contains Xmax and Ymin of the image. However, I keep getting a black image. here's the code: Any help is appreciated? |