Skip to content

avose/qrga

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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