add network image crop pipeline
This commit is contained in:
@ -243,6 +243,9 @@ class LoadImages:
|
||||
path = Path(path).read_text().rsplit()
|
||||
files = []
|
||||
for p in sorted(path) if isinstance(path, (list, tuple)) else [path]:
|
||||
if p.startswith('http'):
|
||||
files.append(p)
|
||||
continue
|
||||
p = str(Path(p).resolve())
|
||||
if '*' in p:
|
||||
files.extend(sorted(glob.glob(p, recursive=True))) # glob
|
||||
|
Reference in New Issue
Block a user