I have the following polygons tuples "4539,1737 4534,1737 4534,1710 4558,1710 4558,1678…
- User
I have the following polygons tuples "4539,1737 4534,1737 4534,1710 4558,1710 4558,1678 4562,1678 4562,1662 4577,1662 4577,1575 4537,1575 4537,1568 4540,1568 4540,1555 4586,1555 4586,1506 4564,1506 4564,1421 4540,1421 4540,1375 4564,1375 4564,1300 4550,1300 4550,1267 4579,1267 4579,1222 4567,1222 4567,1198 4563,1198 4563,1190 4562,1190 4562,1188 4563,1188 4563,1185 4577,1185 4577,997 4567,994 4567,959 4573,955 4573,939 4628,939 4628,943 4769,943 4769,804 4905,804 4905,739 4953,739 4953,793 5035,793 5035,778 5070,778 5070,795 5251,795 5282,796 5296,796 5296,822 5300,822 5300,825 5301,825 5301,830 5311,830 5311,837 5313,837 5313,840 5314,840 5314,841 5355,841 5355,902 5365,902 5365,925 5369,925 5369,927 5382,927 5382,941 5429,941 5429,1764 5399,1764 5399,1763 5303,1763 5303,1797 5285,1797 5285,1782 5282,1782 5282,1765 5255,1765 5255,1737 5206,1737 5206,1763 5097,1763 5097,1740 5004,1740 5004,1791 4981,1791 4981,1769 4906,1769 4906,1763 4787,1763 4787,1790 4672,1790 4672,1763 4608,1763 4608,1773 4602,1773 4602,1775 4599,1775 4599,1768 4539,1768" from an image with WIDTH=3065 and HEIGHT=3713 and I want to convert them to same polygons for an image with WIDTH=792 and HEIGHT=960, how can I do that in Python?
- Assistant