Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow specifying multiple inputs in inputpath #194

Open
ItsABlackScreen opened this issue Dec 2, 2022 · 0 comments
Open

Allow specifying multiple inputs in inputpath #194

ItsABlackScreen opened this issue Dec 2, 2022 · 0 comments

Comments

@ItsABlackScreen
Copy link

Problem
Currently inputpath and outputpath must both be either dirs or images.
This leads to the situation that to upscale 2 images from a directory that may contains 100's either the 2 images must be moved to a separate directory or the program called multiple times with each image as the inputpath, which is a lot slower than batch processing of multiple images.

Proposal
Allow inputpath to be specified with any number of paths that then output to a given directory.

Example
waifu2x-ncnn-vulkan -i "01.jpg" "02.jpg" -o /path/to/output/dir -f png

Which then produces:
dir/01.png
dir/02.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant