Skip to content
Snippets Groups Projects
Commit 2441d952 authored by Nattapon Jaroenchai's avatar Nattapon Jaroenchai
Browse files

Remove printing legends list

parent c2363eb2
No related branches found
No related tags found
No related merge requests found
......@@ -109,7 +109,7 @@ def prediction_mask(prediction_result, map_name):
# Get the map array corresponding to the given map name
map_array = np.array(h5_image.get_map(map_name))
print("map_array", map_array.shape)
# print("map_array", map_array.shape)
# Convert the RGB map array to grayscale for further processing
gray = cv2.cvtColor(map_array, cv2.COLOR_BGR2GRAY)
......@@ -234,7 +234,7 @@ def main(args):
map_name = h5_image.get_maps()[0]
print(f"Map Name: {map_name}")
all_map_legends = h5_image.get_layers(map_name)
print(f"All Map Legends: {all_map_legends}")
# print(f"All Map Legends: {all_map_legends}")
# Filter the legends based on the feature type
if args.featureType == "Polygon":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment