Interface MedicalCertificateScanner
-
- All Implemented Interfaces:
public interface MedicalCertificateScanner
Performs detection and scanning of medical certificate data
-
-
Method Summary
Modifier and Type Method Description abstract MedicalCertificateScanningResult
scan(ByteArray nv21, Integer width, Integer height, Integer orientation, MedicalCertificateScanningParameters parameters)
Performs MC page detection and data scanning on the NV21 format image. abstract 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. abstract MedicalCertificateScanningResult
scanFromBgr(ByteArray bgr, Integer width, Integer height, Integer orientation, MedicalCertificateScanningParameters parameters)
Performs MC page detection and data scanning on the BGR format image. abstract MedicalCertificateScanningResult
scanFromJpeg(ByteArray image, Integer orientation, MedicalCertificateScanningParameters parameters)
Performs MC data scanning on the JPEG image. abstract MedicalCertificateScanningResult
scanFromBitmap(Bitmap image, Integer orientation, MedicalCertificateScanningParameters parameters)
Performs MC data scanning on the Bitmap. -
-
Method Detail
-
scan
abstract 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
abstract 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
abstract 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
abstract 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
abstract 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.
-
-
-
-