Class MedicalCertificateScanner
java.lang.Object
io.scanbot.sdk.medicalcertificate.MedicalCertificateScanner
- All Implemented Interfaces:
AutoCloseable
API for medical certificate scanning.
Required licence feature(s): MedicalCertificateScanner.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs MedicalCertificateScanner with the given params. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes native resources held by the object.protected voidfinalize()run(ImageRef image, MedicalCertificateScanningParameters parameters) Recognize the document in the given image.
-
Constructor Details
-
MedicalCertificateScanner
Constructs MedicalCertificateScanner with the given params.- Throws:
LicenseException- If license requirements for the API are not met
-
-
Method Details
-
run
public MedicalCertificateScanningResult run(ImageRef image, MedicalCertificateScanningParameters parameters) throws InvalidImageRefException, LicenseException Recognize the document in the given image.- Parameters:
image- The image to recognize.parameters- The recognition parameters.- Returns:
- The recognition result.
- Throws:
InvalidImageRefException- If an invalid image reference is usedLicenseException- If license requirements for the API are not met
-
close
public void close()Closes native resources held by the object.- Specified by:
closein interfaceAutoCloseable
-
finalize
-