This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """OpenCV contours to Shapely polygons converter | |
| This script allows the user to convert the contours hirarchy generated by cv2.find_contours() | |
| into a list of Shapely polygons. | |
| This script requires that `cv2` `numpy` and `shapely` be installed within the Python | |
| environment you are running this script in. | |
| This file can also be imported as a module and contains the following | |
| functions: |