|
iDRS™ SDK 16
|
Interface for CPageTextElement wrapper. More...
Go to the source code of this file.
Functions | |
| CPageTextElement | CPageTextElement_Create (idrs_exception *pargException) |
| Creates a new instance of a CPageTextElement. | |
| CPolygon | CPageTextElement_GetBoundingPolygon (const CPageTextElement argCPageTextElement, idrs_exception *pargException) |
| Gets the polygon where the text element is located. | |
| void | CPageTextElement_SetBoundingPolygon (CPageTextElement argCPageTextElement, const CPolygon argBoundingPolygon, idrs_exception *pargException) |
| Sets the polygon where the text element is located. | |
| const idrs_string | CPageTextElement_GetTextValue (const CPageTextElement argCPageTextElement, idrs_exception *pargException) |
| Retrieves the text value. | |
| void | CPageTextElement_SetTextValue (CPageTextElement argCPageTextElement, const idrs_string strTextValue, idrs_exception *pargException) |
| Sets the text value. | |
| enum Language | CPageTextElement_GetLanguage (const CPageTextElement argCPageTextElement, idrs_exception *pargException) |
| Retrieves the language for the text value. | |
| CPageStyleTextElement | CPageTextElement_GetStyle (const CPageTextElement argCPageTextElement, idrs_exception *pargException) |
| Retrieves the text element style. | |
| IDRS_UINT | CPageTextElement_GetOcrConfidence (const CPageTextElement argCPageTextElement, idrs_exception *pargException) |
| Retrieves the confidence value for the text element. | |
| void | CPageTextElement_SetOcrConfidence (CPageTextElement argCPageTextElement, IDRS_UINT const uiOcrConfidence, idrs_exception *pargException) |
| Sets the confidence value for the text element. | |
| IDRS_UINT | CPageTextElement_GetOcrLocalScore (const CPageTextElement argCPageTextElement, idrs_exception *pargException) |
| Retrieves the OCR local score of the text element. | |
| void | CPageTextElement_SetOcrLocalScore (CPageTextElement argCPageTextElement, IDRS_UINT const uiOcrLocalScore, idrs_exception *pargException) |
| Sets the OCR local score of the text element. | |
| CPageTextElementAlternativeArray | CPageTextElement_GetAlternatives (const CPageTextElement argCPageTextElement, idrs_exception *pargException) |
| Retrieves an array of alternative solutions for the text value. | |
| void | CPageTextElement_SetLanguage (CPageTextElement argCPageTextElement, enum Language const evLanguage, idrs_exception *pargException) |
| Sets the language for the text value. | |
| void | CPageTextElement_SetStyle (CPageTextElement argCPageTextElement, const CPageStyleTextElement argStyle, idrs_exception *pargException) |
| Sets the text element style. | |
| void | CPageTextElement_SetAlternatives (CPageTextElement argCPageTextElement, const CPageTextElementAlternativeArray xAlternatives, idrs_exception *pargException) |
| Sets the array of alternative text values. | |
| void | CPageTextElement_Destroy (CPageTextElement argCPageTextElement, idrs_exception *pargException) |
| Destroys a CPageTextElement handle. | |
| CPageTextElementArray | ArrayInterface_Create_CPageTextElementArray (idrs_exception *pargException) |
| Creates a new CPageTextElementArray object. | |
Interface for CPageTextElement wrapper.
| CPageTextElementArray ArrayInterface_Create_CPageTextElementArray | ( | idrs_exception * | pargException | ) |
Creates a new CPageTextElementArray object.
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| CPageTextElement CPageTextElement_Create | ( | idrs_exception * | pargException | ) |
Creates a new instance of a CPageTextElement.
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CPageTextElement_Destroy | ( | CPageTextElement | argCPageTextElement, |
| idrs_exception * | pargException | ||
| ) |
Destroys a CPageTextElement handle.
| argCPageTextElement | CPageTextElement handle to destroy |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| CPageTextElementAlternativeArray CPageTextElement_GetAlternatives | ( | const CPageTextElement | argCPageTextElement, |
| idrs_exception * | pargException | ||
| ) |
Retrieves an array of alternative solutions for the text value.
| argCPageTextElement | CPageTextElement handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| CPolygon CPageTextElement_GetBoundingPolygon | ( | const CPageTextElement | argCPageTextElement, |
| idrs_exception * | pargException | ||
| ) |
Gets the polygon where the text element is located.
| argCPageTextElement | CPageTextElement handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| enum Language CPageTextElement_GetLanguage | ( | const CPageTextElement | argCPageTextElement, |
| idrs_exception * | pargException | ||
| ) |
Retrieves the language for the text value.
| argCPageTextElement | CPageTextElement handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| IDRS_UINT CPageTextElement_GetOcrConfidence | ( | const CPageTextElement | argCPageTextElement, |
| idrs_exception * | pargException | ||
| ) |
Retrieves the confidence value for the text element.
The confidence value ranges from 0 (lowest confidence) to 100 (highest confidence).
This value corresponds to the likeliness that the provided result is correct, and is computed by the OCR engine based on the OCR local score as well as contextual information like surrounding characters, typographical analysis, or presence of the word it belongs to in a lexicon.
| argCPageTextElement | CPageTextElement handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| IDRS_UINT CPageTextElement_GetOcrLocalScore | ( | const CPageTextElement | argCPageTextElement, |
| idrs_exception * | pargException | ||
| ) |
Retrieves the OCR local score of the text element.
The OCR score ranges from 0 (lowest score) to 100 (highest score).
This value corresponds to the recognition score of the text element, without taking into account information from surrounding elements. The score corresponds to the result of looking only at the shape of the current character.
| argCPageTextElement | CPageTextElement handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| CPageStyleTextElement CPageTextElement_GetStyle | ( | const CPageTextElement | argCPageTextElement, |
| idrs_exception * | pargException | ||
| ) |
Retrieves the text element style.
| argCPageTextElement | CPageTextElement handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| const idrs_string CPageTextElement_GetTextValue | ( | const CPageTextElement | argCPageTextElement, |
| idrs_exception * | pargException | ||
| ) |
Retrieves the text value.
| argCPageTextElement | CPageTextElement handle |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CPageTextElement_SetAlternatives | ( | CPageTextElement | argCPageTextElement, |
| const CPageTextElementAlternativeArray | xAlternatives, | ||
| idrs_exception * | pargException | ||
| ) |
Sets the array of alternative text values.
| argCPageTextElement | CPageTextElement handle |
| xAlternatives | Array of alternative text values |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CPageTextElement_SetBoundingPolygon | ( | CPageTextElement | argCPageTextElement, |
| const CPolygon | argBoundingPolygon, | ||
| idrs_exception * | pargException | ||
| ) |
Sets the polygon where the text element is located.
| argCPageTextElement | CPageTextElement handle |
| argBoundingPolygon | Polygon containing the text element |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CPageTextElement_SetLanguage | ( | CPageTextElement | argCPageTextElement, |
| enum Language const | evLanguage, | ||
| idrs_exception * | pargException | ||
| ) |
Sets the language for the text value.
| argCPageTextElement | CPageTextElement handle |
| evLanguage | Language value |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CPageTextElement_SetOcrConfidence | ( | CPageTextElement | argCPageTextElement, |
| IDRS_UINT const | uiOcrConfidence, | ||
| idrs_exception * | pargException | ||
| ) |
Sets the confidence value for the text element.
The confidence value ranges from 0 (lowest confidence) to 100 (highest confidence).
This value corresponds to the likeliness that the provided result is correct, and is computed by the OCR engine based on the OCR local score as well as contextual information like surrounding characters, typographical analysis, or presence of the word it belongs to in a lexicon.
| argCPageTextElement | CPageTextElement handle |
| uiOcrConfidence | Confidence value for the text element. |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CPageTextElement_SetOcrLocalScore | ( | CPageTextElement | argCPageTextElement, |
| IDRS_UINT const | uiOcrLocalScore, | ||
| idrs_exception * | pargException | ||
| ) |
Sets the OCR local score of the text element.
The OCR score ranges from 0 (lowest score) to 100 (highest score).
This value corresponds to the recognition score of the text element, without taking into account information from surrounding elements. The score corresponds to the result of looking only at the shape of the current character.
| argCPageTextElement | CPageTextElement handle |
| uiOcrLocalScore | OCR local score for the text element. |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CPageTextElement_SetStyle | ( | CPageTextElement | argCPageTextElement, |
| const CPageStyleTextElement | argStyle, | ||
| idrs_exception * | pargException | ||
| ) |
Sets the text element style.
| argCPageTextElement | CPageTextElement handle |
| argStyle | Text element style |
| pargException | Pointer to exception structure that will be filled if an exception occurs |
| void CPageTextElement_SetTextValue | ( | CPageTextElement | argCPageTextElement, |
| const idrs_string | strTextValue, | ||
| idrs_exception * | pargException | ||
| ) |
Sets the text value.
| argCPageTextElement | CPageTextElement handle |
| strTextValue | The text value to set |
| pargException | Pointer to exception structure that will be filled if an exception occurs |