The -n argument is the number of image rows that will make up the final image.Īs an example, we've put 100 images in the "hols" folder, and we want to use the image "my_head.jpg" as the base image, and we're satisfied with the other defaults: python3 polyfoto.py -f ~ /hols/my_head.jpg -d hols -o output.png -n 16 where input.png is the image you want your photo mosaic to resemble, sources is the directory that contains the photos which will make up the mosaic, and output.png is the filename of the image which will be created. Once you've installed Polyfoto, you can run it with: python3 polyfoto. and install it with Python: python3 setup. Move into the Polyfoto directory: cd polyfoto Now clone the Polyfoto repository: git clone https: ///shanedrabing/polyfoto.git On Arch Linux and its derivatives: sudo pacman -S git On Debian-based systems: sudo apt install gitįor Red Hat-related distros: dnf install git
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |