chinuno-usami / cuter Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
from CuteR import CuteR as cr
a = cr.produce("TEXT", "IMAGE")
a.save("FILE YOU WANT TO SAVE TO")
as opposed to
from CuteR import cr
cr.produce()
Got the following when trying to "pip install CuteR":
"The headers or library files could not be found for zlib,
a required dependency when compiling Pillow from source."
Had to install zlib1g-dev on Debian.
Figure that should probably be a requirement.
will it be possible to change the shape of dots, anchors and connections to circle or other shapes, like these : https://github.com/ciaochaos/qrbtf
This is really cool.
Is there any way that you could make the size of the white and colored dots as a parameter?
I want to experiment with scannability vs image size, and I think that I might be able to make a smaller image, if there were large 'dots' of data...
In any case, thank you for a great project.
-FT
手机QQ摄像头扫描是可以识别
微信长按、扫描均可识别
手机QQ识别二维码能力是差些,怎么能让手机QQ也能长按识别?
Is there a way to make the image quality of the resulting QR code better? I haven't found any size/resolution parameter, and no matter which version I use, the image gets larger with higher version numbers but the quality of the QR code is still pretty bad.
For example, when I take the microsoft logo (2000x2000px, see here ) and turn that into a QR code ...
python3 ./CuteR.py -o output.png -C -p ms.png microsoft
this is the result:
The image has 2000x2000 pixels like the original, but it looks like it's been rendered at something like 80x80 and then upscaled to 2000x2000 again. Why is this so low-quality?
I looked into the source code and it looks like the QR code is always generated in a fixed size. Why is that the case? The resulting image would be a way higher quality if the QR code size would be set to the image size.
Or am I missing something? Why does my Microsoft QR code look so bad?
好漂亮,喜欢死了DAZE=w=
该如何解决
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.