Vectorize
This is function to convert raster image to vector file.
Import packages
Set input/output path
This input file is raster image from the classification output in ML classification
Convert raster to
It might take several minute to get the vector result depend on the number of polygon created.
* info: creating integer raster to Polygonize:
>> output_int.tif
Success: Wrote output.shp