public class OcrChangeInfo extends ChangeInfo
OcrOptions| Constructor and Description |
|---|
OcrChangeInfo() |
| Modifier and Type | Method and Description |
|---|---|
float |
getConfidence()
Gets the confidence of the text recognition for this change.
|
Rectangle[] |
getSourceBoxes()
Gets the coordinates of the removed text on the source image, one rectangle per line of text.
|
Rectangle[] |
getTargetBoxes()
Gets the coordinates of the added text on the target image, one rectangle per line of text.
|
void |
setConfidence(float value)
Sets the confidence of the text recognition for this change.
|
void |
setSourceBoxes(Rectangle[] value)
Sets the coordinates of the removed text on the source image.
|
void |
setTargetBoxes(Rectangle[] value)
Sets the coordinates of the added text on the target image.
|
getAuthors, getBox, getColumn, getColumnHeader, getComparisonAction, getComponentType, getId, getPageInfo, getRow, getSourceText, getStyleChanges, getTargetText, getText, getType, setAuthors, setBox, setColumn, setColumnHeader, setComparisonAction, setComponentType, setId, setPageInfo, setRow, setSourceText, setStyleChanges, setTargetText, setText, toStringpublic float getConfidence()
public Rectangle[] getSourceBoxes()
public Rectangle[] getTargetBoxes()
public void setConfidence(float value)
value - A value from 0 to 1.public void setSourceBoxes(Rectangle[] value)
value - The rectangles, in pixels of the source image.public void setTargetBoxes(Rectangle[] value)
value - The rectangles, in pixels of the target image.Copyright © 2026 Aspose Pty Ltd. All rights reserved.