I made a QR code image with CuteR

background

I wanted to put a QR code on the New Year's card. It's usually not interesting, and the logo in the middle is a little different. A command written in python called CuteR seems to be interesting, so I tried to use it.

↑ It seems that you can make a QR code like this! It seems that you can play elsewhere w

python installation

Summarized in another article ⇒ I made python available on macOS

Install CuteR

Create and move working directory

$ mkdir CuteR
$ cd CuteR

Create a virtual environment with venv in the created directory and activate it

$ python3.9 -m venv .venv
$ . .venv/bin/activate

Try using CuteR

Try typing the sample command on the official website. It works safely! !!

$ CuteR -c 10 -e H -o sample_output.png -v 10 sample_input.png http://www.chinuno.com

Try various things and adjust commands

$ CuteR -c 10 -e H -o output.png -v 6 input.png https://scrapbox.io/HPNY2021/01-Jan

Before use ⇒ After use  ⇒ 

Exit the virtual environment

(.venv) $ deactivate

resource

CuteR page: https://github.com/chinuno-usami/CuteR

What I considered but didn't use

QArt Codes:https://research.swtch.com/qart It seems that there was an online service, but it was finished.

qart.js:https://github.com/kciter/qart.js It looks good, but I can't resolve Security Error: The operation is insecure.. Does the module you're calling seem dangerous? GitHub hasn't been maintained for a while, so I gave up on my own solution (CuteR had a newer update).

environment

Python 3.9.1 (Dec 28 2020, 11:25:16) macOS BigSur version 11.1 MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports)

Recommended Posts

I made a QR code image with CuteR
I made a fortune with Python.
I made a daemon with Python
I made a character counter with Python
I made a Hex map with Python
I made a life game with Numpy
I made a stamp generator with GAN
I made a roguelike game with Python
I made a configuration file with Python
I made a WEB application with Django
[Python] I made an image viewer with a simple sorting function.
I made a stamp substitute bot with line
I made a competitive programming glossary with Python
I made a weather forecast bot-like with Python.
I made a GUI application with Python + PyQt5
I made a Twitter fujoshi blocker with Python ①
[Python] I made a Youtube Downloader with Tkinter.
I made a simple Bitcoin wallet with pycoin
I made a LINE Bot with Serverless Framework!
I made a tool to convert Jupyter py to ipynb with VS Code
I made a random number graph with Numpy
I made a bin picking game with Python
I made a Mattermost bot with Python (+ Flask)
[AWS] I made a reminder BOT with LINE WORKS
I made a Twitter BOT with GAE (python) (with a reference)
I made a ready-to-use syslog server with Play with Docker
I made a Christmas tree lighting game with Python
I made a vim learning game "PacVim" with Go
I made a window for Log output with Tkinter
I made a net news notification app with Python
I made a code to convert illustration2vec to keras model
I made a Python3 environment on Ubuntu with direnv.
Read QR code from image file with Python (Mac)
I made a LINE BOT with Python and Heroku
I made a falling block game with Sense HAT
I made a python text
I made a discord bot
I made COVID19_simulator with JupyterLab
I made Word2Vec with Pytorch
I made blackjack with Python.
I made wordcloud with Python.
A story that stumbled when I made a chatbot with Transformer
I made a simple typing game with tkinter in Python
I made a LINE BOT that returns parrots with Go
I made a package to filter time series with python
I made a simple book application with python + Flask ~ Introduction ~
I made a resource monitor for Raspberry Pi with a spreadsheet
I made a dot picture of the image of Irasutoya. (part1)
I made a puzzle game (like) with Tkinter in Python
I made a rigid Pomodoro timer that works with CUI
I made a surveillance camera with my first Raspberry PI.
I made a plug-in that can "Daruma-san fell" with Minecraft
[AWS] I made a reminder BOT with LINE WORKS (implementation)
I made a C ++ learning site
I made a Line-bot using Python!
I made a CUI-based translation script (2)
I made a wikipedia gacha bot
I made a simple circuit with Python (AND, OR, NOR, etc.)
I made a library to easily read config files with Python
Python> I made a test code for my own external file
I made a Nyanko tweet form with Python, Flask and Heroku