Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update expiry thresholds for better accuracy #125

Merged
merged 1 commit into from
Feb 8, 2020
Merged

Conversation

kingst
Copy link
Collaborator

@kingst kingst commented Feb 8, 2020

No description provided.

Copy link
Collaborator

@jaimejiyepark jaimejiyepark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

besides that comment lgtm

@@ -24,7 +24,7 @@ public struct Expiry: Hashable {

@available(iOS 11.2, *)
static func from(image: CGImage, within rect: CGRect) -> Expiry? {
guard let digits = RecognizedDigits.from(image: image, within: rect) else {
guard let digits = RecognizedDigits.from(image: image, within: rect, minConfidence: 0.65) else {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this an arbitrary value?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no

@kingst kingst merged commit cc13243 into master Feb 8, 2020
@kingst kingst deleted the new_expriy_threshold branch March 5, 2020 13:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants