pixelisation picture

hello evrybody,
bonjour a tous,

i make movie animal to hunting camera, after i cut to ffmpeg, do you’ve thincks the ia from make beautiful picture by the bash ?

je fais des films avec des cameras de chasse et je cherche comment dépixeliser l’image avec une ia en ligne de commande ?


original picture

correction by ImageMagick by uscale

do you’ve more best solution ?
Avez vous une idée

great
Merci

philippe

je ne peu pas voir les images

1 Like

Bonjour,



la premiere est celle avec un upscale, la deuxième est extrait d’une video par processing !

Philippe

Appears to be a squirrel, possibly a red one. Not sure what you are trying to ask about… he looks stuffed, getting ready to hibernate maybe.

hello,

I want cancelled pixelation in picture, i wanted information by AI in bash, not GIMP because i’ve more 400 k pictures !

The squirriel it’ life, he eat the nut’s, off course it’s red brown, i shoot in sweden.

philippe

1 Like

Bonjour,

using G’Mic Upscale Recursive 2x with 2 iterations gives this:

3 iterations:

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?

1 Like

yes

I asked an AI machine to resize and enhance your photo…

:upside_down_face:

6 Likes

Ah yes, AI taking over the world

Hi,
Maybe the desktop application Upscayl is an alternative to you?

it’s friend :picture old

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 :wink:

hello evrybody,

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

great

philippe

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.

root@fedora-3:/home/philippe/Vidéos/Real-ESRGAN-ncnn-vulkan/build#

how to detecting the good line bash from my many pictures ?

Philippe

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.

Not any random image from the Internet will have a unique specimen rabbit that has 6-7 claws in the right hind leg. :smiley: