aslanyanhaik / roundcode Goto Github PK
View Code? Open in Web Editor NEWCustom rounded QR code with lots of customization.
License: MIT License
Custom rounded QR code with lots of customization.
License: MIT License
Hey,
I would like to know if it possible to increase the number of input characters in the textfield where you put your string with the default configuration. I want to pass firebase UID but I can because they are too long.
Thanks.
I never thought that something that possible to do in Swift
. Well done! 👍
Here some ideas to improve performance of your algo:
static let lightBackgroundRange = UInt8(0)...UInt8(180) // simple compare better: pixel < 180
static let darkBackgroundRange = UInt8(100)...UInt8(255) // simple compare better: pixel > 100
I recommend to perform threshold separately.
Accelerate
framework can help
let bit = pixelThreshold.contains(data[x, y]) ? RCBit.one : RCBit.zero
You probably don't need
RCBit
abstraction.typealias
aroundbool
will works better and pretty informative
pixelPatterns[pixelPatterns.count - 1] = lastPattern
This operation call lot of times. Just with change
struct
toclass
and you can remove this line
You awesome! =)
I am trying to decode a Round code with a white tint and black background and an image in the middle. I am running on iOS 14 . Regardless of what scanning mode I put It on, It only works for a dark Roundcode on a white background.
Love the package. Great work. I'm not able to get it working with codes generated by the package that are then loaded from my camera roll. I tested the example project in the repo which also failed with a generic decode error.
if let message = try? coder.decode(camImage) {
messageLabel.text = message
messageLabel.isHidden = false
DispatchQueue.main.asyncAfter(deadline: .now() + 3) {
self.messageLabel.isHidden = true
}
}
Very nice library, is there a way to change the background color in the source code? It must be possible right?
Hi,
The focus is currently in the center of the screen, but how can i change the radius of the focus, and the position on the screen ?
Thanks a lot
Hi!
I know that it isn't issue per se but I have a question directly connected with the code encoder/decoder. May I ask for some data about limitation (especially in terms of character amount) and the "regen" level for damaged codes?
这个二维码挺有个性的,可惜没有发现类似的Android版本,只有ios一端的话,难以在app上使用。
The README states that RoundCodes is written in Swift 5, requires Xcode 11 and is compatible with iOS 13.0+. Does it not work below iOS 13? Which APIs do you use that are not available on, say, iOS 11?
Seems like it only works on the output generated image (White Background), not while on a black BG (using the example app). Could this be made configurable?
I tried to apply a CIFilter(name: "CIColorInvert")
to the pixelBuffer with not much luck.
Hi, Do you know if one Android repo exists, like a clone of your project ?
I want to use your code for one project, but i need to have the same with the android app, only to read it
Thanks
Hi, i want to read theses QR codes with the iphone app photo, it's possible ?
Because currently the iphone doesnt detect it
Thanks a lot
I am trying to decode a Round code with a white tint and black background and an image in the middle. I am running on iOS 14 . Regardless of what scanning mode I put It on, It only works for a dark Roundcode on a white background.
Title
I am trying to decode a Round code with a white tint and black background and an image in the middle. I am running on iOS 14 . Regardless of what scanning mode I put It on, It only works for a dark Roundcode on a white background.
Could we have a way to increase character count?
Current character limit is so small.
Please improve the loading and dismiss time of the scanner
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.