BufferedCharacterItem
The BufferedCharacterItem class represents a buffered character item. Each buffered character item represents a recognized character along with its image and features.
Definition
Module: dynamsoft_label_recognizer
class BufferedCharacterItem
Methods
| Method | Description |
|---|---|
get_character |
Gets the buffered character value. |
get_image |
Gets the image data of the buffered character. |
get_features |
Gets all the features formatted with id and value of the buffered character. |
get_character
Gets the buffered character value.
def get_character(self) -> str:
Return Value
Returns the buffered character value.
get_image
Gets the image data of the buffered character.
def get_image(self) -> ImageData:
Return Value
Returns the image data of the buffered character.
See Also
get_features
Gets all the features formatted with id and value of the buffered character.
def get_features(self) -> List[Tuple[int, float]]:
Return Value
Returns a tuple list while each item contains following elements.
feature_id<int>: The feature id.feature_value<float>: The feature value.