Package io.scanbot.sdk.creditcard
Interface CreditCardScanner
-
- All Implemented Interfaces:
public interface CreditCardScanner
-
-
Method Summary
Modifier and Type Method Description abstract CreditCardScannerConfigurationcopyCurrentConfiguration()Returns a copy of the current configuration. abstract UnitsetConfiguration(CreditCardScannerConfiguration configuration)Sets the configuration for the credit card scanner. abstract CreditCardScanningResultscan(ByteArray nv21, Integer width, Integer height, Integer orientation)Performs credit card data scanning on the NV21 format image abstract CreditCardScanningResultscanInArea(ByteArray nv21, Integer width, Integer height, Integer orientation, Rect areaRect)Performs credit card data scanning in the finder rect on the NV21 format image abstract CreditCardScanningResultscanFromBgr(ByteArray bgr, Integer width, Integer height, Integer orientation)Performs credit card data scanning on the BGR format image abstract CreditCardScanningResultscanFromJpeg(ByteArray image, Integer orientation)Performs credit card data scanning on the JPEG image abstract CreditCardScanningResultscanFromBitmap(Bitmap image, Integer orientation)Performs credit card data scanning on the Bitmap abstract UnitclearResult()Clears the scanning result -
-
Method Detail
-
copyCurrentConfiguration
abstract CreditCardScannerConfiguration copyCurrentConfiguration()
Returns a copy of the current configuration.
-
setConfiguration
abstract Unit setConfiguration(CreditCardScannerConfiguration configuration)
Sets the configuration for the credit card scanner.
- Parameters:
configuration- The configuration to set.
-
scan
abstract CreditCardScanningResult scan(ByteArray nv21, Integer width, Integer height, Integer orientation)
Performs credit card data scanning on the NV21 format image
-
scanInArea
abstract CreditCardScanningResult scanInArea(ByteArray nv21, Integer width, Integer height, Integer orientation, Rect areaRect)
Performs credit card data scanning in the finder rect on the NV21 format image
-
scanFromBgr
abstract CreditCardScanningResult scanFromBgr(ByteArray bgr, Integer width, Integer height, Integer orientation)
Performs credit card data scanning on the BGR format image
-
scanFromJpeg
abstract CreditCardScanningResult scanFromJpeg(ByteArray image, Integer orientation)
Performs credit card data scanning on the JPEG image
-
scanFromBitmap
abstract CreditCardScanningResult scanFromBitmap(Bitmap image, Integer orientation)
Performs credit card data scanning on the Bitmap
-
clearResult
abstract Unit clearResult()
Clears the scanning result
-
-
-
-