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

[stripecardscan] Use ml-core for CardScan #6409

Merged
merged 4 commits into from
Mar 22, 2023
Merged

[stripecardscan] Use ml-core for CardScan #6409

merged 4 commits into from
Mar 22, 2023

Conversation

ccen-stripe
Copy link
Collaborator

Summary

Replace the dependency to ml-core:cardscan by default and document the option to swap with google play.

Motivation

Use TFLite in Google play

Testing

  • Added tests
  • Modified tests
  • Manually verified -
  • manually verified in ScanActivity and ScanFragment with ml-core:cardscan
  • manually verified in ScanActivity and ScanFragment with ml-core:googleplay

Screenshots

Before After
before screenshot after screenshot

Changelog

@ccen-stripe ccen-stripe requested review from a team as code owners March 22, 2023 00:05
@ccen-stripe ccen-stripe requested review from tillh-stripe and awush-stripe and removed request for tillh-stripe March 22, 2023 00:05
import java.io.Closeable
import java.nio.ByteBuffer

/**
* A TensorFlowLite analyzer uses an [Interpreter] to analyze data.
*/
internal abstract class TensorFlowLiteAnalyzer<Input, MLInput, Output, MLOutput>(
private val tfInterpreter: Interpreter,
private val delegate: NnApiDelegate? = null
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this is removed as it's never set

@ccen-stripe ccen-stripe merged commit a19b338 into master Mar 22, 2023
@ccen-stripe ccen-stripe deleted the ccen/cardscan branch March 22, 2023 18:15
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.

None yet

2 participants