-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Cli - add option to process folder #3
Comments
Hi, Can you assign me this issue ? 😃 |
Sure! |
@Artmorse We are moving the cli to another repository (#110) to make the scope clear to every users. When Schroedinger-Hat/ImageGoNord-Web#110 will be close I will move your pr to the new repository 😊 |
Is this done or still in process? @Wabri |
No PR referred to so still in process |
@Artmorse are you willing to continue this?a |
hey @TheJoin95, if you want to work on it, go ahead, if not, I can try to have a look at it during next week 🙂 |
@Artmorse I let you take this :) |
Looking a bit more deeply at the project it seems they're unwanted behaviors (I'll create some issues). For this ticket, the easiest thing to do now to use folders is to create a little BASH script (see below ⬇️). INPUT_FOLDER="./image-test" ; for file in $(ls $INPUT_FOLDER/*.jpg) ; do python src/cli.py --img="$INPUT_FOLDER/$file" ; done
# we can also improve the behavior by adding output folder
INPUT_FOLDER="./input-folder" ; OUTPUT_FOLDER="./output-folder" ; mkdir -p $OUTPUT_FOLDER ; for file in $(ls $INPUT_FOLDER/*.jpg); do filename=$(basename $file) ; python src/cli.py --img="$INPUT_FOLDER/$filename" -o="$OUTPUT_FOLDER/$filename" ; done I'm working on the implementation of the feature though. |
Thanks @Artmorse 💯 |
Add option -d or --dir
Reference to the main request: https://www.reddit.com/r/ImageGoNord/comments/sx8fl3/question_is_there_a_way_to_process_a_folder/
The text was updated successfully, but these errors were encountered: