public class DocumentAuthenticator
extends java.lang.Object
implements java.lang.AutoCloseable, java.io.Serializable
| Constructor and Description |
|---|
DocumentAuthenticator()
Creates a new instance of the DocumentAuthenticator class.
|
DocumentAuthenticator(long handle)
Creates a new instance of the DocumentAuthenticator class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
appendFrame(DocumentImage image)
Appends a frame in the FIFO buffer.
|
HologramAuthenticationResultList |
authenticateHolograms()
Authenticates the holograms on the current frame buffer.
|
void |
close()
Releases all resources used by this DocumentAuthenticator.
|
protected void |
finalize()
Finalizer for this class.
|
java.lang.String |
getDocumentName()
Gets the document type to authenticate.
|
long |
getHandle()
Gets the native handle.
|
int |
getTemporalWindowSize()
Gets the size of the FIFO frame buffer, used for processing.
|
boolean |
isFull()
Checks if the frame buffer is full and ready to authenticate for all holograms.
|
void |
setDocumentName(java.lang.String documentName)
Sets the document type to authenticate.
|
void |
setTemporalWindowSize(int temporalWindowSize)
Sets the size of the FIFO frame buffer, used for processing.
|
public DocumentAuthenticator()
throws DocumentException
DocumentException - An error has occurred during Document Library execution.public DocumentAuthenticator(long handle)
throws DocumentException
handle - Handle to the DocumentAuthenticator.DocumentException - An error has occurred during Document Library execution.public void close()
close in interface java.lang.AutoCloseableprotected void finalize()
finalize in class java.lang.Objectpublic long getHandle()
public java.lang.String getDocumentName()
throws DocumentException
DocumentException - An error has occurred during Document Library execution.public void setDocumentName(java.lang.String documentName)
throws DocumentException
documentName - Document type to authenticate.DocumentException - An error has occurred during Document Library execution.public int getTemporalWindowSize()
throws DocumentException
DocumentException - An error has occurred during Document Library execution.public void setTemporalWindowSize(int temporalWindowSize)
throws DocumentException
temporalWindowSize - Size of the FIFO frame buffer, used for processing.DocumentException - An error has occurred during Document Library execution.public void appendFrame(DocumentImage image) throws DocumentException
image - Source image of the aligned document to appendDocumentException - An error has occurred during Document Library execution.public HologramAuthenticationResultList authenticateHolograms() throws DocumentException
DocumentException - An error has occurred during Document Library execution.public boolean isFull()
throws DocumentException
DocumentException - An error has occurred during Document Library execution.Copyright © 2020-2030, id3 Technologies. All rights reserved. eu.id3.document