Fancy QR Codes via Genetic Algorithms
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This project uses genetic algorithms to create QR codes which look like desired target images (e.g., company / product logo).

Target Mask Output

Target Mask Output

Target Mask Output

Target Mask Output

Target Mask Output

Target Mask Output


This project uses the zbarimg and qrencode tools (i.e., the zbar-tools and qrencode packages in Ubuntu). Additionally, the following are imported by the Python3 script:

import argparse
import math
import subprocess
import os
import time
import warnings
import imageio
import numpy
from skimage import transform
import dask
from dask.diagnostics import ProgressBar
import threading
import tkinter
from PIL import Image, ImageTk

This might help:

pip install argparse imageio numpy dask distributed psutil scikit-image tkinter


Example runline:

python --target crow.png --mask crow-mask.png --output crow-qr.png --data '' --gui



This project is licensed under the GPLv3 License - see the file for details