MCPcopy Create free account
hub / github.com/cdcseacave/openMVS / createPxielLabels

Function createPxielLabels

scripts/python/ImageSegmentation.py:67–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65 return segmented_image
66
67def createPxielLabels():
68 label_json = {
69 "0": "unclassified",
70 "1": "clutter",
71 "2": "building",
72 "3": "road",
73 "4": "static_car",
74 "5": "tree",
75 "6": "vegetation",
76 "7": "human",
77 "8": "moving_car"
78 }
79 return label_json
80
81def segmentImages(images_path, output_path, onnx_file, labels_file, sigmoid_threshold=0.8):
82 # check if the onnx network exists

Callers 1

segmentImagesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected