Class DefaultMedicalCertificateScanner
-
- All Implemented Interfaces:
-
io.scanbot.sdk.mc.MedicalCertificateScanner
public final class DefaultMedicalCertificateScanner implements MedicalCertificateScanner
Performs detection and scanning of Medical Certificate data
-
-
Constructor Summary
Constructors Constructor Description DefaultMedicalCertificateScanner(BlobManager blobManager)
-
Method Summary
Modifier and Type Method Description MedicalCertificateScanningResult
scan(ByteArray nv21, Integer width, Integer height, Integer orientation, MedicalCertificateScanningParameters parameters)
Performs MC page detection and data scanning on the NV21 format image. MedicalCertificateScanningResult
scanInArea(ByteArray nv21, Integer width, Integer height, Integer orientation, MedicalCertificateScanningParameters parameters, Rect areaRect)
Performs MC page detection and data scanning on the NV21 format image. MedicalCertificateScanningResult
scanFromBgr(ByteArray bgr, Integer width, Integer height, Integer orientation, MedicalCertificateScanningParameters parameters)
Performs MC page detection and data scanning on the BGR format image. MedicalCertificateScanningResult
scanFromJpeg(ByteArray image, Integer orientation, MedicalCertificateScanningParameters parameters)
Performs MC data scanning on the JPEG image. MedicalCertificateScanningResult
scanFromBitmap(Bitmap image, Integer orientation, MedicalCertificateScanningParameters parameters)
Performs MC data scanning on the Bitmap. -
-
Constructor Detail
-
DefaultMedicalCertificateScanner
DefaultMedicalCertificateScanner(BlobManager blobManager)
-
-
Method Detail
-
scan
MedicalCertificateScanningResult scan(ByteArray nv21, Integer width, Integer height, Integer orientation, MedicalCertificateScanningParameters parameters)
Performs MC page detection and data scanning on the NV21 format image. Input image can contain background elements. Recognition of Patient Information block is disabled. Image extraction is disabled. Barcode scanning is disabled
- Parameters:
parameters
-scanning parameters.
-
scanInArea
MedicalCertificateScanningResult scanInArea(ByteArray nv21, Integer width, Integer height, Integer orientation, MedicalCertificateScanningParameters parameters, Rect areaRect)
Performs MC page detection and data scanning on the NV21 format image. Input image can contain background elements.
- Parameters:
parameters
-scanning parameters.
areaRect
-area to scan
-
scanFromBgr
MedicalCertificateScanningResult scanFromBgr(ByteArray bgr, Integer width, Integer height, Integer orientation, MedicalCertificateScanningParameters parameters)
Performs MC page detection and data scanning on the BGR format image. Input image can contain background elements.
- Parameters:
parameters
-scanning parameters.
-
scanFromJpeg
MedicalCertificateScanningResult scanFromJpeg(ByteArray image, Integer orientation, MedicalCertificateScanningParameters parameters)
Performs MC data scanning on the JPEG image. Input image can contain background elements.
- Parameters:
parameters
-scanning parameters.
-
scanFromBitmap
MedicalCertificateScanningResult scanFromBitmap(Bitmap image, Integer orientation, MedicalCertificateScanningParameters parameters)
Performs MC data scanning on the Bitmap. Input image can contain background elements.
- Parameters:
parameters
-scanning parameters.
-
-
-
-