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

added framedetected protocol to grab non-numbered frames #117

Merged
merged 1 commit into from
Feb 3, 2020

Conversation

jaimejiyepark
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@kingst kingst left a comment

Choose a reason for hiding this comment

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

few comments

self.scanStats.algorithm = findFour.algorithm
self.updateStats(model: findFour.modelString, boxes: findFour.predictedBoxes, image: croppedCardImage, number: number, cvvBoxes: findFour.cvvBoxes)
return number
self.scanEventsDelegate?.onFrameDetected(number: number, expiry: findFour.expiry, numberBoundingBox: numberBoundingBox, expiryBoundingBox: findFour.expiryBoxes.first, croppedCardSize: croppedCardSize, squareCardImage: squareCardImage, fullCardImage: fullCardImage)
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would have assumed that this would go in the else side of things. So in other words we either detect a number or a frame but never both.

@jaimejiyepark jaimejiyepark merged commit 7b6f30a into master Feb 3, 2020
@jaimejiyepark jaimejiyepark deleted the expose_nonnumbered_frames branch February 3, 2020 20:11
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