Posts by Sara Isabel Aleixo Perestrelo • 13 points
1 post
-
1
votes1
answer66
viewsQ: Unboundlocalerror: local variable 'res' referenced before assignment - raster image scanning error (like numpy array)
I created a program that takes raster images (created in arcmap) and recognizes their polygons (their divisions). First, what I did was turn the image into a numpy array. Follow an example image…