This lib reads polygons and their connections from image