DocumentReader.computeBlurrinessScore Method¶
Module: DocumentReader
Definition¶
Compute the level of blur in an image
compute_blurriness_score(self, image: DocumentImage) -> int
Parameters
image
DocumentImagein The image to compute the blurriness score on.
Returns
int
Level of blur in the image (lower = blur, higher = sharp)
Exceptions
An error has occurred during Document Library execution.
int computeBlurrinessScore(DocumentImage image)
Parameters
image
DocumentImagein The image to compute the blurriness score on.
Returns
int
Level of blur in the image (lower = blur, higher = sharp)
Exceptions
An error has occurred during Document Library execution.
public int ComputeBlurrinessScore(DocumentImage image)
Parameters
image
DocumentImagein The image to compute the blurriness score on.
Returns
int
Level of blur in the image (lower = blur, higher = sharp)
Exceptions
An error has occurred during Document Library execution.
public int computeBlurrinessScore(DocumentImage image) throws DocumentException
Parameters
image
DocumentImagein The image to compute the blurriness score on.
Returns
int
Level of blur in the image (lower = blur, higher = sharp)
Exceptions
An error has occurred during Document Library execution.
public func computeBlurrinessScore(image: DocumentImage) throws -> Int32
Parameters
image
DocumentImagein The image to compute the blurriness score on.
Returns
Int
Level of blur in the image (lower = blur, higher = sharp)
Exceptions
An error has occurred during Document Library execution.
int id3DocumentReader_ComputeBlurrinessScore (
ID3_DOCUMENT_READER hDocumentReader,
ID3_DOCUMENT_IMAGE hImage,
int * blurrinessScore)
Parameters
hDocumentReader
ID3_DOCUMENT_READERin Handle to the DocumentReader object.hImage
ID3_DOCUMENT_IMAGEin The image to compute the blurriness score on.blurrinessScore
int *out Level of blur in the image (lower = blur, higher = sharp)
Returns