Skip to content

avose/qrga

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

QRGA

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

Prerequisites

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

Running

Example runline:

python qrga.py --target crow.png --mask crow-mask.png --output crow-qr.png --data 'http://www.aaronvose.net' --gui

Authors

License

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

About

Fancy QR Codes via Genetic Algorithms

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages