Skip to content

About

Uzbekistan debit card (credit card) real-time scanner using Deep Learning and TensorFlow Lite for Android.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

UZ Debit Card Scanner

A lightweight android library to scan Uzbekish debit cards fast and realtime using Deep Learning and TensorFlow-Lite. This library scans valid card numbers only. Keep in mind that split ABIs while releasing your app to reduce its size.

To check stability and scan speed, check STABILITY.md file.

Preview:

Installation

Gradle:

dependencies {
    implementation 'com.github.djakonystar:UzDebitCardScanner:$version'
}

How To Use

(1) Start scanner activity and wait for result:

ScanActivity.start(this);

(2) Retrieve scanned data:

@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    super.onActivityResult(requestCode, resultCode, data);

    if (ScanActivity.isScanResult(requestCode) && resultCode == Activity.RESULT_OK && data != null) {
        DebitCard scanResult = ScanActivity.debitCardFromResult(data);
        if (scanResult != null)
            Log.d("IRDCS", scanResult.number);
    }
}
  • {Debug Mode}

(1) Start scanner activity in debug mode:

ScanActivity.startDebug(this);

In this mode you will see a scanned preview while scanning.

  • {Alternative Texts}

(1) Start scanner activity with alternative texts:

ScanActivity.start(this, "IRDC Scanner",
        "Position your card in the frame so the card number is visible");

In this mode texts in scanner activity would be set as you prefer.

License

This project is licensed under the GNU/GPL 3.0 License - see the LICENSE.md file for details


References

Based on this project!

About

Uzbekistan debit card (credit card) real-time scanner using Deep Learning and TensorFlow Lite for Android.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages