MCPcopy Create free account
hub / github.com/OpenDroneMap/ODM / default

Method default

opendm/utils.py:14–17  ·  view source on GitHub ↗
(self, obj)

Source from the content-addressed store, hash-verified

12
13class NumpyEncoder(json.JSONEncoder):
14 def default(self, obj):
15 if isinstance(obj, np.ndarray):
16 return obj.tolist()
17 return json.JSONEncoder.default(self, obj)
18
19
20def get_depthmap_resolution(args, photos):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected