python ghost.py --folder "input_images" --offset 15 --ratio 0.2 --alpha 0.4
- If the
--folderoption is provided, theget_image_files_from_folder()function collects all image files (supported extensions) within that folder. - The
--folderoption is mutually exclusive with the--inputoption, allowing only one of them to be specified. - The
--offset_pixelsoption adjusts how many pixels the effect will be offset by. - The
--ratiooption determines the ratio of edge ghost artifacts. - The
--alphaoption controls the blur ratio of the ghost artifacts.