@@ -11,7 +11,7 @@ with open("requirements.txt") as f:
setup(
name="rembg",
- version="1.0.21",
+ version="1.0.22",
description="Remove image background",
long_description=long_description,
long_description_content_type="text/markdown",
@@ -100,7 +100,9 @@ def main():
if os.path.isfile(path):
files.add(path)
else:
- full_paths += glob.glob(path + "/*")
+ full_paths += set(glob.glob(path + "/*")) - set(
+ glob.glob(path + "/*.out.png")
+ )
for fi in tqdm(files):
fi_type = filetype.guess(fi)