Closed robertyoung2 closed 3 years ago
Implemented simple logic to check the max extremity of the panorama image.
First, the boundary past the default image size of images of width 13,312 is grabbed: https://github.com/robertyoung2/sidewalk-panorama-tools/blob/8d3d629ae7bc3cd2c7f91abd89a7e37bbcf98e75/DownloadRunner.py#L294
Then a check is carried out to see if this image tile is valid (not black). If it is, set the dimensions to the large size, else use the default size: https://github.com/robertyoung2/sidewalk-panorama-tools/blob/8d3d629ae7bc3cd2c7f91abd89a7e37bbcf98e75/DownloadRunner.py#L312
Implemented simple logic to check the max extremity of the panorama image.
First, the boundary past the default image size of images of width 13,312 is grabbed: https://github.com/robertyoung2/sidewalk-panorama-tools/blob/8d3d629ae7bc3cd2c7f91abd89a7e37bbcf98e75/DownloadRunner.py#L294
Then a check is carried out to see if this image tile is valid (not black). If it is, set the dimensions to the large size, else use the default size: https://github.com/robertyoung2/sidewalk-panorama-tools/blob/8d3d629ae7bc3cd2c7f91abd89a7e37bbcf98e75/DownloadRunner.py#L312