Class MedicalCertificateScanner
- java.lang.Object
-
- io.scanbot.sdk.medicalcertificate.MedicalCertificateScanner
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class MedicalCertificateScanner extends java.lang.Object implements java.lang.AutoCloseableAPI for medical certificate scanning. Required licence feature(s): MedicalCertificateScanner.
-
-
Constructor Summary
Constructors Constructor Description MedicalCertificateScanner()Constructs MedicalCertificateScanner with the given params.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Closes native resources held by the object.protected voidfinalize()MedicalCertificateScanningResultrun(ImageRef image, MedicalCertificateScanningParameters parameters)Recognize the document in the given image.
-
-
-
Constructor Detail
-
MedicalCertificateScanner
public MedicalCertificateScanner() throws LicenseExceptionConstructs MedicalCertificateScanner with the given params.- Throws:
LicenseException- If license requirements for the API are not met
-
-
Method Detail
-
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 interfacejava.lang.AutoCloseable
-
finalize
protected void finalize() throws java.lang.Throwable- Overrides:
finalizein classjava.lang.Object- Throws:
java.lang.Throwable
-
-