Ok, it seems like you want a bash script to call an artificial intelligence routine that can enhance the photos, 400,000 of them.
Does that sound right?
There are different ai-model-types in Upscayl you can choose and try. But if the picture ist to small, than there is to few information to do the magic
the ia give that’s line code :
gmic input. Uploading: IMG_2253.png…
jpg
-fx_sharp_abstract 1,1,0.5,0.5,0.8,0
-fx_smooth 10,0,0
-fx_local_contrast 80,2,0
-fx_boost_chroma 1.2
-o output.jpg
but i’ve error
just first line it’s good ?
root@fedora-3:/home/philippe/Vidéos/Real-ESRGAN-ncnn-vulkan/build# gmic DSCF0006_0003_animal_00.jpg \
-fx_sharp_abstract 1,1,0.5,0.5,0.8,0
-fx_smooth 10,0,0
-fx_local_contrast 80,2,0
-fx_boost_chroma 1.2
-o output2.jpg
[gmic]./ Start G’MIC interpreter (v.3.5.2).
[gmic]./ Input file ‘DSCF0006_0003_animal_00.jpg’ at position 0 (1 image 219x243x1x3).
[gmic]./ Input file ‘-fx_smooth’ at position 1
[gmic]./ *** Error *** Unknown command or filename ‘-fx_smooth’; did you mean ‘ms_smooth’?
root@fedora-3:/home/philippe/Vidéos/Real-ESRGAN-ncnn-vulkan/build# gmic DSCF0006_0003_animal_00.jpg -fx_sharp_abstract 1,1,0.5,0.5,0.8,0 -fx_local_contrast 80,2,0 -fx_boost_chroma 1.2 -o output2.jpg
[gmic]./ Start G’MIC interpreter (v.3.5.2).
[gmic]./ Input file ‘DSCF0006_0003_animal_00.jpg’ at position 0 (1 image 219x243x1x3).
[gmic]./ Input file ‘-fx_local_contrast’ at position 1
[gmic]./ *** Error *** Unknown command or filename ‘-fx_local_contrast’.
root@fedora-3:/home/philippe/Vidéos/Real-ESRGAN-ncnn-vulkan/build# gmic DSCF0006_0003_animal_00.jpg -fx_sharp_abstract 1,1,0.5,0.5,0.8,0 -fx_boost_chroma 1.2 -o output2.jpg
[gmic]./ Start G’MIC interpreter (v.3.5.2).
[gmic]./ Input file ‘DSCF0006_0003_animal_00.jpg’ at position 0 (1 image 219x243x1x3).
[gmic]./ *** Error *** Command ‘fx_boost_chroma’: Undefined argument ‘$2’, in expression ‘$2’ (for 1 argument specified).
[gmic] Command ‘fx_boost_chroma’ has the following description:
[gmic] No help available for command ‘fx_boost_chroma’.
Try ‘gmic help’ for global help.
I’m sorry, but this is supposed to be an “enhanced” version of this?
If yes, then it’s a complete fabrication, no better than looking for a random image of a squirrel on an encyclopedia and replacing the original by it. If you’re really interested in getting real data from your videos and not pure fantasy, stay away of whatever generated that.