MCPcopy Create free account
hub / github.com/csxmli2016/MARCONetPlusPlus / get_image_paths

Function get_image_paths

utils/utils_image.py:15–19  ·  view source on GitHub ↗
(dataroot)

Source from the content-addressed store, hash-verified

13
14
15def get_image_paths(dataroot):
16 paths = None # return None if dataroot is None
17 if dataroot is not None:
18 paths = sorted(_get_paths_from_images(dataroot))
19 return paths
20
21
22def _get_paths_from_images(path):

Callers 1

inferenceFunction · 0.90

Calls 1

_get_paths_from_imagesFunction · 0.85

Tested by 1

inferenceFunction · 0.72